@zenpatient-org/healthspan-marketing-ui 0.1.103 → 0.1.106

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 (40) hide show
  1. package/dist/components/TextInput/TextInput.d.ts +1 -2
  2. package/dist/components/TextInput/index.d.ts +1 -0
  3. package/dist/components/Typography/Typography.cjs.js +1 -1
  4. package/dist/components/Typography/Typography.es.js +9 -9
  5. package/dist/healthspan-marketing-ui.css +1 -1
  6. package/dist/modules/AllInOne/AllInOne.cjs.js +1 -1
  7. package/dist/modules/AllInOne/AllInOne.es.js +193 -142
  8. package/dist/modules/AllInOne/allInOne.module.css.cjs.js +1 -1
  9. package/dist/modules/AllInOne/allInOne.module.css.es.js +14 -12
  10. package/dist/modules/CallToAction/CallToAction.cjs.js +1 -1
  11. package/dist/modules/CallToAction/CallToAction.es.js +112 -83
  12. package/dist/modules/HSModal/HSModal.cjs.js +1 -0
  13. package/dist/modules/HSModal/HSModal.d.ts +4 -0
  14. package/dist/modules/HSModal/HSModal.es.js +25 -0
  15. package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.cjs.js +1 -0
  16. package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.d.ts +3 -0
  17. package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.es.js +53 -0
  18. package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.cjs.js +1 -0
  19. package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.d.ts +8 -0
  20. package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.es.js +88 -0
  21. package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/index.d.ts +1 -0
  22. package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/newsletter.module.css.cjs.js +1 -0
  23. package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/newsletter.module.css.es.js +8 -0
  24. package/dist/modules/HSModal/components/MailchimpModal/components/index.d.ts +1 -0
  25. package/dist/modules/HSModal/components/MailchimpModal/index.d.ts +1 -0
  26. package/dist/modules/HSModal/components/MailchimpModal/mailchimpModal.module.css.cjs.js +1 -0
  27. package/dist/modules/HSModal/components/MailchimpModal/mailchimpModal.module.css.es.js +21 -0
  28. package/dist/modules/HSModal/components/index.d.ts +1 -0
  29. package/dist/modules/HSModal/hsModal.module.css.cjs.js +1 -0
  30. package/dist/modules/HSModal/hsModal.module.css.es.js +7 -0
  31. package/dist/modules/HSModal/index.d.ts +3 -0
  32. package/dist/modules/HSModal/types.d.ts +23 -0
  33. package/dist/modules/HSModal/useHSModal.cjs.js +1 -0
  34. package/dist/modules/HSModal/useHSModal.d.ts +20 -0
  35. package/dist/modules/HSModal/useHSModal.es.js +63 -0
  36. package/dist/pageComponents/Bubbles/Bubbles.cjs.js +1 -1
  37. package/dist/pageComponents/Bubbles/Bubbles.es.js +13 -13
  38. package/dist/pageComponents/CallToActionDefault/CallToActionDefault.cjs.js +1 -1
  39. package/dist/pageComponents/CallToActionDefault/CallToActionDefault.es.js +1 -1
  40. package/package.json +6 -1
@@ -1,6 +1,6 @@
1
1
  import { ChangeEvent, KeyboardEvent } from 'react';
2
2
 
3
- type TTextInputProps = {
3
+ export type TTextInputProps = {
4
4
  placeholder?: string;
5
5
  variant?: 'primary' | 'primary-invert';
6
6
  handleChange?: (e: ChangeEvent<HTMLInputElement>) => void;
@@ -17,4 +17,3 @@ type TTextInputProps = {
17
17
  showButton?: boolean;
18
18
  };
19
19
  export declare const TextInput: ({ placeholder, variant, handleChange, handleKeyDown, disabled, buttonText, onButtonClick, error, errorText, active, value, label, type, showButton, }: TTextInputProps) => import("react/jsx-runtime").JSX.Element;
20
- export {};
@@ -1 +1,2 @@
1
1
  export { TextInput } from './TextInput';
2
+ export type { TTextInputProps } from './TextInput';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),e=require("../../styles/typography.module.css.cjs.js"),C=require("../../utils/cn/cn.cjs.js"),_=require("./Typography.service.cjs.js"),$=({defaultVariant:l,children:i,className:c="",weight:a,emphasis:o=!1,as:n="span",mobileVariant:r,color:u,id:p,align:t="left"})=>{const y=e.default[l]||"";let s=a;o&&!a&&(s="medium");const d=s?e.default[`weight${s.charAt(0).toUpperCase()}${s.slice(1)}`]:"",g=l.startsWith("label")&&o?e.default.labelEmphasis:"",f=r?e.default[`mobile__${r}`]:"",h=t?e.default[`${t}Align`]:"";return m.jsx(n,{style:_.getMemoizedColorStyles(u),className:C.cn(y,d,g,f,h,c),id:p,"data-align":t,children:i})};exports.Typography=$;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),e=require("../../styles/typography.module.css.cjs.js"),C=require("../../utils/cn/cn.cjs.js"),_=require("./Typography.service.cjs.js"),$=({defaultVariant:l,children:i,className:c="",weight:a,emphasis:o=!1,as:n="span",mobileVariant:r,color:u,id:p,align:t})=>{const y=e.default[l]||"";let s=a;o&&!a&&(s="medium");const d=s?e.default[`weight${s.charAt(0).toUpperCase()}${s.slice(1)}`]:"",g=l.startsWith("label")&&o?e.default.labelEmphasis:"",h=r?e.default[`mobile__${r}`]:"",f=t?e.default[`${t}Align`]:"";return m.jsx(n,{style:_.getMemoizedColorStyles(u),className:C.cn(y,d,g,h,f,c),id:p,"data-align":t,children:i})};exports.Typography=$;
@@ -3,26 +3,26 @@ import s from "../../styles/typography.module.css.es.js";
3
3
  import { cn as b } from "../../utils/cn/cn.es.js";
4
4
  import { getMemoizedColorStyles as d } from "./Typography.service.es.js";
5
5
  const j = ({
6
- defaultVariant: e,
6
+ defaultVariant: a,
7
7
  children: i,
8
8
  className: m = "",
9
- weight: l,
10
- emphasis: a = !1,
9
+ weight: e,
10
+ emphasis: l = !1,
11
11
  as: p = "span",
12
12
  mobileVariant: r,
13
13
  color: c,
14
14
  id: n,
15
- align: o = "left"
15
+ align: o
16
16
  }) => {
17
- const f = s[e] || "";
18
- let t = l;
19
- a && !l && (t = "medium");
20
- const h = t ? s[`weight${t.charAt(0).toUpperCase()}${t.slice(1)}`] : "", C = e.startsWith("label") && a ? s.labelEmphasis : "", g = r ? s[`mobile__${r}`] : "", y = o ? s[`${o}Align`] : "";
17
+ const h = s[a] || "";
18
+ let t = e;
19
+ l && !e && (t = "medium");
20
+ const C = t ? s[`weight${t.charAt(0).toUpperCase()}${t.slice(1)}`] : "", f = a.startsWith("label") && l ? s.labelEmphasis : "", g = r ? s[`mobile__${r}`] : "", y = o ? s[`${o}Align`] : "";
21
21
  return /* @__PURE__ */ $(
22
22
  p,
23
23
  {
24
24
  style: d(c),
25
- className: b(f, h, C, g, y, m),
25
+ className: b(h, C, f, g, y, m),
26
26
  id: n,
27
27
  "data-align": o,
28
28
  children: i