@techlabi/kycrazy-ui-kit 0.54.0-beta.1 → 0.54.0

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.54.0
4
+
5
+ ### Fixes
6
+
7
+ - Export unified CSS bundle for cross-project compatibility
8
+
3
9
  ## 0.53.0
4
10
 
5
11
  ### Features
package/README.md CHANGED
@@ -34,6 +34,8 @@ Mobile-first design, multi-language support, and instant pass/fail results keep
34
34
 
35
35
  ## 📖 Usage
36
36
 
37
+ Important: this package ships a precompiled stylesheet. Import the compiled CSS from the package in your consumer app, then import the component JS. This ensures Tailwind utilities and any third‑party CSS used by the components are applied correctly.
38
+
37
39
  ```tsx
38
40
  import '@techlabi/kycrazy-ui-kit/style.css';
39
41
  import KYCrazy from '@techlabi/kycrazy-ui-kit';
@@ -45,12 +47,18 @@ function App() {
45
47
  apiKey="ak_test_0987654321zyxwvutsrqponmlkjihgfedcba"
46
48
  apiEndpoint="http://localhost:8080"
47
49
  isKYB={true}
48
- userEmail={user.email};
49
- userId={user.id};
50
+ userEmail={user.email}
51
+ userId={user.id}
50
52
  fullName={user.fullName} // optional
51
- hideCompanyActivity={true}; // optional
52
- hideQuestionary={true}; // optional
53
- companyDocumentsTypes={['bank_statement', 'company_structure', 'certificate_of_registration','business_license', 'void_cheque']} // optional
53
+ hideCompanyActivity={true} // optional
54
+ hideQuestionary={true} // optional
55
+ companyDocumentsTypes={[
56
+ 'bank_statement',
57
+ 'company_structure',
58
+ 'certificate_of_registration',
59
+ 'business_license',
60
+ 'void_cheque',
61
+ ]} // optional
54
62
  onComplete={(token: string, data: KYCRequestData | KYBRequestData) => {}}
55
63
  onDoneClick={() => {}}
56
64
  />