@hhgtech/hhg-components 1.21.13 → 1.21.15
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/embeddedHeathToolCards/dueDate.d.ts +34 -5
- package/build/components/molecules/embeddedHeathToolCards/ovulation.d.ts +14 -2
- package/build/components/molecules/embeddedHeathToolCards/pwg.d.ts +2 -1
- package/build/components/molecules/toolBannerCard/index.d.ts +1 -2
- package/build/components/organisms/heroBannerHealthTool/healthToolBanner.d.ts +13 -4
- package/build/components.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{index-91554cbe.js → index-08833fb4.js} +1 -1
- package/build/esm/index-3b378814.js +1 -0
- package/build/esm/index-c0b62dbe.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/types-0edd9c60.js +1 -0
- package/build/index-0bafdcb2.js +1 -0
- package/build/index-96d64b69.js +1 -0
- package/build/{index-3b0c9962.js → index-d6932941.js} +1 -1
- package/build/index.js +1 -1
- package/build/mantine.js +1 -1
- package/build/navigation.js +1 -1
- package/build/together/interfaces/types.d.ts +4 -0
- package/build/together.js +1 -1
- package/build/{types-63b1b2a9.js → types-c0fecd36.js} +1 -1
- package/package.json +1 -1
- package/build/esm/index-784db9aa.js +0 -1
- package/build/esm/index-a6a709b8.js +0 -1
- package/build/esm/types-56ab0960.js +0 -1
- package/build/index-a0a925d6.js +0 -1
- package/build/index-d8762878.js +0 -1
package/build/esm/mantine.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as n,_ as e,b as t}from"./tslib.es6-dcf36680.js";import r,{useEffect as o,useState as
|
|
1
|
+
import{e as n,_ as e,b as t}from"./tslib.es6-dcf36680.js";import r,{useEffect as o,useState as i}from"react";import{Select as a,Image as l,TextInput as s,FileInput as c,PasswordInput as u,NumberInput as m,LoadingOverlay as d,Checkbox as p,Slider as f,Radio as h,Switch as g}from"@mantine/core";import v,{css as b}from"styled-components";import{CommonGAssets as w}from"./gAssets.js";import{DatePicker as x,DateRangePicker as k}from"@mantine/dates";import{useDebouncedState as y,useDebouncedValue as E}from"@mantine/hooks";import"date-fns";import"./screenSizeContext-d0c9aa9b.js";import{t as S}from"./theme-a50a1aa5.js";import"./index-58ae0705.js";import"./Locale-69030fff.js";import{Carousel as C}from"@mantine/carousel";import"./index.styled-d5fee85d.js";import{B as P}from"./index-fc27293d.js";import"react-range";import"./translationsContext-d658f58d.js";import"string-format";import"lodash/debounce";import"vanilla-lazyload";import"lodash";var z,j,D,I,M,R,B,L="100ms",Y=300,W=b(z||(z=n(["\n border-radius: 6px;\n transition: all "," ease-in-out;\n &:hover,\n &:focus {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n .mantine-Input-label {\n margin-bottom: 0.5rem;\n }\n"],["\n border-radius: 6px;\n transition: all "," ease-in-out;\n &:hover,\n &:focus {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n .mantine-Input-label {\n margin-bottom: 0.5rem;\n }\n"])),L,(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),A=b(j||(j=n(["\n transition: all "," ease-in-out;\n &:hover {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n"],["\n transition: all "," ease-in-out;\n &:hover {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n"])),L,(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),F=v(a)(D||(D=n(["\n .mantine-Select-input {\n ","\n }\n"],["\n .mantine-Select-input {\n ","\n }\n"])),W),T=function(n){return r.createElement(F,e({rightSection:r.createElement("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M1 1L5 5L9 1",stroke:"#595959",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),size:"md"},n))},G=v(x)(M||(M=n(["\n position: relative;\n\n .mantine-DatePicker-input {\n ","\n }\n ","\n"],["\n position: relative;\n\n .mantine-DatePicker-input {\n ","\n }\n ","\n"])),W,(function(e){return e.fullWidth&&b(I||(I=n(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),N=v(k)(B||(B=n(["\n position: relative;\n\n .mantine-DateRangePicker-input {\n ","\n }\n ","\n"],["\n position: relative;\n\n .mantine-DateRangePicker-input {\n ","\n }\n ","\n"])),W,(function(e){return e.fullWidth&&b(R||(R=n(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),O=function(n){return r.createElement(G,e({size:"lg",clearable:!1,inputFormat:"DD/MM/YYYY",fullWidth:!0,rightSection:r.createElement(l,{src:w.getAssetPath("OutlineCalendar.svg"),width:16,height:16}),labelProps:{style:{marginBottom:"0.5rem"}}},n))};O.Range=function(n){return r.createElement(N,e({size:"lg",clearable:!1,inputFormat:"DD/MM/YYYY",fullWidth:!0,rightSection:r.createElement(l,{src:w.getAssetPath("OutlineCalendar.svg"),width:16,height:16}),labelProps:{style:{marginBottom:"0.5rem"}}},n))};var V,H,_,q,J=v(s)(V||(V=n(["\n .mantine-Input-input {\n ","\n }\n"],["\n .mantine-Input-input {\n ","\n }\n"])),W),K=v(c)(H||(H=n(["\n .mantine-FileInput-input {\n ","\n }\n"],["\n .mantine-FileInput-input {\n ","\n }\n"])),W),Q=v(u)(_||(_=n(["\n .mantine-PasswordInput-input {\n ","\n }\n"],["\n .mantine-PasswordInput-input {\n ","\n }\n"])),W),U=v(m)(q||(q=n(["\n .mantine-NumberInput-input {\n ","\n }\n"],["\n .mantine-NumberInput-input {\n ","\n }\n"])),W),X=function(n){var i=n.value,a=n.onChange,l=t(n,["value","onChange"]),s=y(i||"",Y),c=s[0],u=s[1];return o((function(){null==a||a(c)}),[c]),r.createElement(J,e({size:"md",defaultValue:c,onChange:function(n){return u(n.currentTarget.value)}},l))};X.File=function(n){return r.createElement(K,e({size:"md"},n))},X.Password=function(n){var i=n.value,a=n.onChange,s=t(n,["value","onChange"]),c=y(i||"",Y),u=c[0],m=c[1];return o((function(){null==a||a(u)}),[u]),r.createElement(Q,e({size:"md",defaultValue:u,onChange:function(n){return m(n.currentTarget.value)},visibilityToggleIcon:function(n){var e=n.reveal,t=n.size;return e?r.createElement(l,{src:w.getAssetPath("EyeVisible.svg"),width:t}):r.createElement(l,{src:w.getAssetPath("EyeHidden.svg"),width:t})}},s))},X.Number=function(n){var i=n.value,a=n.onChange,l=t(n,["value","onChange"]),s=y(i||0,Y),c=s[0],u=s[1];return o((function(){null==a||a(c)}),[c]),r.createElement(U,e({size:"md",decimalSeparator:".",stepHoldDelay:500,stepHoldInterval:function(n){return Math.max(1e3/Math.pow(n,2),25)},defaultValue:c,onChange:u},l))};var Z=function(n){return r.createElement(d,e({loaderProps:{color:S.colors.primaryBase}},n))},$=function(n){var o=n.slidesToShow,i=void 0===o?1:o,a=n.children,l=t(n,["slidesToShow","children"]);return r.createElement(C,e({slideSize:String(Math.floor(1/i*100))+"%",containScroll:"trimSnaps"},l),a)};$.Slide=C.Slide;var nn,en=v(p)(nn||(nn=n(["\n .mantine-Checkbox-input {\n ","\n }\n"],["\n .mantine-Checkbox-input {\n ","\n }\n"])),A),tn=function(n){return r.createElement(en,e({},n))};tn.Group=p.Group;var rn,on,an,ln=v(f)(rn||(rn=n(["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"],["\n .mantine-Slider-track {\n background-color: ",";\n }\n\n .mantine-Slider-label {\n background-color: transparent;\n color: #000;\n font-size: 14px;\n font-weight: bold;\n }\n"])),(function(n){return n.color||n.theme.colors.primaryBase})),sn=v.div(on||(on=n(["\n display: flex;\n align-items: center;\n "," {\n flex-grow: 1;\n }\n"],["\n display: flex;\n align-items: center;\n "," {\n flex-grow: 1;\n }\n"])),ln),cn=function(n){var a=n.color,l=void 0===a?S.colors.primaryBase:a,s=n.withControl,c=n.onChange,u=n.value,m=n.min,d=n.max,p=t(n,["color","withControl","onChange","value","min","max"]),f=i(u||m||0),h=f[0],g=f[1],v=E(h,Y)[0];return o((function(){null==c||c(v)}),[v]),r.createElement(sn,null,s&&r.createElement(P,{type:"button",size:"sm",color:"ghost",onClick:function(){g((function(n){return m&&n===m?n:n-1}))}},r.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},r.createElement("path",{d:"M1 1.004h8",stroke:l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),r.createElement(ln,e({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:l,value:h,onChange:g,min:m,max:d},p)),s&&r.createElement(P,{type:"button",size:"sm",color:"ghost",onClick:function(){g((function(n){return d&&n===d?n:n+1}))}},r.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},r.createElement("path",{d:"M8 4v8M4 8h8",stroke:l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))},un=v(h)(an||(an=n(["\n .mantine-Radio-radio {\n background-color: #ffffff;\n ","\n &:checked {\n background-color: #ffffff;\n }\n }\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-radio {\n background-color: #ffffff;\n ","\n &:checked {\n background-color: #ffffff;\n }\n }\n .mantine-Radio-icon {\n color: ",";\n }\n"])),A,(function(n){return n.color||S.colors.primaryBase})),mn=function(n){return r.createElement(un,e({size:"sm"},n))};mn.Group=h.Group;var dn,pn=v(g)(dn||(dn=n(["\n .mantine-Switch-track {\n }\n"],["\n .mantine-Switch-track {\n }\n"])));export{$ as Carousel,tn as Checkbox,O as DatePicker,X as Input,Z as LoadingOverlay,mn as Radio,T as Select,cn as Slider,pn as Switch};
|
package/build/esm/navigation.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./tslib.es6-dcf36680.js";import"react";import"./core-3e31237f.js";import"./index.styled-d5fee85d.js";export{N as NavigationV2,g as getNavMenuContent,f as getNavMenuContentWithCache}from"./index-
|
|
1
|
+
import"./tslib.es6-dcf36680.js";import"react";import"./core-3e31237f.js";import"./index.styled-d5fee85d.js";export{N as NavigationV2,g as getNavMenuContent,f as getNavMenuContentWithCache}from"./index-08833fb4.js";import"react-id-generator";import"./index-3b378814.js";import"date-fns";import"react-day-picker/DayPickerInput";import"lodash/debounce";import"react-dom";import"./index.styled-ae81770e.js";import"lodash";import"keen-slider/react";import"./gAssets.js";import"./screenSizeContext-d0c9aa9b.js";import"react-range";import"styled-components";import"./getDynamicHealthTool-506a8dae.js";import"./Locale-69030fff.js";import"@mantine/core";import"./translationsContext-d658f58d.js";import"string-format";import"./index-58ae0705.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./theme-a50a1aa5.js";import"smoothscroll-polyfill";import"./index-fc27293d.js";import"./index-38730a4c.js";import"./index-a156951f.js";import"./useTranslations-3e47eecc.js";import"./en-PH-71017453.js";import"./types-f57c9932.js";import"./useHealthToolCache-79dda45b.js";import"./constants-a0a981fa.js";import"./cookieHelper-0e8521c3.js";import"date-fns/locale/hi";import"date-fns/locale/ms";import"date-fns/locale/th";import"slugify";import"vanilla-lazyload";
|
package/build/esm/together.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{C as CardLink,r as CardPost,s as CardPostPopoverMore,b as CardReactions,v as CardReply,w as CardReplyPopover,f as CreateNewPostContent,g as CreatePostDescription,h as CreatePostTitle,n as ImagePreviewPopup,I as InputCommentBar,d as LabelPin,L as LabelSortPin,e as LabelSorting,x as PopoverMenu,P as PopupDanger,j as PopupFrame,m as PostContent,p as PostImagePreview,o as PostSingleImageViewPopup,l as ShareBox,S as SharePopup,q as SocialLinkPreview,k as SubmitReportForm,c as TagTopic,T as TogetherAuthConfigContext,a as TogetherAuthConfigContextProvider,t as TogetherTypes,i as TopicSelectList,u as useTogetherAuthRequiredAction}from"./types-
|
|
1
|
+
export{C as CardLink,r as CardPost,s as CardPostPopoverMore,b as CardReactions,v as CardReply,w as CardReplyPopover,f as CreateNewPostContent,g as CreatePostDescription,h as CreatePostTitle,n as ImagePreviewPopup,I as InputCommentBar,d as LabelPin,L as LabelSortPin,e as LabelSorting,x as PopoverMenu,P as PopupDanger,j as PopupFrame,m as PostContent,p as PostImagePreview,o as PostSingleImageViewPopup,l as ShareBox,S as SharePopup,q as SocialLinkPreview,k as SubmitReportForm,c as TagTopic,T as TogetherAuthConfigContext,a as TogetherAuthConfigContextProvider,t as TogetherTypes,i as TopicSelectList,u as useTogetherAuthRequiredAction}from"./types-0edd9c60.js";export{C as CardAuthor,f as DefaultComponentGlobalContextData,G as GlobalData,L as Loading,b as PopupDoctor,a as PopupExpert,e as PopupHospital,T as TogetherComponentGlobalContext,g as TogetherComponentGlobalContextProvider,c as TogetherConstants,d as TogetherDataTransforms,U as UserAvatar}from"./index-3b378814.js";import"react";import"./index.styled-d5fee85d.js";import"./tslib.es6-dcf36680.js";import"styled-components";import"./theme-a50a1aa5.js";import"./screenSizeContext-d0c9aa9b.js";import"vanilla-lazyload";import"lodash";import"./translationsContext-d658f58d.js";import"string-format";import"./index-fc27293d.js";import"./useTranslations-3e47eecc.js";import"./en-PH-71017453.js";import"innertext";import"./gAssets.js";import"./index-58ae0705.js";import"react-range";import"date-fns";import"./Locale-69030fff.js";import"@mantine/core";import"lodash/debounce";import"./index-a156951f.js";import"react-contenteditable";import"./index-38730a4c.js";import"./cookieHelper-0e8521c3.js";import"./index-6c500325.js";import"react-dom";import"date-fns/locale/en-US";import"date-fns/locale/hi";import"date-fns/locale/id";import"date-fns/locale/ms";import"date-fns/locale/th";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"slugify";import"react-id-generator";
|