@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.
- package/{AuthLayout-D34-rLwI.js → AuthLayout-BxUYOBpE.js} +9 -9
- package/{AuthLayout-pdogLFBV.js → AuthLayout-C7l9e-G1.js} +9 -9
- package/CHANGELOG.md +37 -0
- package/{J3FDRF32-CcHg52pK.js → CPIOZS5X-BWycO6l2.js} +2 -2
- package/{J3FDRF32-B-RIFKQ1.js → CPIOZS5X-D9XqRoTK.js} +856 -872
- package/ContentsPage-BLpJKpqc.js +679 -0
- package/ContentsPage-BTgFTDZi.js +678 -0
- package/CuratePage-B7EXPvsq.js +609 -0
- package/CuratePage-is7CgIin.js +608 -0
- package/Dialog-Cqa57c6g.js +1290 -0
- package/Dialog-DWiUeV0t.js +1289 -0
- package/DotLottiePlayer-BlER6aEn.js +1980 -0
- package/DotLottiePlayer-SZjYMgDf.js +1979 -0
- package/{LazyLoadImage-BH1f6Qf1.js → LazyLoadImage-Be2cGg73.js} +5 -4
- package/{LazyLoadImage-kuHYr4uH.js → LazyLoadImage-CHZA77IL.js} +8 -7
- package/{LeaderboardPage-KJ5sJKDU.js → LeaderboardPage-B55r8LaX.js} +41 -45
- package/{LeaderboardPage-CEF-Fc9_.js → LeaderboardPage-D--mHiRD.js} +45 -47
- package/LoginPage-C_gdaLjP.js +113 -0
- package/LoginPage-QmbEnJTF.js +114 -0
- package/MediaGallery-BCM5A-EQ.js +29170 -0
- package/MediaGallery-C6m7U8kU.js +3972 -0
- package/{3VW64HDT-ohGQ4sar.js → OKF6E45R-BD3fuGyE.js} +2 -2
- package/PublicEvents-BErXZnAE.js +408 -0
- package/PublicEvents-BbcQaJj_.js +409 -0
- package/README.md +57 -0
- package/RegisterPage-BBgg74yb.js +210 -0
- package/RegisterPage-Pi-SiYQN.js +209 -0
- package/{UploadPage-BFoRm9Jx.js → UploadPage-BI24L4i7.js} +4327 -4144
- package/{UploadPage-D-7xgD3G.js → UploadPage-roO0vARL.js} +4401 -4218
- package/{VideoPlayer-CosZyz_f.js → VideoPlayer-BN3OYTe5.js} +5 -5
- package/{VideoPlayer-EnpDhZ71.js → VideoPlayer-BbwQoExZ.js} +1 -1
- package/{67EVQ76A-DaxRCh3g.js → WXAWMS3D-BC359dEc.js} +17 -33
- package/element.es.js +1 -1
- package/{heic2any-DuNZeZHL.js → heic2any-BrOWkrlZ.js} +1 -1
- package/{index-9O1ye9-3.js → index-BM0tcE5T.js} +11817 -10262
- package/{index-BlNF4qQ0.js → index-BsbR3L0_.js} +1 -1
- package/{index-VWgiCaqB.js → index-DxSczReH.js} +39978 -38226
- package/index.esm-BF7dzisv.js +2720 -0
- package/index.esm-Do9U9b2W.js +2721 -0
- package/package.json +19 -18
- package/{photoswipe-BpSLpT7N.js → photoswipe-Bhyg6OYU.js} +1 -1
- package/{photoswipe-qrRUAK0B.js → photoswipe-D0qyMrPo.js} +1 -1
- package/react.es.js +1 -1
- package/styles.css +2083 -1
- package/web.es.js +1 -1
- package/Combination-CsINInDH.js +0 -997
- package/Combination-DLkuWnOl.js +0 -998
- package/ContentsPage-A-3UVHWY.js +0 -4348
- package/ContentsPage-D1f9GJ6R.js +0 -4345
- package/DotLottiePlayer-Dg2tvgIA.js +0 -1907
- package/DotLottiePlayer-ccSwbLkE.js +0 -1908
- package/LoginPage-CuMdpNdh.js +0 -2806
- package/LoginPage-sKYcD2Jc.js +0 -2807
- package/PublicEvents-DPlrNPz1.js +0 -51
- package/PublicEvents-x_NUHh1Z.js +0 -52
- package/RatePage-BJoTp07F.js +0 -897
- package/RatePage-CUBSBOeh.js +0 -899
- package/RegisterPage-CKG67xz8.js +0 -6
- package/RegisterPage-Cpjq4290.js +0 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
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
|
|
4
|
-
var
|
|
3
|
+
const b = () => {
|
|
4
|
+
var s;
|
|
5
5
|
const r = i(), { user: d } = q();
|
|
6
|
-
return d ? /* @__PURE__ */ e.jsx(o, { replace: !0, to: ((
|
|
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:
|
|
11
|
+
to: a.LOGIN,
|
|
12
12
|
state: r == null ? void 0 : r.state,
|
|
13
13
|
className: c(
|
|
14
|
-
r.pathname ===
|
|
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:
|
|
23
|
+
to: a.REGISTER,
|
|
24
24
|
state: r == null ? void 0 : r.state,
|
|
25
25
|
className: c(
|
|
26
|
-
r.pathname ===
|
|
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
|
-
|
|
37
|
+
b as default
|
|
38
38
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
var
|
|
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: ((
|
|
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:
|
|
10
|
+
to: a.LOGIN,
|
|
11
11
|
state: r == null ? void 0 : r.state,
|
|
12
12
|
className: t(
|
|
13
|
-
r.pathname ===
|
|
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:
|
|
22
|
+
to: a.REGISTER,
|
|
23
23
|
state: r == null ? void 0 : r.state,
|
|
24
24
|
className: t(
|
|
25
|
-
r.pathname ===
|
|
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
|
-
|
|
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 "./
|
|
2
|
-
import {
|
|
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"
|