@qratilabs/qrati-connect 1.15.0 → 1.16.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/CHANGELOG.md +29 -0
- package/README.md +7 -15
- package/element/AuthLayout-Dk9RwYU3.js +1 -0
- package/element/CPIOZS5X-KiiOuCt5.js +1192 -0
- package/element/ContentsPage-CAuHV6og.js +15 -0
- package/element/CuratePage-Cw577KT9.js +1 -0
- package/element/Dialog-CEfQL_Qm.js +1 -0
- package/element/DotLottiePlayer-CDwDoYzR.js +1 -0
- package/element/ForgotPasswordPage-CpYIt2jD.js +1 -0
- package/element/LazyLoadImage-KsB_HFgO.js +1 -0
- package/element/LeaderboardPage-BF2QUl-E.js +1 -0
- package/element/LoginPage-B9xNu35E.js +1 -0
- package/element/MediaGallery-CvLo7tF6.js +2 -0
- package/element/PublicEvents-pqjO3duk.js +1 -0
- package/element/RegisterPage-BTLNZBGv.js +1 -0
- package/element/SocialLoginButton-DjuKaSz4.js +1 -0
- package/element/{NBwrt_4o.js → UploadPage-qTnw1YXw.js} +2 -2
- package/element/VideoPlayer-BC11HWrk.js +1 -0
- package/element/element.es.js +1 -1
- package/element/heic2any-C6f3PXKn.js +1 -0
- package/element/{x59KzHY5.js → index-GVkegFiJ.js} +2 -2
- package/element/index-g5rZ1pWR.js +14 -0
- package/element/index.esm-C-t9zIDv.js +1 -0
- package/element/photoswipe-DzOsrNGP.js +1 -0
- package/element/web.es.js +1 -1
- package/package.json +17 -8
- package/react/1gRsEgH1.js +2 -0
- package/react/{CdKcUfcM.js → BEWFeCIe.js} +1 -1
- package/react/{BlqNAolt.js → BIvilZpE.js} +1 -1
- package/react/{D933-b-E.js → Bc51PV4C.js} +1 -1
- package/react/BdF6puGl.js +1 -0
- package/react/{CGsOqrV7.js → BmrcbOrh.js} +1 -1
- package/react/{CjNwOTMl.js → BwEt3RWC.js} +1 -1
- package/react/{ByqoRKxG.js → C15VEJPf.js} +1 -1
- package/react/{8MACsDOW.js → C1g6xNix.js} +1 -1
- package/react/{CXjvy_Cg.js → CN8E09RO.js} +1 -1
- package/react/{nLGRNTSo.js → CNQI2_tF.js} +1 -1
- package/react/{B0BmmZ2O.js → CjnUB3g_.js} +1 -1
- package/react/{BYHiYspU.js → CltQNscz.js} +1 -1
- package/react/{CTfez6qv.js → D5VK-CTF.js} +1 -1
- package/react/{bFy7yDoq.js → D8mo7i15.js} +1 -1
- package/{element/uCSHGWHf.js → react/DAp-a9K8.js} +1 -1
- package/react/{BE5G0oMq.js → DCRWZha8.js} +1 -1
- package/react/{CCeCUu8e.js → DSYqwzgz.js} +1 -1
- package/react/{CrZGqb6e.js → WkALjB2i.js} +2 -2
- package/react/{CeW4BrR6.js → hnY8gF7Z.js} +2 -2
- package/react/index.es.js +1 -1
- package/react/{CxNVvRuW.js → ujsCrkeu.js} +1 -1
- package/umd/web.umd.js +255 -236
- package/element/BEbMre38.js +0 -14
- package/element/BGXPmeqN.js +0 -2
- package/element/BNT_djvv.js +0 -1
- package/element/BeLfA8It.js +0 -1
- package/element/Bs-1YU4z.js +0 -1
- package/element/BuCCBRes.js +0 -1
- package/element/CF8NC-BL.js +0 -1
- package/element/CMjPQUNc.js +0 -1
- package/element/CR309DiO.js +0 -1
- package/element/CaeKDtna.js +0 -1
- package/element/CiOfnyYR.js +0 -1
- package/element/CrE4j9y6.js +0 -1
- package/element/DJHZz1P5.js +0 -1
- package/element/DRNBeTh8.js +0 -1
- package/element/DewLJCUC.js +0 -1192
- package/element/DqXVxTid.js +0 -15
- package/element/OkOw-tbW.js +0 -1
- package/element/eKCindk5.js +0 -1
- package/react/D3njDxdE.js +0 -2
- package/react/NzroFbiA.js +0 -1
- package/react/ypHN0YhH.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
# [1.16.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.15.0...v1.16.0) (2025-04-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update progress bar color in PhotoSwipe slideshow plugin ([7a7c4c5](https://github.com/qrati-labs/qrati-connect-js/commit/7a7c4c598bbf8189e494a758d08902fb5f22fbc2))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add PostCSS configuration with Tailwind CSS and Autoprefixer plugins ([af46990](https://github.com/qrati-labs/qrati-connect-js/commit/af46990f18ecd953c30783263cf768be59ad8251))
|
|
12
|
+
* implement PhotoSwipeCaption for enhanced caption handling in media gallery ([53f471c](https://github.com/qrati-labs/qrati-connect-js/commit/53f471c0d1cb263be49c8828d94ff9fd8cc136f5))
|
|
13
|
+
* update package.json with new keywords and dependency versions ([c048317](https://github.com/qrati-labs/qrati-connect-js/commit/c04831736eb60178d3e1f2780c06738960e98311))
|
|
14
|
+
|
|
15
|
+
# [1.15.0](https://github.com/qrati-labs/qrati-connect-js/compare/v1.14.2...v1.15.0) (2025-04-08)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* remove unused release scripts from package.json ([c9d859b](https://github.com/qrati-labs/qrati-connect-js/commit/c9d859b7cda628594c1e3fad505c4e96cb87485f))
|
|
21
|
+
* update release script to pull latest changes from beta branch before merging ([16bb667](https://github.com/qrati-labs/qrati-connect-js/commit/16bb667663bc7d51826ab28cd5315aa869a7b01d))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* add release script for beta branch management ([4445f97](https://github.com/qrati-labs/qrati-connect-js/commit/4445f97eab2e31de1a0c96865ef7727eb4815755))
|
|
27
|
+
* add release:production script for managing production releases ([6e824a3](https://github.com/qrati-labs/qrati-connect-js/commit/6e824a3d61e21adbef20171bd85bde0cea2796c0))
|
|
28
|
+
* update page navigation and enhance analytics tracking with new session management ([e77b5a2](https://github.com/qrati-labs/qrati-connect-js/commit/e77b5a2783677fa59273c3111ae5ecd9a7ebe202))
|
|
29
|
+
|
|
1
30
|
## [1.14.2](https://github.com/qrati-labs/qrati-connect-js/compare/v1.14.1...v1.14.2) (2025-04-07)
|
|
2
31
|
|
|
3
32
|
|
package/README.md
CHANGED
|
@@ -45,17 +45,17 @@ export default Page;
|
|
|
45
45
|
|
|
46
46
|
# Available props
|
|
47
47
|
|
|
48
|
+
* **router :** Custom router configuration for internal navigation ('memory or 'hash').
|
|
48
49
|
* **organizationId :** Unique identifier for your organization inside Qrati.
|
|
49
50
|
* **fontClassName :** Classes to control custom font for the component.
|
|
50
51
|
* **textClassName :** Classes to apply any additional styling to texts inside the component.
|
|
51
52
|
* **emptyStateImage :** Link or path to image which will be shown for any empty state in the component.
|
|
52
53
|
* **curateLabel :** Label to show in place of 'Curate' in header for contest type events.
|
|
53
54
|
* **leaderboardLabel :** Label to show in place of 'Leaders' in header for contest type events.
|
|
54
|
-
* **uid :** User id for your application user
|
|
55
|
-
* **fname :** First name for your application user
|
|
56
|
-
* **lname :** Last name for your application user
|
|
57
|
-
* **loginUrl :** The page url inside your web app where we should redirect when authentication is required for user intended action.
|
|
58
|
-
* **router :** Custom router configuration for internal navigation.
|
|
55
|
+
* **uid :** User id for your application user (applicable for custom auth only).
|
|
56
|
+
* **fname :** First name for your application user (applicable for custom auth only).
|
|
57
|
+
* **lname :** Last name for your application user (applicable for custom auth only).
|
|
58
|
+
* **loginUrl :** The page url inside your web app where we should redirect when authentication is required for user intended action (applicable for custom auth only).
|
|
59
59
|
|
|
60
60
|
# Qrati Connect Element (Web Component)
|
|
61
61
|
|
|
@@ -79,17 +79,9 @@ Once imported, you can use the custom element tag `<qrati-connect>` in your HTML
|
|
|
79
79
|
|
|
80
80
|
```html
|
|
81
81
|
<qrati-connect
|
|
82
|
+
router='hash'
|
|
82
83
|
organization-id="your-organization-id"
|
|
83
|
-
|
|
84
|
-
text-class-name="your-text-class"
|
|
85
|
-
curate-label="Contest"
|
|
86
|
-
leaderboard-label="Leaders"
|
|
87
|
-
empty-state-image="https://example.com/empty-state.png"
|
|
88
|
-
uid="user-id"
|
|
89
|
-
fname="John"
|
|
90
|
-
lname="Doe"
|
|
91
|
-
login-url="https://yourapp.com/login"
|
|
92
|
-
></qrati-connect>
|
|
84
|
+
/>
|
|
93
85
|
```
|
|
94
86
|
|
|
95
87
|
Note: When using the Web Component version, props are passed as HTML attributes with kebab-case naming (e.g., `organization-id` instead of `organizationId`).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,u as s,j as c,S as r,N as e,d as l,c as t,P as i,T as n,U as d}from"./index-GVkegFiJ.js";const q=()=>{var q;const o=a(),{initializing:m,organization:x,user:h}=s();return m?c.jsxs("div",{className:"qc-mx-auto qc-max-w-lg qc-space-y-8 qc-py-8",children:[c.jsx(r,{className:"qc-h-8"}),c.jsx(r,{className:"qc-h-8"}),c.jsx(r,{className:"qc-h-8"}),c.jsx(r,{className:"qc-h-8"})]}):h?c.jsx(e,{replace:!0,to:(null==(q=null==o?void 0:o.state)?void 0:q.referrer)||"/"}):!x||null!=x&&x.customAuth?null:c.jsxs("div",{className:"qc-bg-primary qc-mx-auto qc-mt-24 qc-min-h-[80vh] qc-max-w-md",children:[c.jsxs("div",{className:"qc-my-8 qc-flex qc-w-full qc-justify-around",children:[c.jsx(l,{to:i.LOGIN,state:null==o?void 0:o.state,className:t(o.pathname===i.LOGIN?"qc-border-brand":"qc-border-primary","qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"),children:c.jsx(n,{variant:"h5",align:"center",children:"Login"})}),c.jsx(l,{to:i.REGISTER,state:null==o?void 0:o.state,className:t(o.pathname===i.REGISTER?"qc-border-brand":"qc-border-primary","qc-flex-1 qc-border-2 qc-border-x-0 qc-border-t-0 qc-pb-2"),children:c.jsx(n,{variant:"h5",align:"center",children:"Register"})})]}),c.jsx(d,{})]})};export{q as default};
|