@hhgtech/hhg-components 1.19.17 → 1.19.19
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/{ageGenerate-e846bbcb.js → ageGenerate-bcd37ccf.js} +1 -1
- package/build/babyGrowth.js +1 -1
- package/build/care.js +1 -1
- package/build/components/molecules/index.d.ts +2 -1
- package/build/components/organisms/navigationV2/hooks/useHeaderHeight.d.ts +1 -0
- package/build/components.js +1 -1
- package/build/core.js +1 -1
- package/build/esm/{ageGenerate-62d82532.js → ageGenerate-61e2769b.js} +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/core.js +1 -1
- package/build/esm/{index-2bf6ca32.js → index-3a36f8a0.js} +1 -1
- package/build/esm/index-448bb306.js +1 -0
- package/build/esm/{index-54dd0dc4.js → index-6e0cbc08.js} +1 -1
- package/build/esm/{index-c0a77cf9.js → index-84fac470.js} +1 -1
- package/build/esm/{index-5917887f.js → index-a74b53cb.js} +1 -1
- package/build/esm/{index-3386acf9.js → index-e25a976f.js} +1 -1
- package/build/esm/{index-c47f17a7.js → index-e3b386f9.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-6559ec11.js +1 -0
- package/build/esm/index.styled-c1edfd6f.js +1 -0
- package/build/esm/{index.styled-c3a83617.js → index.styled-c5e035f3.js} +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/types-05e4d87b.js +1 -0
- package/build/esm/{types-60ef9e30.js → types-0b6d82bd.js} +1 -1
- package/build/esm/useTranslations-d76b98a9.js +1 -0
- package/build/{index-e517ed0e.js → index-12a7ec3c.js} +1 -1
- package/build/{index-740e88b9.js → index-164221e6.js} +1 -1
- package/build/{index-b2578f78.js → index-17aecf8d.js} +1 -1
- package/build/{index-ee42e5a5.js → index-84b9f3e8.js} +1 -1
- package/build/{index-1aff1d46.js → index-aa538c1f.js} +1 -1
- package/build/{index-3e076261.js → index-c198e6e5.js} +1 -1
- package/build/{index-2ea715f8.js → index-ea33edba.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-0d3afe1b.js → index.styled-4a3d1b58.js} +1 -1
- package/build/{index.styled-afb2b3b3.js → index.styled-4b2a8c64.js} +1 -1
- package/build/{index.styled-9b7b2095.js → index.styled-b187cc54.js} +1 -1
- package/build/misc/utils.d.ts +1 -0
- package/build/navigation.js +1 -1
- package/build/together.js +1 -1
- package/build/{types-890a575c.js → types-55844911.js} +1 -1
- package/build/types-8f709939.js +1 -0
- package/build/{useTranslations-99cf899e.js → useTranslations-a86f0d1c.js} +1 -1
- package/package.json +1 -1
- package/build/esm/index-12332bd0.js +0 -1
- package/build/esm/index.styled-0eba6ff8.js +0 -1
- package/build/esm/index.styled-142eab0d.js +0 -1
- package/build/esm/types-9f973275.js +0 -1
- package/build/esm/useTranslations-2ba43851.js +0 -1
- package/build/types-d1bc9a86.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import{V as a}from"./index.styled-
|
|
1
|
+
import e from"react";import{V as a}from"./index.styled-c5e035f3.js";import{_ as t}from"./tslib.es6-fd0a5c98.js";import{p as l,q as n,r as i,s as d,t as s,v as o}from"./index.styled-6559ec11.js";var r=function(t){var l=t.type,n=void 0===l?"solid":l,i=t.className,d=t.style;return e.createElement(a,{style:d,className:i,"data-diver-type":n,dividerType:n})},c=function(a){var r=a.className,c=a.value,u=a.options,v=a.onChange,m=void 0===v?function(){}:v,p=a.id,b=a.placeholderIcon,f=a.placeholder,y=a.style,E=a.size,g=void 0===E?"lg":E,h=a.groupedWithLabel,k=a.disabled,N=a.dropdownLabelTrackingAttributes,C=void 0===N?{}:N,x=a.isNativeSelect,j=void 0!==x&&x,w=e.useState(!1),z=w[0],I=w[1],L=function(){return!k&&I(!z)};return j?e.createElement(l,{as:"select","data-is-native":"true",value:(null==c?void 0:c.value)||void 0,disabled:k,onChange:function(e){if("string"==typeof e.target.value){var a=u.find((function(a){return a.value===e.target.value}));a&&m(a)}}},f&&e.createElement("option",{value:f,disabled:!0,selected:!0},f),u.map((function(a){return e.createElement("option",{key:"".concat(p,"-").concat(a.value),value:a.value,disabled:!!a.disabled&&a.disabled},a.label)}))):e.createElement(l,{className:r,"data-dropdown-open":z||void 0,"data-size":g,id:p,"data-has-icons":!!b,style:y,onBlur:function(){return I(!1)},tabIndex:0,"data-disabled":k},!!h&&e.createElement(n,null,h),e.createElement(i,t({onClick:L,className:h&&"with-label"},C),b," ",e.createElement("span",null,c&&c.value?c.label:f)),z&&e.createElement(d,{onClick:L,"data-has-icons":!!b},u.map((function(a){return e.createElement(s,{key:"".concat(p,"-").concat(a.value),"data-selected":c&&c.value===a.value||void 0,onClick:function(){return!a.disabled&&!k&&(null==m?void 0:m(a))},"data-disabled":!!a.disabled&&a.disabled},a.icon&&e.createElement(o,null,a.icon),a.label)}))))};export{r as D,c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as e,_ as a}from"./tslib.es6-fd0a5c98.js";import t,{useMemo as n}from"react";import{Y as s,L as i,Z as o,_ as l,$ as r}from"./index.styled-
|
|
1
|
+
import{b as e,_ as a}from"./tslib.es6-fd0a5c98.js";import t,{useMemo as n}from"react";import{Y as s,L as i,Z as o,_ as l,$ as r}from"./index.styled-c5e035f3.js";var c=function(c){var m=c.name,d=c.value,u=c.errorMessage,p=c.isNumerousKeyboard,v=void 0!==p&&p,y=c.actionIcon,b=c.displayIcon,C=c.onActionClick,g=c.label,N=c.className,f=c.onChange,E=c.isDisabled,h=c.CustomInput,I=c.size,k=c.style,A=c.autoComplete,K=void 0===A?"off":A,z=c.type,L=void 0===z?"text":z,x=c.inputClassName,H=c.trackingAttributes,M=c.enterKeyHint,j=e(c,["name","value","errorMessage","isNumerousKeyboard","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]),D=n((function(){return H?{"data-event-category":H.dataEventCategory,"data-event-action":H.dataEventAction,"data-event-label":H.dataEventLabel}:{}}),[H]);return t.createElement(s,{"data-size":I,className:N,"data-has-action-icon":!!y||void 0,"data-has-display-icon":!!b||void 0,"data-has-error":u&&u.length>0||void 0,style:k},g&&t.createElement(i,{size:"label2",htmlFor:m,className:"inputLabel"},g),t.createElement("div",{style:{position:"relative"}},h||t.createElement("input",a({id:m,name:m,onChange:function(e){return f&&f(e.target.value)},type:L,"aria-label":L,value:d,disabled:E,autoComplete:K,inputMode:v||"number"===L?"numeric":L,pattern:v?"[0-9]*":".*",className:x,enterKeyHint:M},D,j)),b&&t.createElement(o,{className:"displayIcon"},b),y&&t.createElement(l,{className:"actionIcon",onClick:C},y)),u&&u.length>0&&t.createElement(r,{className:"errorLabel"},u))};export{c as I};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t}from"./tslib.es6-fd0a5c98.js";import a from"react";import{X as e}from"./index.styled-
|
|
1
|
+
import{_ as t}from"./tslib.es6-fd0a5c98.js";import a from"react";import{X as e}from"./index.styled-c5e035f3.js";var o=function(o){var n,i=o.as,r=o.tag,d=o.className,s=o.children,l=o.title,c=o.color,g=o.style,m=o.fontWeight,v=o.dataEventCategory,f=o.dataEventAction,h=o.dataEventLabel,y=i||r;return a.createElement(e,{title:l,style:t(t({},c?(n={},n["--custom-heading-color"]=c,n):void 0),g),"data-tag":r,"data-font-weight":m||void 0,"data-event-category":v,"data-event-action":f,"data-event-label":h,as:y,className:d,headingFontWeight:m,headingTag:r},s)};export{o as H};
|
package/build/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{i as Types,a as ageGenerate,u as useFbDataLayer}from"./ageGenerate-
|
|
1
|
+
export{i as Types,a as ageGenerate,u as useFbDataLayer}from"./ageGenerate-61e2769b.js";export{c as Constants}from"./constants-17d17987.js";export{A as Alert,v as AmpNextPage,g as ArticleCard,B as Badge,a as BorderHeading,h as Breadcrumbs,n as Carousel,i as CategoryCard,C as Checkbox,j as CheckboxGroup,t as CookieAcceptConfirm,D as DatePicker,w as DateRangePicker,F as FileDropdown,s as FloatButtonGroup,E as Footer,G as Grid,I as IconText,L as Layout,M as Modal,y as NavigationBar,N as NavigationLayout,P as Pagination,f as Progress,k as ProgressBar,R as Radio,l as RadioGroup,e as RateStars,u as SeoHead,S as Shadow,m as SideMenu,x as SiteWide,b as Slider,o as StatisticCard,z as StickySponsoredBy,r as SurveyThankyouCard,p as Table,q as Tabs,T as Tag,c as Toggle,U as UnderlinedLink,d as Uploader}from"./index-84fac470.js";export{A as Avatar,f as CardAuthor,C as CardReactions,D as DefaultComponentGlobalContextData,G as GlobalData,b as LabelSortPin,e as LabelSorting,L as Loading,l as PopoverMenu,P as Popup,h as PopupDoctor,g as PopupExpert,j as PopupFrame,i as PopupHospital,k as ShareBox,S as SharePopup,T as TogetherAuthConfigContext,a as TogetherAuthConfigContextProvider,m as TogetherComponentGlobalContext,n as TogetherComponentGlobalContextProvider,c as TogetherConstants,d as TogetherDataTransforms,U as UserAvatar,u as useTogetherAuthRequiredAction}from"./index.styled-6559ec11.js";export{d as BabyGrowthSwitch,e as BabyGrowthTooltip,B as Button,C as Container,L as Label,a as Logo,M as Menu,P as PureInput,R as RadioImageGroup,T as Text,b as TextArea,c as TextDivider}from"./index.styled-c5e035f3.js";export{D as Divider,a as Dropdown}from"./index-a74b53cb.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-448bb306.js";export{H as Heading}from"./index-e3b386f9.js";export{I as Input}from"./index-e25a976f.js";export{d as BabyGrowthChooseProfileDrawer,B as BabyGrowthGender,a as BabyGrowthLegend,b as BabyGrowthProfileRadio,c as BabyGrowthRecord,C as ChildCard,I as Icon}from"./index-6e0cbc08.js";export{D as Drawer}from"./index.styled-c1edfd6f.js";export{B as Breakpoints,M as MediaQueries,h as fadeIn,i as formatUrlWithPageParam,j as getBoundariesFromMediaQueryKey,k as getPopupWrapperDom,m as makeParams,a as slideInDown,b as slideInLeft,c as slideInRight,s as slideInUp,e as slideOutDown,f as slideOutLeft,g as slideOutRight,d as slideOutUp,t as toggleNoScroll,u as useTranslations}from"./useTranslations-d76b98a9.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-99db33e1.js";export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-3b4b064d.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-221a5963.js";export{C as CardLink,i as CardPost,j as CardPostPopoverMore,k as CardReply,l as CardReplyPopover,a as CreateNewPostContent,b as CreatePostDescription,c as CreatePostTitle,f as ImagePreviewPopup,I as InputCommentBar,L as LabelPin,P as PopupDanger,e as PostContent,h as PostImagePreview,g as PostSingleImageViewPopup,S as SubmitReportForm,T as TagTopic,t as TogetherTypes,d as TopicSelectList}from"./types-05e4d87b.js";export{B as BookingSearchBar,t as CareTypes}from"./types-0b6d82bd.js";export{c as CareConstants}from"./constants-dc22740c.js";export{a as EcomApiTypes,c as EcomConstants,i as EcomDataFormatter,d as EcomDataTypes,t as EcomTypes}from"./types-0402f8a4.js";export{d as deleteCookie,g as getCookie,s as setCookie}from"./cookieHelper-0e8521c3.js";export{a as abbreviateNumber,l as lazyLoadInstance}from"./number-126ee62e.js";import"react";import"styled-components";export{t as theme}from"./theme-731042bc.js";export{d as getCareApiDomain,g as getCurrentBaseUrl,a as getCurrentSsoUrl,c as getDiscoverApiDomain,b as getTogetherApiDomain}from"./routing-93ed4dbc.js";import"date-fns";import"./tslib.es6-fd0a5c98.js";import"react-range";import"react-id-generator";import"react-day-picker/DayPickerInput";import"react-dom";import"lodash";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"lodash/debounce";import"react-loading-skeleton";import"date-fns/locale/hi";import"date-fns/locale/ms";import"date-fns/locale/th";import"./core-3d8a3f90.js";import"smoothscroll-polyfill";import"lodash/shuffle";
|