@zenpatient-org/healthspan-marketing-ui 0.1.22 → 0.1.23

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 (77) hide show
  1. package/README.md +11 -1
  2. package/dist/components/Button/Button.es.js +24 -6
  3. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js +1 -1
  4. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js +17 -15
  5. package/dist/components/FilterMenu/FilterMenu.d.ts +1 -1
  6. package/dist/components/FilterMenu/FilterMenu.es.js +17 -2
  7. package/dist/components/InfiniteScroll/InfiniteScroll.es.js +9 -1
  8. package/dist/components/Label/Label.es.js +9 -1
  9. package/dist/components/Pricing/Pricing.cjs.js +1 -0
  10. package/dist/components/Pricing/Pricing.d.ts +3 -0
  11. package/dist/components/Pricing/Pricing.es.js +41 -0
  12. package/dist/components/Pricing/components/BenefitItem/BenefitItem.cjs.js +1 -0
  13. package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +8 -0
  14. package/dist/components/Pricing/components/BenefitItem/BenefitItem.es.js +10 -0
  15. package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
  16. package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.es.js +7 -0
  17. package/dist/components/Pricing/components/BenefitItem/index.d.ts +1 -0
  18. package/dist/components/Pricing/components/index.d.ts +1 -0
  19. package/dist/components/Pricing/index.d.ts +2 -0
  20. package/dist/components/Pricing/pricing.module.css.cjs.js +1 -0
  21. package/dist/components/Pricing/pricing.module.css.es.js +25 -0
  22. package/dist/components/Pricing/types.d.ts +17 -0
  23. package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -1
  24. package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +24 -3
  25. package/dist/components/ProgressButton/ProgressButton.es.js +9 -1
  26. package/dist/components/StepsCarousel/StepsCarousel.es.js +47 -13
  27. package/dist/components/StudyGridCard/StudyGridCard.es.js +36 -6
  28. package/dist/components/Tabs/TabsWithFade.es.js +10 -1
  29. package/dist/components/Typography/Typography.es.js +8 -1
  30. package/dist/healthspan-marketing-ui.css +1 -1
  31. package/dist/modules/Benefits/Benefits.es.js +3 -26
  32. package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +3 -27
  33. package/dist/modules/Benefits/components/BenefitTag/BenefitTag.es.js +1 -10
  34. package/dist/modules/Compare/Compare.d.ts +3 -0
  35. package/dist/modules/Compare/index.d.ts +1 -0
  36. package/dist/modules/Compare/types.d.ts +9 -0
  37. package/dist/modules/Comparison/Comparison.es.js +20 -5
  38. package/dist/modules/FeaturedIn/FeaturedIn.es.js +14 -5
  39. package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +9 -1
  40. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +32 -17
  41. package/dist/modules/FollowTheScience/FollowTheScience.es.js +21 -2
  42. package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -1
  43. package/dist/modules/OptimalHealth/OptimalHealth.es.js +6 -6
  44. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -1
  45. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +53 -31
  46. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -1
  47. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +25 -5
  48. package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -1
  49. package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +17 -15
  50. package/dist/modules/OurProcess/OurProcess.cjs.js +1 -1
  51. package/dist/modules/OurProcess/OurProcess.d.ts +3 -2
  52. package/dist/modules/OurProcess/OurProcess.es.js +17 -8
  53. package/dist/modules/PairedProducts/PairedProducts.cjs.js +1 -1
  54. package/dist/modules/PairedProducts/PairedProducts.d.ts +2 -2
  55. package/dist/modules/PairedProducts/PairedProducts.es.js +1 -1
  56. package/dist/modules/TypesOfTests/TypesOfTests.cjs.js +1 -1
  57. package/dist/modules/TypesOfTests/TypesOfTests.es.js +86 -47
  58. package/dist/modules/TypesOfTests/types.d.ts +4 -0
  59. package/dist/modules/TypesOfTests/typesOfTests.module.css.cjs.js +1 -1
  60. package/dist/modules/TypesOfTests/typesOfTests.module.css.es.js +14 -12
  61. package/dist/modules/YourProtocol/YourProtocol.es.js +19 -2
  62. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +18 -5
  63. package/dist/node_modules/gsap/CSSPlugin.cjs.js +8 -0
  64. package/dist/node_modules/gsap/CSSPlugin.es.js +423 -0
  65. package/dist/node_modules/gsap/Observer.cjs.js +8 -0
  66. package/dist/node_modules/gsap/Observer.es.js +242 -0
  67. package/dist/node_modules/gsap/ScrollTrigger.cjs.js +8 -0
  68. package/dist/node_modules/gsap/ScrollTrigger.es.js +859 -0
  69. package/dist/node_modules/gsap/gsap-core.cjs.js +8 -0
  70. package/dist/node_modules/gsap/gsap-core.es.js +1651 -0
  71. package/dist/node_modules/gsap/index.cjs.js +1 -0
  72. package/dist/node_modules/gsap/index.es.js +13 -0
  73. package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.d.ts +1 -0
  74. package/dist/pageComponents/StillHaveQuestions/index.d.ts +1 -0
  75. package/package.json +39 -4
  76. package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +0 -1
  77. package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +0 -13
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./gsap-core.cjs.js"),n=require("./CSSPlugin.cjs.js");var i=e.gsap.registerPlugin(n.CSSPlugin)||e.gsap;i.core.Tween;exports.TimelineLite=e.Timeline;exports.TimelineMax=e.Timeline;exports.TweenLite=e.Tween;exports.CSSPlugin=n.CSSPlugin;exports.default=i;exports.gsap=i;
@@ -0,0 +1,13 @@
1
+ import { gsap as e } from "./gsap-core.es.js";
2
+ import { Timeline as t, Timeline as o, Tween as l } from "./gsap-core.es.js";
3
+ import { CSSPlugin as i } from "./CSSPlugin.es.js";
4
+ var a = e.registerPlugin(i) || e;
5
+ a.core.Tween;
6
+ export {
7
+ i as CSSPlugin,
8
+ t as TimelineLite,
9
+ o as TimelineMax,
10
+ l as TweenLite,
11
+ a as default,
12
+ a as gsap
13
+ };
@@ -0,0 +1 @@
1
+ export declare function StillHaveQuestions(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { StillHaveQuestions } from './StillHaveQuestions';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -9,13 +9,23 @@
9
9
  "dist"
10
10
  ],
11
11
  "scripts": {
12
- "dev": "vite",
12
+ "dev": "storybook dev -p 6006",
13
13
  "build": "vite build",
14
14
  "preview": "vite preview",
15
15
  "storybook": "storybook dev -p 6006",
16
16
  "build-storybook": "storybook build",
17
- "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
18
- "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix"
17
+ "type-check": "tsc --noEmit",
18
+ "lint": "eslint src",
19
+ "lint:fix": "eslint src --fix",
20
+ "format": "prettier --write .",
21
+ "check-format": "prettier --check .",
22
+ "prepare": "husky"
23
+ },
24
+ "lint-staged": {
25
+ "*.{ts,tsx,js,jsx}": [
26
+ "eslint --fix",
27
+ "prettier --write"
28
+ ]
19
29
  },
20
30
  "license": "MIT",
21
31
  "peerDependencies": {
@@ -35,9 +45,13 @@
35
45
  "@vitejs/plugin-react": "^4.4.1",
36
46
  "chromatic": "^11.28.2",
37
47
  "eslint": "^9.28.0",
48
+ "eslint-config-prettier": "^10.1.5",
38
49
  "eslint-plugin-react": "^7.37.5",
39
50
  "globals": "^16.2.0",
51
+ "husky": "^9.1.7",
52
+ "lint-staged": "^16.1.0",
40
53
  "postcss": "^8.5.3",
54
+ "prettier": "^3.5.3",
41
55
  "rollup-preserve-directives": "^1.1.3",
42
56
  "storybook": "^8.6.12",
43
57
  "typescript": "^5.8.3",
@@ -48,6 +62,7 @@
48
62
  },
49
63
  "dependencies": {
50
64
  "@types/node": "^22.15.14",
65
+ "gsap": "^3.13.0",
51
66
  "react-tiny-popover": "^8.1.6",
52
67
  "swiper": "^11.2.8"
53
68
  },
@@ -267,6 +282,26 @@
267
282
  "import": "./dist/modules/Benefits/Benefits.es.js",
268
283
  "require": "./dist/modules/Benefits/Benefits.cjs.js"
269
284
  },
285
+ "./Pricing": {
286
+ "types": "./dist/components/Pricing/Pricing.d.ts",
287
+ "import": "./dist/components/Pricing/Pricing.es.js",
288
+ "require": "./dist/components/Pricing/Pricing.cjs.js"
289
+ },
290
+ "./TypesOfTests": {
291
+ "types": "./dist/modules/TypesOfTests/TypesOfTests.d.ts",
292
+ "import": "./dist/modules/TypesOfTests/TypesOfTests.es.js",
293
+ "require": "./dist/modules/TypesOfTests/TypesOfTests.cjs.js"
294
+ },
295
+ "./PairedProducts": {
296
+ "types": "./dist/modules/PairedProducts/PairedProducts.d.ts",
297
+ "import": "./dist/modules/PairedProducts/PairedProducts.es.js",
298
+ "require": "./dist/modules/PairedProducts/PairedProducts.cjs.js"
299
+ },
300
+ "./ProductPairs": {
301
+ "types": "./dist/components/ProductPairs/ProductPairs.d.ts",
302
+ "import": "./dist/components/ProductPairs/ProductPairs.es.js",
303
+ "require": "./dist/components/ProductPairs/ProductPairs.cjs.js"
304
+ },
270
305
  "./dist/*.css": "./dist/*.css"
271
306
  }
272
307
  }
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),i=e=>e&&window.innerWidth<=768?280:480;function o(){const e=typeof window<"u",[s,r]=t.useState(i(e));return t.useEffect(()=>{if(!e)return;const n=()=>r(i(e));return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),s}exports.useResponsiveRadius=o;
@@ -1,13 +0,0 @@
1
- import { useState as r, useEffect as o } from "react";
2
- const t = (e) => e && window.innerWidth <= 768 ? 280 : 480;
3
- function u() {
4
- const e = typeof window < "u", [i, s] = r(t(e));
5
- return o(() => {
6
- if (!e) return;
7
- const n = () => s(t(e));
8
- return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
9
- }, [e]), i;
10
- }
11
- export {
12
- u as useResponsiveRadius
13
- };