@ankit.blumox/theme-sdk 0.1.3 → 0.1.5

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/dist/index.d.mts CHANGED
@@ -1,5 +1,47 @@
1
1
  import { ReactNode } from 'react';
2
2
 
3
+ interface ThemeLayoutProps {
4
+ children: ReactNode;
5
+ navigation: {
6
+ items: Array<{
7
+ id: string;
8
+ label: string;
9
+ href: string;
10
+ icon?: string;
11
+ }>;
12
+ };
13
+ user: {
14
+ name: string;
15
+ email: string;
16
+ avatar?: string;
17
+ };
18
+ tenant: {
19
+ name: string;
20
+ id: string;
21
+ };
22
+ }
23
+ interface ThemeManifest {
24
+ id: string;
25
+ name: string;
26
+ version: string;
27
+ author: string;
28
+ description: string;
29
+ requiredSDKVersion: string;
30
+ screenshots: string[];
31
+ category: 'modern' | 'classic' | 'minimal' | 'creative';
32
+ pricing: 'free' | 'paid';
33
+ price?: number;
34
+ tags?: string[];
35
+ }
36
+ interface ThemeMetadata {
37
+ id: string;
38
+ name: string;
39
+ author: string;
40
+ version: string;
41
+ description: string;
42
+ preview: string;
43
+ }
44
+
3
45
  interface NavigationItem {
4
46
  id: string;
5
47
  label: string;
@@ -35,33 +77,6 @@ interface TenantConfig {
35
77
  currency?: string;
36
78
  }
37
79
 
38
- interface ThemeLayoutProps {
39
- children: ReactNode;
40
- navigation: NavigationData;
41
- user: UserData;
42
- tenant: TenantConfig;
43
- }
44
- interface ThemeManifest {
45
- id: string;
46
- name: string;
47
- version: string;
48
- author: string;
49
- description: string;
50
- screenshots: string[];
51
- category: 'modern' | 'classic' | 'minimal' | 'creative';
52
- pricing: 'free' | 'paid';
53
- price?: number;
54
- tags?: string[];
55
- }
56
- interface ThemeMetadata {
57
- id: string;
58
- name: string;
59
- author: string;
60
- version: string;
61
- description: string;
62
- preview: string;
63
- }
64
-
65
80
  declare function cn(...classes: (string | undefined | null | false | 0)[]): string;
66
81
  declare function getAvatarColor(userId: string): string;
67
82
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,47 @@
1
1
  import { ReactNode } from 'react';
2
2
 
3
+ interface ThemeLayoutProps {
4
+ children: ReactNode;
5
+ navigation: {
6
+ items: Array<{
7
+ id: string;
8
+ label: string;
9
+ href: string;
10
+ icon?: string;
11
+ }>;
12
+ };
13
+ user: {
14
+ name: string;
15
+ email: string;
16
+ avatar?: string;
17
+ };
18
+ tenant: {
19
+ name: string;
20
+ id: string;
21
+ };
22
+ }
23
+ interface ThemeManifest {
24
+ id: string;
25
+ name: string;
26
+ version: string;
27
+ author: string;
28
+ description: string;
29
+ requiredSDKVersion: string;
30
+ screenshots: string[];
31
+ category: 'modern' | 'classic' | 'minimal' | 'creative';
32
+ pricing: 'free' | 'paid';
33
+ price?: number;
34
+ tags?: string[];
35
+ }
36
+ interface ThemeMetadata {
37
+ id: string;
38
+ name: string;
39
+ author: string;
40
+ version: string;
41
+ description: string;
42
+ preview: string;
43
+ }
44
+
3
45
  interface NavigationItem {
4
46
  id: string;
5
47
  label: string;
@@ -35,33 +77,6 @@ interface TenantConfig {
35
77
  currency?: string;
36
78
  }
37
79
 
38
- interface ThemeLayoutProps {
39
- children: ReactNode;
40
- navigation: NavigationData;
41
- user: UserData;
42
- tenant: TenantConfig;
43
- }
44
- interface ThemeManifest {
45
- id: string;
46
- name: string;
47
- version: string;
48
- author: string;
49
- description: string;
50
- screenshots: string[];
51
- category: 'modern' | 'classic' | 'minimal' | 'creative';
52
- pricing: 'free' | 'paid';
53
- price?: number;
54
- tags?: string[];
55
- }
56
- interface ThemeMetadata {
57
- id: string;
58
- name: string;
59
- author: string;
60
- version: string;
61
- description: string;
62
- preview: string;
63
- }
64
-
65
80
  declare function cn(...classes: (string | undefined | null | false | 0)[]): string;
66
81
  declare function getAvatarColor(userId: string): string;
67
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankit.blumox/theme-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Official SDK for building custom themes for Blumox platform",
5
5
  "keywords": [
6
6
  "blumox",