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

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/StudyGridCard/StudyGridCard.d.ts +1 -1
  27. package/dist/components/Tabs/Tabs.es.js +1 -8
  28. package/dist/components/Tabs/TabsWithFade.d.ts +1 -1
  29. package/dist/components/Tabs/TabsWithFade.es.js +2 -15
  30. package/dist/components/Tag/Tag.d.ts +1 -1
  31. package/dist/components/Tag/Tag.es.js +13 -27
  32. package/dist/components/TextButton/TextButton.es.js +1 -6
  33. package/dist/components/Typography/Typography.es.js +8 -21
  34. package/dist/components/index.d.ts +3 -3
  35. package/dist/index.cjs.js +1 -1
  36. package/dist/index.es.js +39 -39
  37. package/dist/modules/Callback/Callback.d.ts +6 -0
  38. package/dist/modules/Callback/index.d.ts +1 -0
  39. package/dist/modules/Comparison/Comparison.d.ts +1 -1
  40. package/dist/modules/Comparison/components/ComparisonMobileView/ComparisonMobileView.d.ts +1 -1
  41. package/dist/modules/FeaturesGallery/FeaturesGallery.d.ts +1 -1
  42. package/dist/modules/FollowTheScience/FollowTheScience.d.ts +1 -1
  43. package/dist/modules/HowItWorks/HowItWorks.d.ts +1 -1
  44. package/dist/modules/OptimalHealth/OptimalHealth.d.ts +1 -1
  45. package/dist/modules/OurProcess/OurProcess.d.ts +1 -1
  46. package/dist/modules/ProductsDisplay/ProductsDisplay.cjs.js +1 -1
  47. package/dist/modules/ProductsDisplay/ProductsDisplay.d.ts +1 -1
  48. package/dist/modules/ProductsDisplay/ProductsDisplay.es.js +5 -31
  49. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.cjs.js +1 -1
  50. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.d.ts +1 -1
  51. package/dist/modules/ProductsDisplay/components/ProductsDisplayTabs/ProductsDisplayTabs.es.js +5 -27
  52. package/dist/modules/ProductsDisplay/useProductsData.d.ts +1 -1
  53. package/dist/modules/ProductsDisplay/useProductsData.es.js +5 -12
  54. package/dist/modules/TotalCare/TotalCare.d.ts +1 -1
  55. package/dist/modules/TotalCare/TotalCare.es.js +4 -26
  56. package/dist/modules/YourProtocol/YourProtocol.cjs.js +1 -1
  57. package/dist/modules/YourProtocol/YourProtocol.es.js +3 -20
  58. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.cjs.js +1 -1
  59. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +9 -40
  60. package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +12 -4
  61. package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +550 -193
  62. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js +9 -0
  63. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +28 -0
  64. package/dist/node_modules/react/jsx-runtime.cjs.js +1 -1
  65. package/dist/node_modules/react/jsx-runtime.es.js +3 -3
  66. package/dist/utils/useSwiper.d.ts +1 -0
  67. package/package.json +11 -7
  68. package/dist/node_modules/react/cjs/react-jsx-runtime.production.cjs.js +0 -9
  69. package/dist/node_modules/react/cjs/react-jsx-runtime.production.es.js +0 -35
  70. /package/dist/_virtual/{react-jsx-runtime.production.cjs.js → react-jsx-runtime.production.min.cjs.js} +0 -0
  71. /package/dist/_virtual/{react-jsx-runtime.production.es.js → react-jsx-runtime.production.min.es.js} +0 -0
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../_virtual/react-jsx-runtime.production.min.cjs.js"),R=require("react");/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var p;function a(){if(p)return t.__exports;p=1;var f=R,c=Symbol.for("react.element"),l=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y={key:!0,ref:!0,__self:!0,__source:!0};function u(o,e,i){var r,n={},_=null,s=null;i!==void 0&&(_=""+i),e.key!==void 0&&(_=""+e.key),e.ref!==void 0&&(s=e.ref);for(r in e)d.call(e,r)&&!y.hasOwnProperty(r)&&(n[r]=e[r]);if(o&&o.defaultProps)for(r in e=o.defaultProps,e)n[r]===void 0&&(n[r]=e[r]);return{$$typeof:c,type:o,key:_,ref:s,props:n,_owner:m.current}}return t.__exports.Fragment=l,t.__exports.jsx=u,t.__exports.jsxs=u,t.__exports}exports.__require=a;
@@ -0,0 +1,28 @@
1
+ import { __exports as t } from "../../../_virtual/react-jsx-runtime.production.min.es.js";
2
+ import R from "react";
3
+ /**
4
+ * @license React
5
+ * react-jsx-runtime.production.min.js
6
+ *
7
+ * Copyright (c) Facebook, Inc. and its affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var p;
13
+ function v() {
14
+ if (p) return t;
15
+ p = 1;
16
+ var s = R, m = Symbol.for("react.element"), l = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, a = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function u(o, r, i) {
18
+ var e, n = {}, _ = null, f = null;
19
+ i !== void 0 && (_ = "" + i), r.key !== void 0 && (_ = "" + r.key), r.ref !== void 0 && (f = r.ref);
20
+ for (e in r) c.call(r, e) && !d.hasOwnProperty(e) && (n[e] = r[e]);
21
+ if (o && o.defaultProps) for (e in r = o.defaultProps, r) n[e] === void 0 && (n[e] = r[e]);
22
+ return { $$typeof: m, type: o, key: _, ref: f, props: n, _owner: a.current };
23
+ }
24
+ return t.Fragment = l, t.jsx = u, t.jsxs = u, t;
25
+ }
26
+ export {
27
+ v as __require
28
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.cjs2.js"),t=require("./cjs/react-jsx-runtime.production.cjs.js"),u=require("./cjs/react-jsx-runtime.development.cjs.js");var r;function o(){return r||(r=1,process.env.NODE_ENV==="production"?e.__module.exports=t.__require():e.__module.exports=u.__require()),e.__module.exports}exports.__require=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_virtual/jsx-runtime.cjs2.js"),t=require("./cjs/react-jsx-runtime.production.min.cjs.js"),u=require("./cjs/react-jsx-runtime.development.cjs.js");var r;function i(){return r||(r=1,process.env.NODE_ENV==="production"?e.__module.exports=t.__require():e.__module.exports=u.__require()),e.__module.exports}exports.__require=i;
@@ -1,9 +1,9 @@
1
1
  import { __module as e } from "../../_virtual/jsx-runtime.es2.js";
2
- import { __require as t } from "./cjs/react-jsx-runtime.production.es.js";
3
- import { __require as i } from "./cjs/react-jsx-runtime.development.es.js";
2
+ import { __require as i } from "./cjs/react-jsx-runtime.production.min.es.js";
3
+ import { __require as t } from "./cjs/react-jsx-runtime.development.es.js";
4
4
  var r;
5
5
  function m() {
6
- return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = t() : e.exports = i(), e.exports);
6
+ return r ? e.exports : (r = 1, process.env.NODE_ENV === "production" ? e.exports = i() : e.exports = t(), e.exports);
7
7
  }
8
8
  export {
9
9
  m as __require
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { Swiper as SwiperType } from 'swiper';
2
3
 
3
4
  export type UseSwiperReturnProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenpatient-org/healthspan-marketing-ui",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "Design system",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -14,16 +14,16 @@
14
14
  "preview": "vite preview",
15
15
  "storybook": "storybook dev -p 6006",
16
16
  "build-storybook": "storybook build",
17
- "lint": "biome check .",
18
- "format": "biome format . --write"
17
+ "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
18
+ "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix"
19
19
  },
20
20
  "license": "MIT",
21
21
  "peerDependencies": {
22
- "react": "^18.0.0 || ^19.0.0",
23
- "react-dom": "^18.0.0 || ^19.0.0"
22
+ "react": "^18.0.0",
23
+ "react-dom": "^18.0.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@biomejs/biome": "^1.9.4",
26
+ "@eslint/js": "^9.28.0",
27
27
  "@storybook/addon-essentials": "^8.6.12",
28
28
  "@storybook/addon-interactions": "^8.6.12",
29
29
  "@storybook/addon-onboarding": "^8.6.12",
@@ -31,12 +31,16 @@
31
31
  "@storybook/react": "^8.6.12",
32
32
  "@storybook/react-vite": "^8.6.12",
33
33
  "@storybook/test": "^8.6.12",
34
- "@types/react-dom": "^19.1.5",
34
+ "@types/react-dom": "^18.3.1",
35
35
  "@vitejs/plugin-react": "^4.4.1",
36
36
  "chromatic": "^11.28.2",
37
+ "eslint": "^9.28.0",
38
+ "eslint-plugin-react": "^7.37.5",
39
+ "globals": "^16.2.0",
37
40
  "postcss": "^8.5.3",
38
41
  "storybook": "^8.6.12",
39
42
  "typescript": "^5.8.3",
43
+ "typescript-eslint": "^8.34.0",
40
44
  "vite": "^6.3.5",
41
45
  "vite-plugin-dts": "^3.0.0",
42
46
  "vite-plugin-svgr": "^4.3.0"
@@ -1,9 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/react-jsx-runtime.production.cjs.js");/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var _;function x(){if(_)return e.__exports;_=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(l,r,t){var o=null;if(t!==void 0&&(o=""+t),r.key!==void 0&&(o=""+r.key),"key"in r){t={};for(var u in r)u!=="key"&&(t[u]=r[u])}else t=r;return r=t.ref,{$$typeof:n,type:l,key:o,ref:r!==void 0?r:null,props:t}}return e.__exports.Fragment=i,e.__exports.jsx=s,e.__exports.jsxs=s,e.__exports}exports.__require=x;
@@ -1,35 +0,0 @@
1
- import { __exports as e } from "../../../_virtual/react-jsx-runtime.production.es.js";
2
- /**
3
- * @license React
4
- * react-jsx-runtime.production.js
5
- *
6
- * Copyright (c) Meta Platforms, Inc. and affiliates.
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */
11
- var s;
12
- function a() {
13
- if (s) return e;
14
- s = 1;
15
- var i = Symbol.for("react.transitional.element"), _ = Symbol.for("react.fragment");
16
- function o(l, r, t) {
17
- var u = null;
18
- if (t !== void 0 && (u = "" + t), r.key !== void 0 && (u = "" + r.key), "key" in r) {
19
- t = {};
20
- for (var n in r)
21
- n !== "key" && (t[n] = r[n]);
22
- } else t = r;
23
- return r = t.ref, {
24
- $$typeof: i,
25
- type: l,
26
- key: u,
27
- ref: r !== void 0 ? r : null,
28
- props: t
29
- };
30
- }
31
- return e.Fragment = _, e.jsx = o, e.jsxs = o, e;
32
- }
33
- export {
34
- a as __require
35
- };