@hhgtech/hhg-components 1.20.63 → 1.20.65

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.
Files changed (109) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/care.js +1 -1
  3. package/build/components/atoms/slider/index.styled.d.ts +1 -1
  4. package/build/components/mantine/carousel/index.d.ts +10 -0
  5. package/build/components/mantine/carousel/index.styled.d.ts +1 -0
  6. package/build/components/mantine/checkbox/index.d.ts +8 -0
  7. package/build/components/mantine/checkbox/index.styled.d.ts +6 -0
  8. package/build/components/mantine/helpers.d.ts +2 -0
  9. package/build/components/mantine/index.d.ts +10 -0
  10. package/build/components/mantine/radio/index.d.ts +8 -0
  11. package/build/components/mantine/radio/index.styled.d.ts +6 -0
  12. package/build/components/mantine/slider/index.d.ts +8 -0
  13. package/build/components/mantine/slider/index.styled.d.ts +3 -0
  14. package/build/components/mantine/switch/index.d.ts +7 -0
  15. package/build/components.js +1 -1
  16. package/build/constants.js +1 -1
  17. package/build/core.js +1 -1
  18. package/build/ecom.js +1 -1
  19. package/build/{translationsContext-7030adbb.js → en-PH-0dae895f.js} +1 -1
  20. package/build/esm/babyGrowth.js +1 -1
  21. package/build/esm/care.js +1 -1
  22. package/build/esm/components.js +1 -1
  23. package/build/esm/constants.js +1 -1
  24. package/build/esm/core.js +1 -1
  25. package/build/esm/ecom.js +1 -1
  26. package/build/esm/en-PH-777d3fd2.js +1 -0
  27. package/build/esm/gAssets.js +1 -1
  28. package/build/esm/getDynamicHealthTool-f43c2db2.js +1 -0
  29. package/build/esm/hooks.js +1 -1
  30. package/build/esm/i18n.js +1 -1
  31. package/build/esm/index-165a5c19.js +1 -0
  32. package/build/esm/{index-17fca505.js → index-2b1b2c87.js} +1 -1
  33. package/build/esm/index-2e5247a0.js +1 -0
  34. package/build/esm/{index-b8401631.js → index-4f138882.js} +1 -1
  35. package/build/esm/index-58ae0705.js +1 -0
  36. package/build/esm/index-8cb2b54a.js +1 -0
  37. package/build/esm/index-bf58c0e8.js +1 -0
  38. package/build/esm/index-d9efeaea.js +1 -0
  39. package/build/esm/index-ef69144a.js +1 -0
  40. package/build/esm/{index-1c51d632.js → index-f7c111b3.js} +1 -1
  41. package/build/esm/index.js +1 -1
  42. package/build/esm/{index.styled-86e27baf.js → index.styled-161c1f98.js} +1 -1
  43. package/build/esm/{index.styled-69a7dc58.js → index.styled-3d119631.js} +1 -1
  44. package/build/esm/mantine.js +1 -1
  45. package/build/esm/misc.js +1 -1
  46. package/build/esm/navigation.js +1 -1
  47. package/build/esm/navigationLayout_deprecated.js +1 -1
  48. package/build/esm/together.js +1 -1
  49. package/build/esm/translationsContext-d658f58d.js +1 -0
  50. package/build/esm/translationsProvider-f2406d80.js +1 -0
  51. package/build/esm/types-2664b417.js +1 -0
  52. package/build/esm/{types-87287859.js → types-469eed56.js} +1 -1
  53. package/build/esm/{useHealthToolCache-6668e8c3.js → useHealthToolCache-e4e2778a.js} +1 -1
  54. package/build/esm/useTranslations-6696472c.js +1 -0
  55. package/build/esm/{utils-5ed9a485.js → utils-9a457ba0.js} +1 -1
  56. package/build/gAssets.js +1 -1
  57. package/build/getDynamicHealthTool-770421bc.js +1 -0
  58. package/build/hooks.js +1 -1
  59. package/build/i18n.js +1 -1
  60. package/build/index-2e8b8275.js +1 -0
  61. package/build/{index-4321cd25.js → index-65210841.js} +1 -1
  62. package/build/index-7d330b69.js +1 -0
  63. package/build/index-9b91ee37.js +1 -0
  64. package/build/index-bce6f562.js +1 -0
  65. package/build/{index-94c126f6.js → index-bde94e0b.js} +1 -1
  66. package/build/index-c21b1491.js +1 -0
  67. package/build/index-e15ec8a9.js +1 -0
  68. package/build/index-ea5c918f.js +1 -0
  69. package/build/{index-4888aa12.js → index-fa15aaf3.js} +1 -1
  70. package/build/index.js +1 -1
  71. package/build/index.styled-343a2168.js +1 -0
  72. package/build/{index.styled-6358651d.js → index.styled-46ca912c.js} +1 -1
  73. package/build/mantine.js +1 -1
  74. package/build/misc.js +1 -1
  75. package/build/navigation.js +1 -1
  76. package/build/navigationLayout_deprecated.js +1 -1
  77. package/build/together.js +1 -1
  78. package/build/translationsContext-2d7ea471.js +1 -0
  79. package/build/translationsProvider-841985cd.js +1 -0
  80. package/build/{types-dc978cd5.js → types-a1b0d2d4.js} +1 -1
  81. package/build/types-e5719a02.js +1 -0
  82. package/build/{useHealthToolCache-8a4c6859.js → useHealthToolCache-014adcd3.js} +1 -1
  83. package/build/useTranslations-0c221726.js +1 -0
  84. package/build/{utils-6fb915bc.js → utils-c05996cf.js} +1 -1
  85. package/package.json +3 -1
  86. package/build/esm/getDynamicHealthTool-86651d3e.js +0 -1
  87. package/build/esm/index-30372921.js +0 -1
  88. package/build/esm/index-6157a8d9.js +0 -1
  89. package/build/esm/index-67527752.js +0 -1
  90. package/build/esm/index-6fcace56.js +0 -1
  91. package/build/esm/index-9dd60ba6.js +0 -1
  92. package/build/esm/index-bea7d9e6.js +0 -1
  93. package/build/esm/isProduction-6fc0946c.js +0 -1
  94. package/build/esm/translationsContext-2a7c9f4a.js +0 -1
  95. package/build/esm/translationsProvider-8d997983.js +0 -1
  96. package/build/esm/types-a6eb6de6.js +0 -1
  97. package/build/esm/useTranslations-18bb1454.js +0 -1
  98. package/build/getDynamicHealthTool-3efcfc23.js +0 -1
  99. package/build/index-21ee2304.js +0 -1
  100. package/build/index-6c15aaed.js +0 -1
  101. package/build/index-af3a78da.js +0 -1
  102. package/build/index-d28c27ca.js +0 -1
  103. package/build/index-ec492b9f.js +0 -1
  104. package/build/index-ee8e90f7.js +0 -1
  105. package/build/index.styled-bdd83972.js +0 -1
  106. package/build/isProduction-32e6a55a.js +0 -1
  107. package/build/translationsProvider-31ab1b1e.js +0 -1
  108. package/build/types-aa8ffe51.js +0 -1
  109. package/build/useTranslations-22cc11a9.js +0 -1
@@ -1 +1 @@
1
- import{e as n,_ as e}from"./tslib.es6-5532bd7b.js";import t from"react";import{Select as r}from"@mantine/core";import o,{css as i}from"styled-components";import{DatePicker as a,DateRangePicker as s}from"@mantine/dates";var c,u,m,l,p=o(r)(c||(c=n(["\n .mantine-Select-input {\n border-radius: 6px;\n transition: all 100ms ease-in-out;\n &:hover,\n &:focus {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n }\n"],["\n .mantine-Select-input {\n border-radius: 6px;\n transition: all 100ms ease-in-out;\n &:hover,\n &:focus {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n }\n"])),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),d=function(n){return t.createElement(p,e({rightSection:t.createElement("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M1 1L5 5L9 1",stroke:"#595959",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},n))},b=i(u||(u=n(["\n border-radius: 6px;\n transition: all 100ms ease-in-out;\n &:hover,\n &:focus {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n"],["\n border-radius: 6px;\n transition: all 100ms ease-in-out;\n &:hover,\n &:focus {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n"])),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),h=o(a)(m||(m=n(["\n .mantine-DatePicker-input {\n ","\n }\n"],["\n .mantine-DatePicker-input {\n ","\n }\n"])),b),x=o(s)(l||(l=n(["\n .mantine-DateRangePicker-input {\n ","\n }\n"],["\n .mantine-DateRangePicker-input {\n ","\n }\n"])),b),f=function(n){return t.createElement(h,e({size:"md"},n))};f.Range=function(n){return t.createElement(x,e({size:"md"},n))};export{f as DatePicker,d as Select};
1
+ import{e as n,_ as e,b as o}from"./tslib.es6-5532bd7b.js";import t from"react";import{Select as r,Checkbox as i,Slider as a,Radio as l,Switch as s}from"@mantine/core";import c,{css as m}from"styled-components";import{DatePicker as d,DateRangePicker as u}from"@mantine/dates";import{Carousel as p}from"@mantine/carousel";import"./index.styled-3d119631.js";import{B as h}from"./index-165a5c19.js";import"./screenSizeContext-d6e9a094.js";import"react-range";import"react-dom";import"./translationsContext-d658f58d.js";import"string-format";import"lodash/debounce";import"./index-58ae0705.js";import"date-fns";import{t as f}from"./theme-a50a1aa5.js";import"./Locale-69030fff.js";import"vanilla-lazyload";import"lodash";var x,g,b,w,k,v=m(x||(x=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"],["\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"])),"100ms",(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),S=m(g||(g=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"])),"100ms",(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),E=c(r)(b||(b=n(["\n .mantine-Select-input {\n ","\n }\n"],["\n .mantine-Select-input {\n ","\n }\n"])),v),j=function(n){return t.createElement(E,e({rightSection:t.createElement("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M1 1L5 5L9 1",stroke:"#595959",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},n))},z=c(d)(w||(w=n(["\n .mantine-DatePicker-input {\n ","\n }\n"],["\n .mantine-DatePicker-input {\n ","\n }\n"])),v),y=c(u)(k||(k=n(["\n .mantine-DateRangePicker-input {\n ","\n }\n"],["\n .mantine-DateRangePicker-input {\n ","\n }\n"])),v),L=function(n){return t.createElement(z,e({size:"md"},n))};L.Range=function(n){return t.createElement(y,e({size:"md"},n))};var R=function(n){var r=n.slidesToShow,i=void 0===r?1:r,a=n.children,l=o(n,["slidesToShow","children"]);return console.log(i),t.createElement(p,e({slideSize:String(Math.floor(1/i*100))+"%",containScroll:"trimSnaps"},l),a)};R.Slide=p.Slide;var B,C=c(i)(B||(B=n(["\n .mantine-Checkbox-input {\n ","\n }\n"],["\n .mantine-Checkbox-input {\n ","\n }\n"])),S),D=function(n){return t.createElement(C,e({},n))};D.Group=i.Group;var P,M,G,W=c(a)(P||(P=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})),T=c.div(M||(M=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"])),W),A=function(n){var r=n.color,i=void 0===r?f.colors.primaryBase:r,a=n.withControl,l=o(n,["color","withControl"]);return t.createElement(T,null,a&&t.createElement(h,{size:"sm",color:"ghost"},t.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(W,e({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i},l)),a&&t.createElement(h,{size:"sm",color:"ghost"},t.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))},O=c(l)(G||(G=n(["\n .mantine-Radio-radio {\n background-color: #ffffff;\n ","\n }\n .mantine-Radio-icon {\n fill: ",";\n color: ",";\n }\n"],["\n .mantine-Radio-radio {\n background-color: #ffffff;\n ","\n }\n .mantine-Radio-icon {\n fill: ",";\n color: ",";\n }\n"])),S,(function(n){return n.color||n.theme.colors.primaryBase}),(function(n){return n.color||n.theme.colors.primaryBase})),_=function(n){return t.createElement(O,e({size:"sm"},n))};_.Group=l.Group;var q,F=c(s)(q||(q=n(["\n .mantine-Switch-track {\n }\n"],["\n .mantine-Switch-track {\n }\n"])));export{R as Carousel,D as Checkbox,L as DatePicker,_ as Radio,j as Select,A as Slider,F as Switch};
package/build/esm/misc.js CHANGED
@@ -1 +1 @@
1
- export{a as ageGenerate,c as convertLocalizedStringToNumber,l as localizeNumberFormat}from"./localizeNumberFormat-77c129ef.js";export{B as Breakpoints,M as MediaQueries,S as ScreenSizeContext,p as ScreenSizeContextProvider,h as fadeIn,i as formatUrlWithPageParam,j as getBoundariesFromMediaQueryKey,k as getPopupWrapperDom,o as getWindowSizeGroups,l as lazyLoadInstance,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,n as startCase,t as toggleNoScroll}from"./screenSizeContext-d6e9a094.js";export{d as deleteCookie,g as getCookie,s as setCookie}from"./cookieHelper-0e8521c3.js";import"react";import"styled-components";export{t as theme}from"./theme-a50a1aa5.js";export{a as abbreviateNumber}from"./number-3cb24023.js";export{f as formatHealthTool,d as getCareApiDomain,g as getCurrentBaseUrl,a as getCurrentSsoUrl,c as getDiscoverApiDomain,e as getDynamicHealthTool,h as getDynamicHealthToolWithCache,b as getTogetherApiDomain}from"./getDynamicHealthTool-86651d3e.js";export{g as getSocialList}from"./getSocialList-ff22842b.js";import"date-fns";import"./tslib.es6-5532bd7b.js";import"vanilla-lazyload";import"lodash";import"./core-d22826b4.js";import"./index-9dd60ba6.js";import"./isProduction-6fc0946c.js";import"./Locale-69030fff.js";
1
+ export{a as ageGenerate,c as convertLocalizedStringToNumber,l as localizeNumberFormat}from"./localizeNumberFormat-77c129ef.js";export{B as Breakpoints,M as MediaQueries,S as ScreenSizeContext,p as ScreenSizeContextProvider,h as fadeIn,i as formatUrlWithPageParam,j as getBoundariesFromMediaQueryKey,k as getPopupWrapperDom,o as getWindowSizeGroups,l as lazyLoadInstance,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,n as startCase,t as toggleNoScroll}from"./screenSizeContext-d6e9a094.js";export{d as deleteCookie,g as getCookie,s as setCookie}from"./cookieHelper-0e8521c3.js";import"react";import"styled-components";export{t as theme}from"./theme-a50a1aa5.js";export{a as abbreviateNumber}from"./number-3cb24023.js";export{f as formatHealthTool,d as getCareApiDomain,g as getCurrentBaseUrl,a as getCurrentSsoUrl,c as getDiscoverApiDomain,e as getDynamicHealthTool,h as getDynamicHealthToolWithCache,b as getTogetherApiDomain}from"./getDynamicHealthTool-f43c2db2.js";export{g as getSocialList}from"./getSocialList-ff22842b.js";import"date-fns";import"./tslib.es6-5532bd7b.js";import"vanilla-lazyload";import"lodash";import"./core-d22826b4.js";import"./index-58ae0705.js";import"./Locale-69030fff.js";
@@ -1 +1 @@
1
- import"./tslib.es6-5532bd7b.js";import"react";import"./core-d22826b4.js";import"./index.styled-69a7dc58.js";export{N as NavigationV2,g as getNavMenuContent,e as getNavMenuContentWithCache}from"./index-bea7d9e6.js";import"react-id-generator";import"./index-6157a8d9.js";import"date-fns";import"react-day-picker/DayPickerInput";import"./utils-5ed9a485.js";import"lodash/debounce";import"react-dom";import"./index.styled-86e27baf.js";import"lodash";import"keen-slider/react";import"./screenSizeContext-d6e9a094.js";import"react-range";import"./translationsContext-2a7c9f4a.js";import"string-format";import"./getDynamicHealthTool-86651d3e.js";import"styled-components";import"./Locale-69030fff.js";import"./index-17fca505.js";import"./index-9dd60ba6.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-6fcace56.js";import"./index-b8401631.js";import"./useTranslations-18bb1454.js";import"./types-f57c9932.js";import"./useHealthToolCache-6668e8c3.js";import"./constants-a0a981fa.js";import"date-fns/locale/hi";import"date-fns/locale/ms";import"date-fns/locale/th";import"./cookieHelper-0e8521c3.js";import"slugify";import"vanilla-lazyload";import"./isProduction-6fc0946c.js";
1
+ import"./tslib.es6-5532bd7b.js";import"react";import"./core-d22826b4.js";import"./index.styled-3d119631.js";export{N as NavigationV2,g as getNavMenuContent,f as getNavMenuContentWithCache}from"./index-ef69144a.js";import"react-id-generator";import"./index-8cb2b54a.js";import"date-fns";import"react-day-picker/DayPickerInput";import"./utils-9a457ba0.js";import"lodash/debounce";import"react-dom";import"./index.styled-161c1f98.js";import"lodash";import"keen-slider/react";import"./screenSizeContext-d6e9a094.js";import"react-range";import"./translationsContext-d658f58d.js";import"string-format";import"./getDynamicHealthTool-f43c2db2.js";import"styled-components";import"./Locale-69030fff.js";import"./index-2b1b2c87.js";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-165a5c19.js";import"./index-d9efeaea.js";import"./index-4f138882.js";import"./useTranslations-6696472c.js";import"./en-PH-777d3fd2.js";import"./types-f57c9932.js";import"./useHealthToolCache-e4e2778a.js";import"./constants-a0a981fa.js";import"date-fns/locale/hi";import"date-fns/locale/ms";import"date-fns/locale/th";import"./cookieHelper-0e8521c3.js";import"slugify";import"vanilla-lazyload";