@qratilabs/qrati-connect 1.9.0 → 1.10.1

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 (59) hide show
  1. package/{AuthLayout-D34-rLwI.js → AuthLayout-BxUYOBpE.js} +9 -9
  2. package/{AuthLayout-pdogLFBV.js → AuthLayout-C7l9e-G1.js} +9 -9
  3. package/CHANGELOG.md +37 -0
  4. package/{J3FDRF32-CcHg52pK.js → CPIOZS5X-BWycO6l2.js} +2 -2
  5. package/{J3FDRF32-B-RIFKQ1.js → CPIOZS5X-D9XqRoTK.js} +856 -872
  6. package/ContentsPage-BLpJKpqc.js +679 -0
  7. package/ContentsPage-BTgFTDZi.js +678 -0
  8. package/CuratePage-B7EXPvsq.js +609 -0
  9. package/CuratePage-is7CgIin.js +608 -0
  10. package/Dialog-Cqa57c6g.js +1290 -0
  11. package/Dialog-DWiUeV0t.js +1289 -0
  12. package/DotLottiePlayer-BlER6aEn.js +1980 -0
  13. package/DotLottiePlayer-SZjYMgDf.js +1979 -0
  14. package/{LazyLoadImage-BH1f6Qf1.js → LazyLoadImage-Be2cGg73.js} +5 -4
  15. package/{LazyLoadImage-kuHYr4uH.js → LazyLoadImage-CHZA77IL.js} +8 -7
  16. package/{LeaderboardPage-KJ5sJKDU.js → LeaderboardPage-B55r8LaX.js} +41 -45
  17. package/{LeaderboardPage-CEF-Fc9_.js → LeaderboardPage-D--mHiRD.js} +45 -47
  18. package/LoginPage-C_gdaLjP.js +113 -0
  19. package/LoginPage-QmbEnJTF.js +114 -0
  20. package/MediaGallery-BCM5A-EQ.js +29170 -0
  21. package/MediaGallery-C6m7U8kU.js +3972 -0
  22. package/{3VW64HDT-ohGQ4sar.js → OKF6E45R-BD3fuGyE.js} +2 -2
  23. package/PublicEvents-BErXZnAE.js +408 -0
  24. package/PublicEvents-BbcQaJj_.js +409 -0
  25. package/README.md +57 -0
  26. package/RegisterPage-BBgg74yb.js +210 -0
  27. package/RegisterPage-Pi-SiYQN.js +209 -0
  28. package/{UploadPage-BFoRm9Jx.js → UploadPage-BI24L4i7.js} +4327 -4144
  29. package/{UploadPage-D-7xgD3G.js → UploadPage-roO0vARL.js} +4401 -4218
  30. package/{VideoPlayer-CosZyz_f.js → VideoPlayer-BN3OYTe5.js} +5 -5
  31. package/{VideoPlayer-EnpDhZ71.js → VideoPlayer-BbwQoExZ.js} +1 -1
  32. package/{67EVQ76A-DaxRCh3g.js → WXAWMS3D-BC359dEc.js} +17 -33
  33. package/element.es.js +1 -1
  34. package/{heic2any-DuNZeZHL.js → heic2any-BrOWkrlZ.js} +1 -1
  35. package/{index-9O1ye9-3.js → index-BM0tcE5T.js} +11817 -10262
  36. package/{index-BlNF4qQ0.js → index-BsbR3L0_.js} +1 -1
  37. package/{index-VWgiCaqB.js → index-DxSczReH.js} +39978 -38226
  38. package/index.esm-BF7dzisv.js +2720 -0
  39. package/index.esm-Do9U9b2W.js +2721 -0
  40. package/package.json +19 -18
  41. package/{photoswipe-BpSLpT7N.js → photoswipe-Bhyg6OYU.js} +1 -1
  42. package/{photoswipe-qrRUAK0B.js → photoswipe-D0qyMrPo.js} +1 -1
  43. package/react.es.js +1 -1
  44. package/styles.css +2083 -1
  45. package/web.es.js +1 -1
  46. package/Combination-CsINInDH.js +0 -997
  47. package/Combination-DLkuWnOl.js +0 -998
  48. package/ContentsPage-A-3UVHWY.js +0 -4348
  49. package/ContentsPage-D1f9GJ6R.js +0 -4345
  50. package/DotLottiePlayer-Dg2tvgIA.js +0 -1907
  51. package/DotLottiePlayer-ccSwbLkE.js +0 -1908
  52. package/LoginPage-CuMdpNdh.js +0 -2806
  53. package/LoginPage-sKYcD2Jc.js +0 -2807
  54. package/PublicEvents-DPlrNPz1.js +0 -51
  55. package/PublicEvents-x_NUHh1Z.js +0 -52
  56. package/RatePage-BJoTp07F.js +0 -897
  57. package/RatePage-CUBSBOeh.js +0 -899
  58. package/RegisterPage-CKG67xz8.js +0 -6
  59. package/RegisterPage-Cpjq4290.js +0 -5
@@ -1,17 +1,17 @@
1
- import { z as i, p as q, j as e, H as o, N as t, c, P as s, T as n, O as m } from "./index-9O1ye9-3.js";
1
+ import { a as i, u as q, j as e, N as o, e as t, c, P as a, T as n, O as m } from "./index-BM0tcE5T.js";
2
2
  import "react";
3
- const l = () => {
4
- var a;
3
+ const b = () => {
4
+ var s;
5
5
  const r = i(), { user: d } = q();
6
- return d ? /* @__PURE__ */ e.jsx(o, { replace: !0, to: ((a = r == null ? void 0 : r.state) == null ? void 0 : a.referrer) || "/" }) : /* @__PURE__ */ e.jsxs("div", { className: "qc-bg-primary qc-mx-auto qc-min-h-96 qc-max-w-md", children: [
6
+ return d ? /* @__PURE__ */ e.jsx(o, { replace: !0, to: ((s = r == null ? void 0 : r.state) == null ? void 0 : s.referrer) || "/" }) : /* @__PURE__ */ e.jsxs("div", { className: "qc-bg-primary qc-mx-auto qc-min-h-96 qc-max-w-md", children: [
7
7
  /* @__PURE__ */ e.jsxs("div", { className: "qc-my-8 qc-flex qc-w-full qc-justify-around", children: [
8
8
  /* @__PURE__ */ e.jsx(
9
9
  t,
10
10
  {
11
- to: s.LOGIN,
11
+ to: a.LOGIN,
12
12
  state: r == null ? void 0 : r.state,
13
13
  className: c(
14
- r.pathname === s.LOGIN ? "qc-border-brand" : "qc-border-primary",
14
+ r.pathname === a.LOGIN ? "qc-border-brand" : "qc-border-primary",
15
15
  "qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
16
16
  ),
17
17
  children: /* @__PURE__ */ e.jsx(n, { variant: "h5", align: "center", children: "Login" })
@@ -20,10 +20,10 @@ const l = () => {
20
20
  /* @__PURE__ */ e.jsx(
21
21
  t,
22
22
  {
23
- to: s.REGISTER,
23
+ to: a.REGISTER,
24
24
  state: r == null ? void 0 : r.state,
25
25
  className: c(
26
- r.pathname === s.REGISTER ? "qc-border-brand" : "qc-border-primary",
26
+ r.pathname === a.REGISTER ? "qc-border-brand" : "qc-border-primary",
27
27
  "qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
28
28
  ),
29
29
  children: /* @__PURE__ */ e.jsx(n, { variant: "h5", align: "center", children: "Register" })
@@ -34,5 +34,5 @@ const l = () => {
34
34
  ] });
35
35
  };
36
36
  export {
37
- l as default
37
+ b as default
38
38
  };
@@ -1,16 +1,16 @@
1
- import { B as q, q as i, j as e, J as o, N as c, c as t, P as s, T as n, Z as x } from "./index-VWgiCaqB.js";
2
- const b = () => {
3
- var a;
1
+ import { a as q, u as i, j as e, N as o, e as c, c as t, P as a, T as n, O as x } from "./index-DxSczReH.js";
2
+ const u = () => {
3
+ var s;
4
4
  const r = q(), { user: d } = i();
5
- return d ? /* @__PURE__ */ e.jsx(o, { replace: !0, to: ((a = r == null ? void 0 : r.state) == null ? void 0 : a.referrer) || "/" }) : /* @__PURE__ */ e.jsxs("div", { className: "qc-bg-primary qc-mx-auto qc-min-h-96 qc-max-w-md", children: [
5
+ return d ? /* @__PURE__ */ e.jsx(o, { replace: !0, to: ((s = r == null ? void 0 : r.state) == null ? void 0 : s.referrer) || "/" }) : /* @__PURE__ */ e.jsxs("div", { className: "qc-bg-primary qc-mx-auto qc-min-h-96 qc-max-w-md", children: [
6
6
  /* @__PURE__ */ e.jsxs("div", { className: "qc-my-8 qc-flex qc-w-full qc-justify-around", children: [
7
7
  /* @__PURE__ */ e.jsx(
8
8
  c,
9
9
  {
10
- to: s.LOGIN,
10
+ to: a.LOGIN,
11
11
  state: r == null ? void 0 : r.state,
12
12
  className: t(
13
- r.pathname === s.LOGIN ? "qc-border-brand" : "qc-border-primary",
13
+ r.pathname === a.LOGIN ? "qc-border-brand" : "qc-border-primary",
14
14
  "qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
15
15
  ),
16
16
  children: /* @__PURE__ */ e.jsx(n, { variant: "h5", align: "center", children: "Login" })
@@ -19,10 +19,10 @@ const b = () => {
19
19
  /* @__PURE__ */ e.jsx(
20
20
  c,
21
21
  {
22
- to: s.REGISTER,
22
+ to: a.REGISTER,
23
23
  state: r == null ? void 0 : r.state,
24
24
  className: t(
25
- r.pathname === s.REGISTER ? "qc-border-brand" : "qc-border-primary",
25
+ r.pathname === a.REGISTER ? "qc-border-brand" : "qc-border-primary",
26
26
  "qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"
27
27
  ),
28
28
  children: /* @__PURE__ */ e.jsx(n, { variant: "h5", align: "center", children: "Register" })
@@ -33,5 +33,5 @@ const b = () => {
33
33
  ] });
34
34
  };
35
35
  export {
36
- b as default
36
+ u as default
37
37
  };
package/CHANGELOG.md CHANGED
@@ -1,3 +1,40 @@
1
+ # [1.10.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.9.0...v1.10.0) (2025-04-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * adjust PhotoSwipeVideo initialization order in MediaGallery; clean up default-options.js formatting ([67c0d15](https://github.com/qrati-labs/qrati-connect-js/commit/67c0d15e8b58ca53b6a24104d0fc0ea4169bb8cd))
7
+
8
+
9
+ ### Features
10
+
11
+ * add .env.local for environment variables; update .gitignore to exclude .env.* files; modify QratiConnect to hide ReactQueryDevtools; lazy load MediaGallery in ContentsPage; update empty state handling in EmptyState component; adjust Typography component to use textClassName from PropsContext; update dependencies in package.json ([b81dcbc](https://github.com/qrati-labs/qrati-connect-js/commit/b81dcbc5ed1b708912d47f70e0293b4db135c6c9))
12
+ * add @iconify/react dependency; update styles in various components to remove 'lowercase' class for consistency ([2eeb335](https://github.com/qrati-labs/qrati-connect-js/commit/2eeb335c0b0974b5747f6c5219f888f0dcbf4c9a))
13
+ * add styles.css to Vite configuration for improved asset handling ([b11d1aa](https://github.com/qrati-labs/qrati-connect-js/commit/b11d1aa19e37c784d6360cc0d13126ae19df66ce))
14
+ * enhance MediaGallery with ad engagement tracking and dialog; update route to CuratePage ([6b76bc6](https://github.com/qrati-labs/qrati-connect-js/commit/6b76bc6e7801dbace7290c47c7fc5aa2a834ab2b))
15
+ * enhance QratiConnect component with additional props and improve EmptyState presentation ([6ea1876](https://github.com/qrati-labs/qrati-connect-js/commit/6ea1876329cb73be7e60d09cb49aa0312c727d31))
16
+ * enhance user registration flow with Firebase; add error handling and display name update ([142b6c4](https://github.com/qrati-labs/qrati-connect-js/commit/142b6c43ca2012c6b2291a62e4ccea6ff8b70864))
17
+ * implement ad analytics tracking in useAnalytics hook; update MediaGallery and PhotoswipeThumbnail components to utilize new analytics functions ([a29184a](https://github.com/qrati-labs/qrati-connect-js/commit/a29184a90046cde6c38e5ed9d6b690e03ac21de0))
18
+ * implement email registration functionality in RegisterPage; add form validation and user feedback ([2d564ca](https://github.com/qrati-labs/qrati-connect-js/commit/2d564ca3a7b4a31f37ab820f39111286f9c9ce90))
19
+ * restructure project by consolidating imports and adding utility functions; introduce new components for Photoswipe plugins and enhance context management ([2cfead8](https://github.com/qrati-labs/qrati-connect-js/commit/2cfead8f13ba589140676dbd368c9dba5f9e9eea))
20
+ * update Demo component with new props and enhance EmptyState styling; refactor leaderboard data fetching in LeadersPage ([b382591](https://github.com/qrati-labs/qrati-connect-js/commit/b3825919a3841ad62f06f2e1904130225714b6a7))
21
+
22
+ # [1.9.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.8.0...v1.9.0) (2025-03-28)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * remove unused Footer import in QratiConnect component ([b5f4980](https://github.com/qrati-labs/qrati-connect-js/commit/b5f4980ded5420e559acd71ce90660e788657950))
28
+ * remove unused global CSS import in QratiConnect component ([578d681](https://github.com/qrati-labs/qrati-connect-js/commit/578d6814c9daabf94c39ae54493a68a91766731e))
29
+ * update Typography component usage and adjust styles in UploadPage ([85a0c80](https://github.com/qrati-labs/qrati-connect-js/commit/85a0c803f1f5351dfa933492202015f86b05cfbe))
30
+
31
+
32
+ ### Features
33
+
34
+ * add authentication routes and pages for login and registration ([3b8dc96](https://github.com/qrati-labs/qrati-connect-js/commit/3b8dc964b3798a3251ef3c95bb71d7d5bc28004a))
35
+ * add footer component and update event routes in the application ([f37f340](https://github.com/qrati-labs/qrati-connect-js/commit/f37f34003f4809f842f80cbdae52399a568704c0))
36
+ * add organizationId prop to MediaGallery component in ContentsPage ([86a2326](https://github.com/qrati-labs/qrati-connect-js/commit/86a2326af437941f9c38f4642e1e6e5668eb6682))
37
+
1
38
  # [1.8.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.7.0...v1.8.0) (2025-03-27)
2
39
 
3
40
 
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./67EVQ76A-DaxRCh3g.js";
2
- import { U as d, V as f, W as e } from "./index-9O1ye9-3.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./WXAWMS3D-BC359dEc.js";
2
+ import { J as d, K as f, L as e } from "./index-BM0tcE5T.js";
3
3
  var p = (a) => {
4
4
  const [r, t] = c({
5
5
  prefix: "TanstackQueryDevtools"