@hhgtech/hhg-components 1.22.32 → 1.22.34

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 (33) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/components/atoms/checkbox/index.d.ts +2 -1
  3. package/build/components/molecules/tabs/index.d.ts +1 -0
  4. package/build/components.js +1 -1
  5. package/build/esm/babyGrowth.js +1 -1
  6. package/build/esm/components.js +1 -1
  7. package/build/esm/hooks.js +1 -1
  8. package/build/esm/{index-49f531ae.js → index-27d646df.js} +1 -1
  9. package/build/esm/index-4c7e6985.js +1 -0
  10. package/build/esm/{index-03c5444a.js → index-99c3440f.js} +1 -1
  11. package/build/esm/{index-c1f96447.js → index-9c9eb3ce.js} +1 -1
  12. package/build/esm/index.js +1 -1
  13. package/build/esm/navigation.js +1 -1
  14. package/build/esm/together.js +1 -1
  15. package/build/esm/{types-ce3a6454.js → types-baa7b18e.js} +1 -1
  16. package/build/esm/useFbDataLayer-39219288.js +1 -0
  17. package/build/hooks.js +1 -1
  18. package/build/{index-4a7640b0.js → index-7f1e8b1d.js} +1 -1
  19. package/build/index-94c7b6dd.js +1 -0
  20. package/build/{index-bd12fd05.js → index-cc4f7e3b.js} +1 -1
  21. package/build/{index-0878c97f.js → index-d9ed29f2.js} +1 -1
  22. package/build/index.js +1 -1
  23. package/build/navigation.js +1 -1
  24. package/build/together/components/molecules/cardAuthor/index.d.ts +2 -2
  25. package/build/together/components/molecules/postContent/index.d.ts +3 -3
  26. package/build/together.js +1 -1
  27. package/build/{types-d78ab83b.js → types-afa65e83.js} +1 -1
  28. package/build/useFbDataLayer-eedaa95c.js +1 -0
  29. package/package.json +1 -1
  30. package/build/esm/index-fa05a63f.js +0 -1
  31. package/build/esm/useFbDataLayer-bb248530.js +0 -1
  32. package/build/index-1b08d5a7.js +0 -1
  33. package/build/useFbDataLayer-900607af.js +0 -1
@@ -1 +1 @@
1
- "use strict";var n=require("./tslib.es6-0065074f.js"),e=require("styled-components"),t=require("react"),a=require("./theme-ee07bb4b.js"),i=require("./utils-950aead5.js");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,d,s=r(e),h=r(t),c=s.default.div(o||(o=n.__makeTemplateObject(["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"],["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"]))),p=s.default.div(d||(d=n.__makeTemplateObject(["\n color: ",";\n ","\n ","\n\n /* Base headings sizes and properties */\n &[data-tag] {\n color: var(--custom-heading-color, #262626);\n }\n"],["\n color: ",";\n ","\n ","\n\n /* Base headings sizes and properties */\n &[data-tag] {\n color: var(--custom-heading-color, #262626);\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return function(n){switch(n){case"h1":return"\n font-size: 26px;\n letter-spacing: -0.9px;\n line-height: 34px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 40px;\n line-height: 52px;\n letter-spacing: -1.2px;\n }\n ");case"h2":return"\n font-size: 24px;\n letter-spacing: -0.8px;\n line-height: 32px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 32px;\n line-height: 42px;\n letter-spacing: -1px;\n }\n ");case"h3":return"\n font-size: 20px;\n letter-spacing: -0.7px;\n line-height: 26px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 26px;\n line-height: 36px;\n letter-spacing: -0.8px;\n }\n ");case"h4":return"\n font-size: 18px;\n letter-spacing: -0.6px;\n line-height: 26px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 22px;\n line-height: 32px;\n letter-spacing: -0.6px;\n }\n ");case"h5":return"\n font-size: 16px;\n letter-spacing: -0.2px;\n line-height: 24px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 18px;\n line-height: 28px;\n letter-spacing: -0.2px;\n }\n ");case"h6":return"\n font-size: 14px;\n line-height: 22px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0;\n }\n ")}}(n.headingTag)}),(function(n){return function(n){switch(n){case"bold":return"\n font-weight: ".concat(a.theme.sizes.fwBold,";\n ");case"semibold":return"\n font-weight: ".concat(a.theme.sizes.fwSemiBold,";\n ");default:return"\n font-weight: ".concat(a.theme.sizes.fwBold,";\n ")}}(n.headingFontWeight)}));exports.Heading=function(e){var t,a=e.as,i=e.tag,r=e.className,o=e.children,d=e.title,s=e.color,c=e.style,g=e.fontWeight,l=e.dataEventCategory,u=e.dataEventAction,v=e.dataEventLabel,x=n.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]),f=a||i;return h.default.createElement(p,n.__assign({title:d,style:n.__assign(n.__assign({},s?(t={},t["--custom-heading-color"]=s,t):void 0),c),"data-tag":i,"data-font-weight":g||void 0,"data-event-category":l,"data-event-action":u,"data-event-label":v,as:f,className:r,headingFontWeight:g,headingTag:i},x),o)},exports.StyledAvatar=c;
1
+ "use strict";var n=require("./tslib.es6-0065074f.js"),e=require("styled-components"),t=require("react"),a=require("./theme-ee07bb4b.js"),i=require("./utils-950aead5.js");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,d,s=r(e),h=r(t),c=s.default.div(o||(o=n.__makeTemplateObject(["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"],["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"]))),p=s.default.div(d||(d=n.__makeTemplateObject(["\n color: ",";\n ","\n ","\n\n /* Base headings sizes and properties */\n &[data-tag] {\n color: var(--custom-heading-color, #262626);\n }\n"],["\n color: ",";\n ","\n ","\n\n /* Base headings sizes and properties */\n &[data-tag] {\n color: var(--custom-heading-color, #262626);\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return function(n){switch(n){case"h1":return"\n font-size: 26px;\n letter-spacing: -0.9px;\n line-height: 34px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 40px;\n line-height: 52px;\n letter-spacing: -1.2px;\n }\n ");case"h2":return"\n font-size: 24px;\n letter-spacing: -0.8px;\n line-height: 32px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 32px;\n line-height: 42px;\n letter-spacing: -1px;\n }\n ");case"h3":return"\n font-size: 20px;\n letter-spacing: -0.7px;\n line-height: 26px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 26px;\n line-height: 36px;\n letter-spacing: -0.8px;\n }\n ");case"h4":return"\n font-size: 18px;\n letter-spacing: -0.6px;\n line-height: 26px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 22px;\n line-height: 32px;\n }\n ");case"h5":return"\n font-size: 16px;\n letter-spacing: -0.2px;\n line-height: 24px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 18px;\n line-height: 28px;\n }\n ");case"h6":return"\n font-size: 14px;\n line-height: 22px;\n letter-spacing: -0.2px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0;\n }\n ")}}(n.headingTag)}),(function(n){return function(n){switch(n){case"bold":return"\n font-weight: ".concat(a.theme.sizes.fwBold,";\n ");case"semibold":return"\n font-weight: ".concat(a.theme.sizes.fwSemiBold,";\n ");default:return"\n font-weight: ".concat(a.theme.sizes.fwBold,";\n ")}}(n.headingFontWeight)}));exports.Heading=function(e){var t,a=e.as,i=e.tag,r=e.className,o=e.children,d=e.title,s=e.color,c=e.style,g=e.fontWeight,l=e.dataEventCategory,u=e.dataEventAction,v=e.dataEventLabel,x=n.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]),f=a||i;return h.default.createElement(p,n.__assign({title:d,style:n.__assign(n.__assign({},s?(t={},t["--custom-heading-color"]=s,t):void 0),c),"data-tag":i,"data-font-weight":g||void 0,"data-event-category":l,"data-event-action":u,"data-event-label":v,as:f,className:r,headingFontWeight:g,headingTag:i},x),o)},exports.StyledAvatar=c;