@zenpatient-org/healthspan-marketing-ui 0.1.18 → 0.1.19

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 (71) hide show
  1. package/dist/components/Button/Button.es.js +6 -29
  2. package/dist/components/Callback/Callback.d.ts +1 -1
  3. package/dist/components/Callback/Callback.es.js +2 -16
  4. package/dist/components/Callback/index.d.ts +1 -1
  5. package/dist/components/ContentTabs/ContentTabs.d.ts +1 -1
  6. package/dist/components/ContentTabs/ContentTabs.es.js +18 -23
  7. package/dist/components/Cursor/Cursor.d.ts +2 -0
  8. package/dist/components/Cursor/components/ServerCursor.d.ts +3 -1
  9. package/dist/components/FilterMenu/FilterMenu.d.ts +1 -1
  10. package/dist/components/FilterMenu/FilterMenu.es.js +17 -80
  11. package/dist/components/HighlightedTitle/HighlightedTitle.cjs.js +1 -1
  12. package/dist/components/HighlightedTitle/HighlightedTitle.es.js +6 -15
  13. package/dist/components/Icon/Icon.cjs.js +1 -1
  14. package/dist/components/Icon/Icon.es.js +2 -2
  15. package/dist/components/IconButton/IconButton.es.js +1 -9
  16. package/dist/components/InfiniteScroll/InfiniteScroll.es.js +3 -41
  17. package/dist/components/Label/Label.d.ts +1 -1
  18. package/dist/components/Label/Label.es.js +5 -23
  19. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  20. package/dist/components/ProductGallery/ProductGallery.es.js +1 -5
  21. package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -1
  22. package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +10 -62
  23. package/dist/components/ProductListing/ProductListing.d.ts +1 -1
  24. package/dist/components/ProgressButton/ProgressButton.d.ts +2 -2
  25. package/dist/components/ProgressButton/ProgressButton.es.js +5 -35
  26. package/dist/components/StepsCarousel/StepsCarousel.cjs.js +1 -0
  27. package/dist/components/StepsCarousel/StepsCarousel.d.ts +13 -0
  28. package/dist/components/StepsCarousel/StepsCarousel.es.js +71 -0
  29. package/dist/components/StepsCarousel/index.d.ts +1 -0
  30. package/dist/components/StepsCarousel/stepsCarousel.module.css.cjs.js +1 -0
  31. package/dist/components/StepsCarousel/stepsCarousel.module.css.es.js +31 -0
  32. package/dist/components/StudyGridCard/StudyGridCard.d.ts +1 -1
  33. package/dist/components/Tabs/Tabs.es.js +1 -8
  34. package/dist/components/Tabs/TabsWithFade.d.ts +1 -1
  35. package/dist/components/Tabs/TabsWithFade.es.js +2 -15
  36. package/dist/components/Tag/Tag.d.ts +1 -1
  37. package/dist/components/Tag/Tag.es.js +13 -27
  38. package/dist/components/TextButton/TextButton.es.js +1 -6
  39. package/dist/components/Typography/Typography.es.js +8 -21
  40. package/dist/components/index.d.ts +4 -3
  41. package/dist/healthspan-marketing-ui.css +1 -1
  42. package/dist/index.cjs.js +1 -1
  43. package/dist/index.es.js +53 -51
  44. package/dist/modules/Callback/Callback.d.ts +6 -0
  45. package/dist/modules/Callback/index.d.ts +1 -0
  46. package/dist/modules/Comparison/Comparison.d.ts +1 -1
  47. package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.d.ts +1 -1
  48. package/dist/modules/FeaturesGallery/FeaturesGallery.d.ts +1 -1
  49. package/dist/modules/FollowTheScience/FollowTheScience.d.ts +1 -1
  50. package/dist/modules/HowItWorks/HowItWorks.d.ts +1 -1
  51. package/dist/modules/OptimalHealth/OptimalHealth.d.ts +1 -1
  52. package/dist/modules/OurProcess/OurProcess.d.ts +3 -3
  53. package/dist/modules/ProductsDisplay/ProductsDisplay.cjs.js +1 -1
  54. package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -1
  55. package/dist/modules/ProductsDisplay/ProductsDisplay.es.js +5 -31
  56. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js +1 -1
  57. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -1
  58. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.es.js +5 -27
  59. package/dist/modules/ProductsDisplay/useProductsData.d.ts +1 -1
  60. package/dist/modules/ProductsDisplay/useProductsData.es.js +5 -12
  61. package/dist/modules/TotalCare/TotalCare.d.ts +1 -1
  62. package/dist/modules/TotalCare/TotalCare.es.js +4 -26
  63. package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
  64. package/dist/modules/YourProtocol/YourProtocol.es.js +3 -20
  65. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.cjs.js +1 -1
  66. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +9 -40
  67. package/dist/utils/useSwiper.d.ts +1 -0
  68. package/package.json +8 -4
  69. package/dist/modules/OurProcess/components/StepCards/StepCards.d.ts +0 -9
  70. package/dist/modules/OurProcess/components/StepCards/index.d.ts +0 -1
  71. package/dist/modules/OurProcess/types.d.ts +0 -5
@@ -1,4 +1,4 @@
1
- import { ButtonHTMLAttributes } from 'react';
1
+ import { default as React, ButtonHTMLAttributes } from 'react';
2
2
  import { TOrientation } from './types';
3
3
 
4
4
  export type PropgressButtonBaseProps = {
@@ -11,4 +11,4 @@ export type ProgressButtonProps = {
11
11
  left: ButtonHTMLAttributes<HTMLButtonElement>;
12
12
  right: ButtonHTMLAttributes<HTMLButtonElement>;
13
13
  };
14
- export declare const ProgressButton: ({ invert, left, right, }: ProgressButtonProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const ProgressButton: ({ invert, left, right }: ProgressButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -4,12 +4,7 @@ import { EIconName as r } from "../Icon/constants.es.js";
4
4
  import "react";
5
5
  import { Icon as l } from "../Icon/Icon.es.js";
6
6
  import o from "./progressButton.module.css.es.js";
7
- const a = ({
8
- orientation: s,
9
- icon: i,
10
- disabled: e = !1,
11
- onClick: c
12
- }) => /* @__PURE__ */ t.jsx(
7
+ const a = ({ orientation: s, icon: i, disabled: e = !1, onClick: c }) => /* @__PURE__ */ t.jsx(
13
8
  "button",
14
9
  {
15
10
  className: n(o.button, {
@@ -20,41 +15,16 @@ const a = ({
20
15
  onClick: c,
21
16
  children: /* @__PURE__ */ t.jsx("div", { className: o.iconWrap, children: /* @__PURE__ */ t.jsx(l, { name: i, className: o.icon }) })
22
17
  }
23
- ), u = ({
24
- invert: s = !1,
25
- left: i,
26
- right: e
27
- }) => /* @__PURE__ */ t.jsxs(
18
+ ), u = ({ invert: s = !1, left: i, right: e }) => /* @__PURE__ */ t.jsxs(
28
19
  "div",
29
20
  {
30
21
  className: n(o.root, {
31
22
  [o.inverted]: s
32
23
  }),
33
24
  children: [
34
- /* @__PURE__ */ t.jsx(
35
- a,
36
- {
37
- orientation: "left",
38
- icon: r.ARROW_BACK,
39
- disabled: i.disabled,
40
- onClick: i.onClick
41
- }
42
- ),
43
- /* @__PURE__ */ t.jsx(
44
- "div",
45
- {
46
- className: n(o.divider, { [o.inverted]: s })
47
- }
48
- ),
49
- /* @__PURE__ */ t.jsx(
50
- a,
51
- {
52
- orientation: "right",
53
- icon: r.ARROW_FORWARD,
54
- disabled: e.disabled,
55
- onClick: e.onClick
56
- }
57
- )
25
+ /* @__PURE__ */ t.jsx(a, { orientation: "left", icon: r.ARROW_BACK, disabled: i.disabled, onClick: i.onClick }),
26
+ /* @__PURE__ */ t.jsx("div", { className: n(o.divider, { [o.inverted]: s }) }),
27
+ /* @__PURE__ */ t.jsx(a, { orientation: "right", icon: r.ARROW_FORWARD, disabled: e.disabled, onClick: e.onClick })
58
28
  ]
59
29
  }
60
30
  );
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.cjs.js"),c=require("react"),u=require("../../utils/cn.cjs.js"),p=require("../Label/Label.cjs.js"),j=require("../ProgressButton/ProgressButton.cjs.js"),d=require("../Typography/Typography.cjs.js"),t=require("./stepsCarousel.module.css.cjs.js"),f=({steps:m,colorScheme:i})=>{const[r,l]=c.useState(0),n=c.useRef([]);return c.useEffect(()=>{var s;n.current[r]&&((s=n.current[r])==null||s.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"}))},[r]),e.jsxRuntimeExports.jsxs("div",{className:t.default.root,"data-scheme":i,children:[e.jsxRuntimeExports.jsx("div",{className:t.default.stepsContainer,"data-scheme":i,children:m.map((s,a)=>{const o=r===a;return e.jsxRuntimeExports.jsxs("button",{ref:x=>{n.current.splice(a,1,x)},className:u.cn(t.default.card,o&&t.default.cardActive),onClick:()=>l(a),type:"button",children:[e.jsxRuntimeExports.jsx("div",{className:u.cn(t.default.imageWrapper,o&&t.default.imageWrapperActive),children:e.jsxRuntimeExports.jsx("img",{src:s.image,alt:s.title,className:t.default.image})}),e.jsxRuntimeExports.jsx("div",{className:t.default.stepLabel,children:o?e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsxs(p.Label,{size:"lg",className:t.default.desktop,color:i==="dark"?"white":"black",children:["Step ",a+1]}),e.jsxRuntimeExports.jsxs(p.Label,{size:"sm",className:t.default.mobile,color:i==="dark"?"white":"black",children:["Step ",a+1]})]}):e.jsxRuntimeExports.jsxs(d.Typography,{defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,className:t.default.labelText,children:["Step ",a+1]})}),e.jsxRuntimeExports.jsxs("div",{className:t.default.textContainer,children:[e.jsxRuntimeExports.jsx(d.Typography,{as:"h3",defaultVariant:"headingXs",mobileVariant:"headingXxs",children:s.title}),s.description&&e.jsxRuntimeExports.jsx(d.Typography,{as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",className:t.default.cardDescription,children:s.description})]})]},`step-${a}`)})}),e.jsxRuntimeExports.jsx("div",{className:u.cn(t.default.mobile,t.default.progressButtonContainer),children:e.jsxRuntimeExports.jsx(j.ProgressButton,{invert:i==="dark",left:{disabled:r<=0,onClick:()=>l(s=>s-1)},right:{disabled:r>=m.length-1,onClick:()=>l(s=>s+1)}})})]})};exports.StepsCarousel=f;
@@ -0,0 +1,13 @@
1
+ import { TColorScheme } from '../../types/common';
2
+
3
+ export type TStepsCarouselView = Array<{
4
+ title: string;
5
+ image: string;
6
+ description?: string;
7
+ }>;
8
+ type StepsCarouselProps = {
9
+ steps: TStepsCarouselView;
10
+ colorScheme: TColorScheme;
11
+ };
12
+ export declare const StepsCarousel: ({ steps, colorScheme }: StepsCarouselProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,71 @@
1
+ import { j as e } from "../../_virtual/jsx-runtime.es.js";
2
+ import { useState as b, useRef as u, useEffect as f } from "react";
3
+ import { cn as o } from "../../utils/cn.es.js";
4
+ import { Label as p } from "../Label/Label.es.js";
5
+ import { ProgressButton as j } from "../ProgressButton/ProgressButton.es.js";
6
+ import { Typography as m } from "../Typography/Typography.es.js";
7
+ import s from "./stepsCarousel.module.css.es.js";
8
+ const y = ({ steps: d, colorScheme: i }) => {
9
+ const [r, l] = b(0), c = u([]);
10
+ return f(() => {
11
+ var a;
12
+ c.current[r] && ((a = c.current[r]) == null || a.scrollIntoView({
13
+ behavior: "smooth",
14
+ inline: "center",
15
+ block: "nearest"
16
+ }));
17
+ }, [r]), /* @__PURE__ */ e.jsxs("div", { className: s.root, "data-scheme": i, children: [
18
+ /* @__PURE__ */ e.jsx("div", { className: s.stepsContainer, "data-scheme": i, children: d.map((a, t) => {
19
+ const n = r === t;
20
+ return /* @__PURE__ */ e.jsxs(
21
+ "button",
22
+ {
23
+ ref: (h) => {
24
+ c.current.splice(t, 1, h);
25
+ },
26
+ className: o(s.card, n && s.cardActive),
27
+ onClick: () => l(t),
28
+ type: "button",
29
+ children: [
30
+ /* @__PURE__ */ e.jsx("div", { className: o(s.imageWrapper, n && s.imageWrapperActive), children: /* @__PURE__ */ e.jsx("img", { src: a.image, alt: a.title, className: s.image }) }),
31
+ /* @__PURE__ */ e.jsx("div", { className: s.stepLabel, children: n ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
32
+ /* @__PURE__ */ e.jsxs(p, { size: "lg", className: s.desktop, color: i === "dark" ? "white" : "black", children: [
33
+ "Step ",
34
+ t + 1
35
+ ] }),
36
+ /* @__PURE__ */ e.jsxs(p, { size: "sm", className: s.mobile, color: i === "dark" ? "white" : "black", children: [
37
+ "Step ",
38
+ t + 1
39
+ ] })
40
+ ] }) : /* @__PURE__ */ e.jsxs(m, { defaultVariant: "labelSm", mobileVariant: "labelXs", emphasis: !0, className: s.labelText, children: [
41
+ "Step ",
42
+ t + 1
43
+ ] }) }),
44
+ /* @__PURE__ */ e.jsxs("div", { className: s.textContainer, children: [
45
+ /* @__PURE__ */ e.jsx(m, { as: "h3", defaultVariant: "headingXs", mobileVariant: "headingXxs", children: a.title }),
46
+ a.description && /* @__PURE__ */ e.jsx(m, { as: "p", defaultVariant: "bodyMd", mobileVariant: "bodySm", className: s.cardDescription, children: a.description })
47
+ ] })
48
+ ]
49
+ },
50
+ `step-${t}`
51
+ );
52
+ }) }),
53
+ /* @__PURE__ */ e.jsx("div", { className: o(s.mobile, s.progressButtonContainer), children: /* @__PURE__ */ e.jsx(
54
+ j,
55
+ {
56
+ invert: i === "dark",
57
+ left: {
58
+ disabled: r <= 0,
59
+ onClick: () => l((a) => a - 1)
60
+ },
61
+ right: {
62
+ disabled: r >= d.length - 1,
63
+ onClick: () => l((a) => a + 1)
64
+ }
65
+ }
66
+ ) })
67
+ ] });
68
+ };
69
+ export {
70
+ y as StepsCarousel
71
+ };
@@ -0,0 +1 @@
1
+ export { StepsCarousel, type TStepsCarouselView } from './StepsCarousel';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="stepsCarousel-module__root___VidW7",t="stepsCarousel-module__stepsContainer___yWhtm",s="stepsCarousel-module__card___16wd3",o="stepsCarousel-module__imageWrapper___WCmbp",_="stepsCarousel-module__image___RY9-R",r="stepsCarousel-module__cardActive___xdGR8",a="stepsCarousel-module__stepLabel___jnL1f",l="stepsCarousel-module__labelText___TC392",n="stepsCarousel-module__textContainer___l--dI",p="stepsCarousel-module__cardDescription___oPSgY",i="stepsCarousel-module__mobile___4s-pE",d="stepsCarousel-module__progressButtonContainer___PdL6N",c="stepsCarousel-module__desktop___awZBc",u={root:e,stepsContainer:t,card:s,imageWrapper:o,image:_,cardActive:r,stepLabel:a,labelText:l,textContainer:n,cardDescription:p,mobile:i,progressButtonContainer:d,desktop:c};exports.card=s;exports.cardActive=r;exports.cardDescription=p;exports.default=u;exports.desktop=c;exports.image=_;exports.imageWrapper=o;exports.labelText=l;exports.mobile=i;exports.progressButtonContainer=d;exports.root=e;exports.stepLabel=a;exports.stepsContainer=t;exports.textContainer=n;
@@ -0,0 +1,31 @@
1
+ const e = "stepsCarousel-module__root___VidW7", s = "stepsCarousel-module__stepsContainer___yWhtm", t = "stepsCarousel-module__card___16wd3", o = "stepsCarousel-module__imageWrapper___WCmbp", _ = "stepsCarousel-module__image___RY9-R", r = "stepsCarousel-module__cardActive___xdGR8", a = "stepsCarousel-module__stepLabel___jnL1f", l = "stepsCarousel-module__labelText___TC392", n = "stepsCarousel-module__textContainer___l--dI", p = "stepsCarousel-module__cardDescription___oPSgY", d = "stepsCarousel-module__mobile___4s-pE", c = "stepsCarousel-module__progressButtonContainer___PdL6N", u = "stepsCarousel-module__desktop___awZBc", i = {
2
+ root: e,
3
+ stepsContainer: s,
4
+ card: t,
5
+ imageWrapper: o,
6
+ image: _,
7
+ cardActive: r,
8
+ stepLabel: a,
9
+ labelText: l,
10
+ textContainer: n,
11
+ cardDescription: p,
12
+ mobile: d,
13
+ progressButtonContainer: c,
14
+ desktop: u
15
+ };
16
+ export {
17
+ t as card,
18
+ r as cardActive,
19
+ p as cardDescription,
20
+ i as default,
21
+ u as desktop,
22
+ _ as image,
23
+ o as imageWrapper,
24
+ l as labelText,
25
+ d as mobile,
26
+ c as progressButtonContainer,
27
+ e as root,
28
+ a as stepLabel,
29
+ s as stepsContainer,
30
+ n as textContainer
31
+ };
@@ -9,4 +9,4 @@ export type StudyGridCardProps = {
9
9
  readTime: number;
10
10
  link: string;
11
11
  };
12
- export declare function StudyGridCard({ title, link, inverted, image, date, label, readTime, }: StudyGridCardProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function StudyGridCard({ title, link, inverted, image, date, label, readTime }: StudyGridCardProps): import("react/jsx-runtime").JSX.Element;
@@ -3,14 +3,7 @@ import { forwardRef as f } from "react";
3
3
  import { cn as x } from "../../utils/cn.es.js";
4
4
  import { Icon as l } from "../Icon/Icon.es.js";
5
5
  import s from "./tabs.module.css.es.js";
6
- function p({
7
- activeTab: n,
8
- tabs: o,
9
- onTabClick: c,
10
- size: r = "sm",
11
- activeLinePosition: m = "bottom",
12
- inverted: a
13
- }, d) {
6
+ function p({ activeTab: n, tabs: o, onTabClick: c, size: r = "sm", activeLinePosition: m = "bottom", inverted: a }, d) {
14
7
  return /* @__PURE__ */ i.jsx("div", { ref: d, className: s.container, children: o.map((e) => /* @__PURE__ */ i.jsxs(
15
8
  "button",
16
9
  {
@@ -5,5 +5,5 @@ type Props<T extends string | number> = {
5
5
  activeTab: T;
6
6
  onTabChange: (tab: T) => void;
7
7
  };
8
- export declare function TabsWithFade<T extends string>({ tabs, activeTab, onTabChange, }: Props<T>): import("react/jsx-runtime").JSX.Element;
8
+ export declare function TabsWithFade<T extends string>({ tabs, activeTab, onTabChange }: Props<T>): import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -3,11 +3,7 @@ import { useRef as h, useState as i, useCallback as u, useEffect as p } from "re
3
3
  import { cn as w } from "../../utils/cn.es.js";
4
4
  import { Tabs as L } from "./Tabs.es.js";
5
5
  import s from "./tabs.module.css.es.js";
6
- function j({
7
- tabs: n,
8
- activeTab: l,
9
- onTabChange: c
10
- }) {
6
+ function j({ tabs: n, activeTab: l, onTabChange: c }) {
11
7
  const r = h(null), [a, f] = i(!1), [m, d] = i(!1), t = u(() => {
12
8
  const e = r.current;
13
9
  e && (f(e.scrollLeft > 0), d(e.scrollLeft + e.clientWidth < e.scrollWidth));
@@ -25,16 +21,7 @@ function j({
25
21
  [s.showFadeLeft]: a,
26
22
  [s.showFadeRight]: m
27
23
  }),
28
- children: /* @__PURE__ */ o.jsx("div", { ref: r, className: s.tabsTape, children: /* @__PURE__ */ o.jsx(
29
- L,
30
- {
31
- activeTab: l,
32
- tabs: n,
33
- size: "lg",
34
- activeLinePosition: "bottom",
35
- onTabClick: c
36
- }
37
- ) })
24
+ children: /* @__PURE__ */ o.jsx("div", { ref: r, className: s.tabsTape, children: /* @__PURE__ */ o.jsx(L, { activeTab: l, tabs: n, size: "lg", activeLinePosition: "bottom", onTabClick: c }) })
38
25
  }
39
26
  );
40
27
  }
@@ -12,5 +12,5 @@ type Props = {
12
12
  iconPosition?: 'left' | 'right';
13
13
  onClick: (value: string) => void;
14
14
  };
15
- export declare const Tag: ({ value, children, active, disabled, size, prefixIcon, suffixIcon, onClick, }: Props) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const Tag: ({ value, children, active, disabled, size, prefixIcon, suffixIcon, onClick }: Props) => import("react/jsx-runtime").JSX.Element;
16
16
  export {};
@@ -1,35 +1,21 @@
1
1
  import { j as s } from "../../_virtual/jsx-runtime.es.js";
2
- import t from "../../styles/typography.module.css.es.js";
3
- import { cn as d } from "../../utils/cn.es.js";
2
+ import o from "../../styles/typography.module.css.es.js";
3
+ import { cn as j } from "../../utils/cn.es.js";
4
4
  import { Icon as e } from "../Icon/Icon.es.js";
5
- import r from "./tag.module.css.es.js";
6
- const j = {
7
- md: t.labelMd,
8
- lg: t.labelLg
9
- }, S = ({
10
- value: n,
11
- children: c,
12
- active: l,
13
- disabled: i,
14
- size: a = "md",
15
- prefixIcon: m,
16
- suffixIcon: o,
17
- onClick: p
18
- }) => /* @__PURE__ */ s.jsx(
5
+ import m from "./tag.module.css.es.js";
6
+ const p = {
7
+ md: o.labelMd,
8
+ lg: o.labelLg
9
+ }, S = ({ value: l, children: n, active: c, disabled: i, size: r = "md", prefixIcon: t, suffixIcon: a, onClick: d }) => /* @__PURE__ */ s.jsx(
19
10
  "button",
20
11
  {
21
- className: d(
22
- r.tag,
23
- j[a],
24
- { [r.active]: l },
25
- r[a]
26
- ),
12
+ className: j(m.tag, p[r], { [m.active]: c }, m[r]),
27
13
  disabled: i,
28
- onClick: () => p(n),
29
- children: /* @__PURE__ */ s.jsxs("div", { className: r.content, children: [
30
- m && /* @__PURE__ */ s.jsx("div", { className: r.iconWrap, children: /* @__PURE__ */ s.jsx(e, { name: m }) }),
31
- /* @__PURE__ */ s.jsx("p", { children: c }),
32
- o && /* @__PURE__ */ s.jsx("div", { className: r.iconWrap, children: /* @__PURE__ */ s.jsx(e, { name: o }) })
14
+ onClick: () => d(l),
15
+ children: /* @__PURE__ */ s.jsxs("div", { className: m.content, children: [
16
+ t && /* @__PURE__ */ s.jsx("div", { className: m.iconWrap, children: /* @__PURE__ */ s.jsx(e, { name: t }) }),
17
+ /* @__PURE__ */ s.jsx("p", { children: n }),
18
+ a && /* @__PURE__ */ s.jsx("div", { className: m.iconWrap, children: /* @__PURE__ */ s.jsx(e, { name: a }) })
33
19
  ] })
34
20
  }
35
21
  );
@@ -18,12 +18,7 @@ const f = ({
18
18
  i,
19
19
  {
20
20
  ...d,
21
- className: v(
22
- t.button,
23
- x,
24
- j,
25
- p
26
- ),
21
+ className: v(t.button, x, j, p),
27
22
  disabled: e,
28
23
  "data-hide-on": l,
29
24
  children: /* @__PURE__ */ s.jsxs("div", { className: t.content, children: [
@@ -1,35 +1,22 @@
1
- import { j as y } from "../../_virtual/jsx-runtime.es.js";
1
+ import { j as C } from "../../_virtual/jsx-runtime.es.js";
2
2
  import t from "../../styles/typography.module.css.es.js";
3
- import { cn as C } from "../../utils/cn.es.js";
3
+ import { cn as y } from "../../utils/cn.es.js";
4
4
  import { getMemoizedColorStyles as g } from "./Typography.service.es.js";
5
5
  const u = ({
6
6
  defaultVariant: o,
7
- children: l,
7
+ children: a,
8
8
  className: m = "",
9
9
  weight: e,
10
- emphasis: r = !1,
10
+ emphasis: l = !1,
11
11
  as: i = "span",
12
- mobileVariant: a,
12
+ mobileVariant: r,
13
13
  color: p
14
14
  }) => {
15
15
  const c = t[o] || "";
16
16
  let s = e;
17
- r && !e && (s = "medium");
18
- const n = s ? t[`weight${s.charAt(0).toUpperCase()}${s.slice(1)}`] : "", h = o.startsWith("label") && r ? t.labelEmphasis : "", f = a ? t[`mobile__${a}`] : "";
19
- return /* @__PURE__ */ y.jsx(
20
- i,
21
- {
22
- style: g(p),
23
- className: C(
24
- c,
25
- n,
26
- h,
27
- f,
28
- m
29
- ),
30
- children: l
31
- }
32
- );
17
+ l && !e && (s = "medium");
18
+ const n = s ? t[`weight${s.charAt(0).toUpperCase()}${s.slice(1)}`] : "", f = o.startsWith("label") && l ? t.labelEmphasis : "", h = r ? t[`mobile__${r}`] : "";
19
+ return /* @__PURE__ */ C.jsx(i, { style: g(p), className: y(c, n, f, h, m), children: a });
33
20
  };
34
21
  export {
35
22
  u as Typography
@@ -1,5 +1,3 @@
1
- export { Typography } from './Typography';
2
- export type { TypographyVariant, TypographyProps } from './Typography';
3
1
  export { Button } from './Button';
4
2
  export { Label } from './Label';
5
3
  export type { LabelColor } from './Label';
@@ -13,7 +11,7 @@ export { Icon, EIconName } from './Icon';
13
11
  export { ProductGalleryCard } from './ProductGalleryCard';
14
12
  export type { TProductGalleryCardView } from './ProductGalleryCard';
15
13
  export { HighlightedTitle } from './HighlightedTitle';
16
- export { Callback } from './Callback';
14
+ export { Callback, type CallbackProps } from './Callback';
17
15
  export { IconButton } from './IconButton';
18
16
  export type { CallbackSize } from './Callback';
19
17
  export { FilterMenu } from './FilterMenu';
@@ -24,3 +22,6 @@ export type { TProductGalleryProps } from './ProductGallery';
24
22
  export { ProgressButton } from './ProgressButton';
25
23
  export type { ProgressButtonProps } from './ProgressButton';
26
24
  export { TextButton } from './TextButton';
25
+ export { Typography } from './Typography';
26
+ export type { TypographyVariant, TypographyProps } from './Typography';
27
+ export { StepsCarousel, type TStepsCarouselView } from './StepsCarousel';