@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.
- package/dist/components/TextInput/TextInput.d.ts +1 -2
- package/dist/components/TextInput/index.d.ts +1 -0
- package/dist/components/Typography/Typography.cjs.js +1 -1
- package/dist/components/Typography/Typography.es.js +9 -9
- package/dist/healthspan-marketing-ui.css +1 -1
- package/dist/modules/AllInOne/AllInOne.cjs.js +1 -1
- package/dist/modules/AllInOne/AllInOne.es.js +193 -142
- package/dist/modules/AllInOne/allInOne.module.css.cjs.js +1 -1
- package/dist/modules/AllInOne/allInOne.module.css.es.js +14 -12
- package/dist/modules/CallToAction/CallToAction.cjs.js +1 -1
- package/dist/modules/CallToAction/CallToAction.es.js +112 -83
- package/dist/modules/HSModal/HSModal.cjs.js +1 -0
- package/dist/modules/HSModal/HSModal.d.ts +4 -0
- package/dist/modules/HSModal/HSModal.es.js +25 -0
- package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.cjs.js +1 -0
- package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.d.ts +3 -0
- package/dist/modules/HSModal/components/MailchimpModal/MailchimpModal.es.js +53 -0
- package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.cjs.js +1 -0
- package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.d.ts +8 -0
- package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/Newsletter.es.js +88 -0
- package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/index.d.ts +1 -0
- package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/newsletter.module.css.cjs.js +1 -0
- package/dist/modules/HSModal/components/MailchimpModal/components/Newsletter/newsletter.module.css.es.js +8 -0
- package/dist/modules/HSModal/components/MailchimpModal/components/index.d.ts +1 -0
- package/dist/modules/HSModal/components/MailchimpModal/index.d.ts +1 -0
- package/dist/modules/HSModal/components/MailchimpModal/mailchimpModal.module.css.cjs.js +1 -0
- package/dist/modules/HSModal/components/MailchimpModal/mailchimpModal.module.css.es.js +21 -0
- package/dist/modules/HSModal/components/index.d.ts +1 -0
- package/dist/modules/HSModal/hsModal.module.css.cjs.js +1 -0
- package/dist/modules/HSModal/hsModal.module.css.es.js +7 -0
- package/dist/modules/HSModal/index.d.ts +3 -0
- package/dist/modules/HSModal/types.d.ts +23 -0
- package/dist/modules/HSModal/useHSModal.cjs.js +1 -0
- package/dist/modules/HSModal/useHSModal.d.ts +20 -0
- package/dist/modules/HSModal/useHSModal.es.js +63 -0
- package/dist/pageComponents/Bubbles/Bubbles.cjs.js +1 -1
- package/dist/pageComponents/Bubbles/Bubbles.es.js +13 -13
- package/dist/pageComponents/CallToActionDefault/CallToActionDefault.cjs.js +1 -1
- package/dist/pageComponents/CallToActionDefault/CallToActionDefault.es.js +1 -1
- 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 @@
|
|
|
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
|
|
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:
|
|
6
|
+
defaultVariant: a,
|
|
7
7
|
children: i,
|
|
8
8
|
className: m = "",
|
|
9
|
-
weight:
|
|
10
|
-
emphasis:
|
|
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
|
|
15
|
+
align: o
|
|
16
16
|
}) => {
|
|
17
|
-
const
|
|
18
|
-
let t =
|
|
19
|
-
|
|
20
|
-
const
|
|
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(
|
|
25
|
+
className: b(h, C, f, g, y, m),
|
|
26
26
|
id: n,
|
|
27
27
|
"data-align": o,
|
|
28
28
|
children: i
|