omnira-ui 0.2.0 → 0.3.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/cli/omnira-init.mjs +197 -16
- package/components/ui/ActivityGauge/ActivityGauge.module.css +109 -0
- package/components/ui/ActivityGauge/ActivityGauge.tsx +87 -0
- package/components/ui/ActivityGauge/index.ts +2 -0
- package/components/ui/Calendar/Calendar.module.css +492 -0
- package/components/ui/Calendar/Calendar.tsx +445 -0
- package/components/ui/Calendar/config.ts +130 -0
- package/components/ui/Calendar/index.ts +4 -0
- package/components/ui/CardHeader/CardHeader.module.css +79 -0
- package/components/ui/CardHeader/CardHeader.tsx +45 -0
- package/components/ui/CardHeader/index.ts +2 -0
- package/components/ui/EmptyState/EmptyState.module.css +65 -0
- package/components/ui/EmptyState/EmptyState.tsx +37 -0
- package/components/ui/EmptyState/index.ts +2 -0
- package/components/ui/Metric/Metric.module.css +140 -0
- package/components/ui/Metric/Metric.tsx +78 -0
- package/components/ui/Metric/index.ts +2 -0
- package/components/ui/PageHeader/PageHeader.module.css +128 -0
- package/components/ui/PageHeader/PageHeader.tsx +61 -0
- package/components/ui/PageHeader/index.ts +2 -0
- package/components/ui/Table/Table.module.css +444 -0
- package/components/ui/Table/Table.tsx +547 -0
- package/components/ui/Table/customers.json +74 -0
- package/components/ui/Table/index.ts +14 -0
- package/components/ui/Table/invoices.json +92 -0
- package/components/ui/Table/orders.json +108 -0
- package/components/ui/Table/team-members.json +130 -0
- package/components/ui/Table/uploaded-files.json +53 -0
- package/package.json +1 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"items": [
|
|
3
|
+
{
|
|
4
|
+
"id": "3682",
|
|
5
|
+
"date": "2024-01-13",
|
|
6
|
+
"status": "paid",
|
|
7
|
+
"customer": {
|
|
8
|
+
"name": "Olivia Rhye",
|
|
9
|
+
"email": "olivia@omnira.space",
|
|
10
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=olivia-rhye"
|
|
11
|
+
},
|
|
12
|
+
"purchase": "Basic Plan — Jan 2024"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "3681",
|
|
16
|
+
"date": "2024-01-13",
|
|
17
|
+
"status": "paid",
|
|
18
|
+
"customer": {
|
|
19
|
+
"name": "Phoenix Baker",
|
|
20
|
+
"email": "phoenix@omnira.space",
|
|
21
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=phoenix-baker"
|
|
22
|
+
},
|
|
23
|
+
"purchase": "Business Plan — Dec 2023"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "3680",
|
|
27
|
+
"date": "2024-01-12",
|
|
28
|
+
"status": "refunded",
|
|
29
|
+
"customer": {
|
|
30
|
+
"name": "Lana Steiner",
|
|
31
|
+
"email": "lana@omnira.space",
|
|
32
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=lana-steiner"
|
|
33
|
+
},
|
|
34
|
+
"purchase": "Basic Plan — Dec 2023"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "3679",
|
|
38
|
+
"date": "2024-01-12",
|
|
39
|
+
"status": "cancelled",
|
|
40
|
+
"customer": {
|
|
41
|
+
"name": "Demi Wilkinson",
|
|
42
|
+
"email": "demi@omnira.space",
|
|
43
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=demi-wilkinson"
|
|
44
|
+
},
|
|
45
|
+
"purchase": "Business Plan — Dec 2023"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "3678",
|
|
49
|
+
"date": "2024-01-11",
|
|
50
|
+
"status": "paid",
|
|
51
|
+
"customer": {
|
|
52
|
+
"name": "Candice Wu",
|
|
53
|
+
"email": "candice@omnira.space",
|
|
54
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=candice-wu"
|
|
55
|
+
},
|
|
56
|
+
"purchase": "Basic Plan — Dec 2023"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "3677",
|
|
60
|
+
"date": "2024-01-10",
|
|
61
|
+
"status": "paid",
|
|
62
|
+
"customer": {
|
|
63
|
+
"name": "Natali Craig",
|
|
64
|
+
"email": "natali@omnira.space",
|
|
65
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=natali-craig"
|
|
66
|
+
},
|
|
67
|
+
"purchase": "Enterprise Plan — Dec 2023"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "3676",
|
|
71
|
+
"date": "2024-01-10",
|
|
72
|
+
"status": "cancelled",
|
|
73
|
+
"customer": {
|
|
74
|
+
"name": "Drew Cano",
|
|
75
|
+
"email": "drew@omnira.space",
|
|
76
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=drew-cano"
|
|
77
|
+
},
|
|
78
|
+
"purchase": "Basic Plan — Nov 2023"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "3675",
|
|
82
|
+
"date": "2024-01-09",
|
|
83
|
+
"status": "paid",
|
|
84
|
+
"customer": {
|
|
85
|
+
"name": "Orlando Diggs",
|
|
86
|
+
"email": "orlando@omnira.space",
|
|
87
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=orlando-diggs"
|
|
88
|
+
},
|
|
89
|
+
"purchase": "Business Plan — Nov 2023"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"items": [
|
|
3
|
+
{
|
|
4
|
+
"id": "ORD-7892",
|
|
5
|
+
"customer": {
|
|
6
|
+
"name": "Olivia Rhye",
|
|
7
|
+
"email": "olivia@omnira.space",
|
|
8
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=olivia-rhye"
|
|
9
|
+
},
|
|
10
|
+
"product": "Pro Workspace — Annual",
|
|
11
|
+
"amount": 2400.00,
|
|
12
|
+
"status": "delivered",
|
|
13
|
+
"priority": "low",
|
|
14
|
+
"date": "2024-01-14T09:32:00"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "ORD-7891",
|
|
18
|
+
"customer": {
|
|
19
|
+
"name": "Phoenix Baker",
|
|
20
|
+
"email": "phoenix@omnira.space",
|
|
21
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=phoenix-baker"
|
|
22
|
+
},
|
|
23
|
+
"product": "Enterprise Suite — Monthly",
|
|
24
|
+
"amount": 890.00,
|
|
25
|
+
"status": "shipped",
|
|
26
|
+
"priority": "medium",
|
|
27
|
+
"date": "2024-01-14T08:15:00"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": "ORD-7890",
|
|
31
|
+
"customer": {
|
|
32
|
+
"name": "Lana Steiner",
|
|
33
|
+
"email": "lana@omnira.space",
|
|
34
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=lana-steiner"
|
|
35
|
+
},
|
|
36
|
+
"product": "Starter Plan — Annual",
|
|
37
|
+
"amount": 480.00,
|
|
38
|
+
"status": "processing",
|
|
39
|
+
"priority": "high",
|
|
40
|
+
"date": "2024-01-13T17:44:00"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "ORD-7889",
|
|
44
|
+
"customer": {
|
|
45
|
+
"name": "Demi Wilkinson",
|
|
46
|
+
"email": "demi@omnira.space",
|
|
47
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=demi-wilkinson"
|
|
48
|
+
},
|
|
49
|
+
"product": "Pro Workspace — Monthly",
|
|
50
|
+
"amount": 240.00,
|
|
51
|
+
"status": "cancelled",
|
|
52
|
+
"priority": "low",
|
|
53
|
+
"date": "2024-01-13T14:20:00"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "ORD-7888",
|
|
57
|
+
"customer": {
|
|
58
|
+
"name": "Candice Wu",
|
|
59
|
+
"email": "candice@omnira.space",
|
|
60
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=candice-wu"
|
|
61
|
+
},
|
|
62
|
+
"product": "Enterprise Suite — Annual",
|
|
63
|
+
"amount": 9600.00,
|
|
64
|
+
"status": "delivered",
|
|
65
|
+
"priority": "high",
|
|
66
|
+
"date": "2024-01-12T11:05:00"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "ORD-7887",
|
|
70
|
+
"customer": {
|
|
71
|
+
"name": "Natali Craig",
|
|
72
|
+
"email": "natali@omnira.space",
|
|
73
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=natali-craig"
|
|
74
|
+
},
|
|
75
|
+
"product": "Starter Plan — Monthly",
|
|
76
|
+
"amount": 49.00,
|
|
77
|
+
"status": "processing",
|
|
78
|
+
"priority": "medium",
|
|
79
|
+
"date": "2024-01-12T09:58:00"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "ORD-7886",
|
|
83
|
+
"customer": {
|
|
84
|
+
"name": "Drew Cano",
|
|
85
|
+
"email": "drew@omnira.space",
|
|
86
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=drew-cano"
|
|
87
|
+
},
|
|
88
|
+
"product": "Pro Workspace — Annual",
|
|
89
|
+
"amount": 2400.00,
|
|
90
|
+
"status": "shipped",
|
|
91
|
+
"priority": "low",
|
|
92
|
+
"date": "2024-01-11T16:30:00"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "ORD-7885",
|
|
96
|
+
"customer": {
|
|
97
|
+
"name": "Orlando Diggs",
|
|
98
|
+
"email": "orlando@omnira.space",
|
|
99
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=orlando-diggs"
|
|
100
|
+
},
|
|
101
|
+
"product": "Enterprise Suite — Monthly",
|
|
102
|
+
"amount": 890.00,
|
|
103
|
+
"status": "delivered",
|
|
104
|
+
"priority": "medium",
|
|
105
|
+
"date": "2024-01-11T10:12:00"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"items": [
|
|
3
|
+
{
|
|
4
|
+
"name": "Olivia Rhye",
|
|
5
|
+
"username": "olivia-rhye",
|
|
6
|
+
"email": "olivia@omnira.space",
|
|
7
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=olivia-rhye",
|
|
8
|
+
"role": "Product Designer",
|
|
9
|
+
"status": "active",
|
|
10
|
+
"teams": [
|
|
11
|
+
{ "name": "Design", "color": "accent" },
|
|
12
|
+
{ "name": "Product", "color": "info" },
|
|
13
|
+
{ "name": "Marketing", "color": "warning" }
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "Phoenix Baker",
|
|
18
|
+
"username": "phoenix-baker",
|
|
19
|
+
"email": "phoenix@omnira.space",
|
|
20
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=phoenix-baker",
|
|
21
|
+
"role": "Software Engineer",
|
|
22
|
+
"status": "active",
|
|
23
|
+
"teams": [
|
|
24
|
+
{ "name": "Engineering", "color": "success" },
|
|
25
|
+
{ "name": "Product", "color": "info" }
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "Lana Steiner",
|
|
30
|
+
"username": "lana-steiner",
|
|
31
|
+
"email": "lana@omnira.space",
|
|
32
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=lana-steiner",
|
|
33
|
+
"role": "VP of Sales",
|
|
34
|
+
"status": "active",
|
|
35
|
+
"teams": [
|
|
36
|
+
{ "name": "Sales", "color": "error" },
|
|
37
|
+
{ "name": "Marketing", "color": "warning" },
|
|
38
|
+
{ "name": "Finance", "color": "info" },
|
|
39
|
+
{ "name": "Ops", "color": "success" }
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Demi Wilkinson",
|
|
44
|
+
"username": "demi-wilkinson",
|
|
45
|
+
"email": "demi@omnira.space",
|
|
46
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=demi-wilkinson",
|
|
47
|
+
"role": "Frontend Developer",
|
|
48
|
+
"status": "inactive",
|
|
49
|
+
"teams": [
|
|
50
|
+
{ "name": "Engineering", "color": "success" },
|
|
51
|
+
{ "name": "Design", "color": "accent" }
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "Candice Wu",
|
|
56
|
+
"username": "candice-wu",
|
|
57
|
+
"email": "candice@omnira.space",
|
|
58
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=candice-wu",
|
|
59
|
+
"role": "Backend Developer",
|
|
60
|
+
"status": "active",
|
|
61
|
+
"teams": [
|
|
62
|
+
{ "name": "Engineering", "color": "success" },
|
|
63
|
+
{ "name": "Product", "color": "info" },
|
|
64
|
+
{ "name": "DevOps", "color": "warning" }
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "Natali Craig",
|
|
69
|
+
"username": "natali-craig",
|
|
70
|
+
"email": "natali@omnira.space",
|
|
71
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=natali-craig",
|
|
72
|
+
"role": "Product Manager",
|
|
73
|
+
"status": "active",
|
|
74
|
+
"teams": [
|
|
75
|
+
{ "name": "Product", "color": "info" },
|
|
76
|
+
{ "name": "Design", "color": "accent" },
|
|
77
|
+
{ "name": "Marketing", "color": "warning" }
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "Drew Cano",
|
|
82
|
+
"username": "drew-cano",
|
|
83
|
+
"email": "drew@omnira.space",
|
|
84
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=drew-cano",
|
|
85
|
+
"role": "UX Researcher",
|
|
86
|
+
"status": "active",
|
|
87
|
+
"teams": [
|
|
88
|
+
{ "name": "Design", "color": "accent" },
|
|
89
|
+
{ "name": "Product", "color": "info" }
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "Orlando Diggs",
|
|
94
|
+
"username": "orlando-diggs",
|
|
95
|
+
"email": "orlando@omnira.space",
|
|
96
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=orlando-diggs",
|
|
97
|
+
"role": "DevOps Engineer",
|
|
98
|
+
"status": "inactive",
|
|
99
|
+
"teams": [
|
|
100
|
+
{ "name": "Engineering", "color": "success" },
|
|
101
|
+
{ "name": "DevOps", "color": "warning" }
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "Andi Lane",
|
|
106
|
+
"username": "andi-lane",
|
|
107
|
+
"email": "andi@omnira.space",
|
|
108
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=andi-lane",
|
|
109
|
+
"role": "Data Analyst",
|
|
110
|
+
"status": "active",
|
|
111
|
+
"teams": [
|
|
112
|
+
{ "name": "Product", "color": "info" },
|
|
113
|
+
{ "name": "Finance", "color": "info" },
|
|
114
|
+
{ "name": "Engineering", "color": "success" }
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "Kate Morrison",
|
|
119
|
+
"username": "kate-morrison",
|
|
120
|
+
"email": "kate@omnira.space",
|
|
121
|
+
"avatarUrl": "https://i.pravatar.cc/150?u=kate-morrison",
|
|
122
|
+
"role": "Marketing Lead",
|
|
123
|
+
"status": "active",
|
|
124
|
+
"teams": [
|
|
125
|
+
{ "name": "Marketing", "color": "warning" },
|
|
126
|
+
{ "name": "Sales", "color": "error" }
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"items": [
|
|
3
|
+
{
|
|
4
|
+
"name": "Tech design requirements.pdf",
|
|
5
|
+
"size": "200 KB",
|
|
6
|
+
"uploadedAt": "Jan 4, 2024",
|
|
7
|
+
"updatedAt": "Jan 4, 2024",
|
|
8
|
+
"uploadedBy": "Natali Craig"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "Dashboard screenshot.jpg",
|
|
12
|
+
"size": "720 KB",
|
|
13
|
+
"uploadedAt": "Jan 4, 2024",
|
|
14
|
+
"updatedAt": "Jan 6, 2024",
|
|
15
|
+
"uploadedBy": "Drew Cano"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Dashboard prototype recording.mp4",
|
|
19
|
+
"size": "16 MB",
|
|
20
|
+
"uploadedAt": "Jan 2, 2024",
|
|
21
|
+
"updatedAt": "Jan 3, 2024",
|
|
22
|
+
"uploadedBy": "Orlando Diggs"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "Branding guidelines.pdf",
|
|
26
|
+
"size": "480 KB",
|
|
27
|
+
"uploadedAt": "Dec 20, 2023",
|
|
28
|
+
"updatedAt": "Dec 24, 2023",
|
|
29
|
+
"uploadedBy": "Kate Morrison"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "Financial projections.xls",
|
|
33
|
+
"size": "120 KB",
|
|
34
|
+
"uploadedAt": "Dec 18, 2023",
|
|
35
|
+
"updatedAt": "Dec 22, 2023",
|
|
36
|
+
"uploadedBy": "Olivia Rhye"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "App icon.svg",
|
|
40
|
+
"size": "32 KB",
|
|
41
|
+
"uploadedAt": "Dec 15, 2023",
|
|
42
|
+
"updatedAt": "Dec 18, 2023",
|
|
43
|
+
"uploadedBy": "Candice Wu"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "API documentation.pdf",
|
|
47
|
+
"size": "1.2 MB",
|
|
48
|
+
"uploadedAt": "Dec 12, 2023",
|
|
49
|
+
"updatedAt": "Dec 14, 2023",
|
|
50
|
+
"uploadedBy": "Phoenix Baker"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnira-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "A premium glassmorphism design system — dark-first, glass-forward. 30+ base components, sidebar navigation, feature cards, and a CLI to scaffold your project.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|