@agentpaid/paid-nextjs-client 0.3.0-test.1 → 0.3.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/README.md +246 -72
- package/dist/components/PaidActivityLog.d.ts +11 -24
- package/dist/components/PaidActivityLog.d.ts.map +1 -1
- package/dist/components/PaidActivityLog.js +53 -26
- package/dist/components/PaidActivityLog.js.map +1 -1
- package/dist/components/PaidContainer.d.ts +11 -24
- package/dist/components/PaidContainer.d.ts.map +1 -1
- package/dist/components/PaidContainer.js +18 -9
- package/dist/components/PaidContainer.js.map +1 -1
- package/dist/components/PaidInvoiceTable.d.ts +11 -24
- package/dist/components/PaidInvoiceTable.d.ts.map +1 -1
- package/dist/components/PaidInvoiceTable.js +57 -30
- package/dist/components/PaidInvoiceTable.js.map +1 -1
- package/dist/components/PaidPaymentsTable.d.ts +11 -24
- package/dist/components/PaidPaymentsTable.d.ts.map +1 -1
- package/dist/components/PaidPaymentsTable.js +58 -28
- package/dist/components/PaidPaymentsTable.js.map +1 -1
- package/dist/components/components/PaidActivityLog.js +98 -57
- package/dist/components/components/PaidContainer.js +42 -32
- package/dist/components/components/PaidInvoiceTable.js +103 -86
- package/dist/components/components/PaidPaymentsTable.js +107 -69
- package/dist/components/components/ui/Pagination.js +168 -0
- package/dist/components/ui/Pagination.d.ts +10 -0
- package/dist/components/ui/Pagination.d.ts.map +1 -0
- package/dist/components/ui/Pagination.js +111 -0
- package/dist/components/ui/Pagination.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/activity-log-table.css +94 -78
- package/dist/styles/paid-container.css +25 -16
- package/dist/styles/paid-invoice-table.css +135 -120
- package/dist/styles/paid-payments-table.css +65 -109
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/cache.js +1 -1
- package/dist/utils/cache.js.map +1 -1
- package/package.json +1 -1
@@ -1,111 +1,127 @@
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
|
2
2
|
|
3
|
-
/*
|
3
|
+
/* Activity Log Table Styles */
|
4
4
|
.paid-activity-log-container {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
position: relative;
|
6
|
+
min-width: 0;
|
7
|
+
font-family: var(--paid-font-family, 'Roboto');
|
8
|
+
width: 100%;
|
9
|
+
max-width: 100%;
|
10
|
+
overflow: hidden;
|
11
|
+
box-sizing: border-box;
|
10
12
|
}
|
11
13
|
|
12
14
|
.paid-activity-log-table-wrapper {
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
15
|
+
position: relative;
|
16
|
+
background: var(--paid-table-background-color, #ffffff);
|
17
|
+
border: 1px solid #e5e7eb;
|
18
|
+
border-radius: 12px;
|
19
|
+
box-shadow: 0 2px 16px 0 rgba(16, 24, 40, 0.08);
|
20
|
+
overflow-x: auto;
|
21
|
+
transition: box-shadow 0.2s;
|
22
|
+
font-family: var(--paid-font-family, 'Roboto');
|
23
|
+
width: 100%;
|
24
|
+
min-width: 0;
|
23
25
|
}
|
26
|
+
|
24
27
|
.paid-activity-log-table-wrapper:active {
|
25
|
-
|
28
|
+
box-shadow: 0 4px 24px 0 rgba(16, 24, 40, 0.16);
|
26
29
|
}
|
27
30
|
|
28
|
-
/* Header styles */
|
29
31
|
.paid-activity-log-header {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
32
|
+
display: flex;
|
33
|
+
justify-content: space-between;
|
34
|
+
align-items: center;
|
35
|
+
padding: var(--paid-header-padding, 18px 24px);
|
36
|
+
background: var(--paid-container-background-color, #f8f9fa);
|
37
|
+
border-bottom: 1px solid #e5e7eb;
|
38
|
+
border-radius: 12px 12px 0 0;
|
39
|
+
font-family: var(--paid-font-family, 'Roboto');
|
38
40
|
}
|
41
|
+
|
39
42
|
.paid-activity-log-title {
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
font-weight: var(--paid-toggle-font-weight, 500);
|
48
|
-
color: var(--paid-toggle-color, #2563eb);
|
49
|
-
background: none;
|
50
|
-
border: none;
|
51
|
-
cursor: pointer;
|
52
|
-
text-decoration: none;
|
53
|
-
padding: 0;
|
54
|
-
font-family: var(--paid-font-family, 'Roboto');
|
55
|
-
}
|
56
|
-
|
57
|
-
/* Table styles */
|
43
|
+
margin: 0;
|
44
|
+
font-size: var(--paid-h3-font-size, 1.1rem);
|
45
|
+
font-weight: 600;
|
46
|
+
color: var(--paid-primary-color, #1d2939);
|
47
|
+
font-family: var(--paid-font-family, 'Roboto');
|
48
|
+
}
|
49
|
+
|
58
50
|
.paid-activity-log-table {
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
51
|
+
width: 100%;
|
52
|
+
min-width: 0;
|
53
|
+
table-layout: fixed;
|
54
|
+
word-break: break-word;
|
55
|
+
border-collapse: separate;
|
56
|
+
border-spacing: 0;
|
57
|
+
background: var(--paid-table-background-color, #ffffff);
|
58
|
+
font-family: var(--paid-font-family, 'Roboto');
|
59
|
+
max-width: 100%;
|
60
|
+
box-sizing: border-box;
|
67
61
|
}
|
62
|
+
|
68
63
|
.paid-activity-log-table th,
|
69
64
|
.paid-activity-log-table td {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
65
|
+
padding: var(--paid-cell-padding, 8px 8px);
|
66
|
+
font-size: var(--paid-paragraph-font-size, 0.95rem);
|
67
|
+
white-space: normal;
|
68
|
+
word-break: break-word;
|
69
|
+
overflow: hidden;
|
70
|
+
text-overflow: ellipsis;
|
74
71
|
}
|
72
|
+
|
75
73
|
.paid-activity-log-table th {
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
74
|
+
font-size: var(--paid-paragraph-font-size, 1rem);
|
75
|
+
font-weight: 500;
|
76
|
+
color: var(--paid-table-header-color, var(--paid-secondary-color, #667085));
|
77
|
+
text-align: left;
|
78
|
+
padding: var(--paid-header-padding, 18px 24px);
|
79
|
+
background: var(--paid-table-header-background-color, #f9fafb);
|
80
|
+
border-bottom: 1px solid #e5e7eb;
|
83
81
|
}
|
82
|
+
|
84
83
|
.paid-activity-log-table td {
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
84
|
+
font-size: var(--paid-paragraph-font-size, 0.97rem);
|
85
|
+
font-weight: normal;
|
86
|
+
color: var(--paid-table-cell-color, var(--paid-primary-color, #1d2939));
|
87
|
+
background: transparent;
|
88
|
+
padding: var(--paid-cell-padding, 16px 24px);
|
89
|
+
border-bottom: 1px solid #f1f1f1;
|
90
|
+
vertical-align: middle;
|
91
91
|
}
|
92
|
+
|
92
93
|
.paid-activity-log-table tr:last-child td {
|
93
|
-
|
94
|
+
border-bottom: none;
|
94
95
|
}
|
95
|
-
|
96
|
-
|
96
|
+
|
97
|
+
.paid-activity-log-table tbody tr:hover td {
|
98
|
+
background: var(--paid-table-hover-color, #f3f4f6);
|
97
99
|
}
|
100
|
+
|
98
101
|
.paid-activity-log-table th,
|
99
102
|
.paid-activity-log-table td {
|
100
|
-
|
103
|
+
white-space: nowrap;
|
101
104
|
}
|
102
105
|
|
103
|
-
/* Empty
|
106
|
+
/* Empty State */
|
104
107
|
.paid-activity-log-empty {
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
108
|
+
text-align: center;
|
109
|
+
color: var(--paid-secondary-color, #98a2b3);
|
110
|
+
padding: 40px 0;
|
111
|
+
font-size: var(--paid-paragraph-font-size, 1rem);
|
112
|
+
}
|
113
|
+
|
114
|
+
/* Responsive Design */
|
115
|
+
@media (max-width: 768px) {
|
116
|
+
.paid-activity-log-table th,
|
117
|
+
.paid-activity-log-table td {
|
118
|
+
padding: var(--paid-cell-padding, 12px 16px);
|
119
|
+
font-size: var(--paid-paragraph-font-size, 0.8rem);
|
120
|
+
}
|
121
|
+
|
122
|
+
.paid-activity-log-table {
|
123
|
+
min-width: 600px;
|
124
|
+
}
|
109
125
|
}
|
110
126
|
|
111
127
|
/* Resize handles */
|
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
.paid-container-wrapper {
|
13
13
|
position: relative;
|
14
|
-
background: #f8f9fa;
|
14
|
+
background: var(--paid-container-background-color, #f8f9fa);
|
15
15
|
border: 1px solid #e9ecef;
|
16
16
|
border-radius: 8px;
|
17
17
|
overflow: hidden;
|
@@ -36,17 +36,17 @@
|
|
36
36
|
}
|
37
37
|
|
38
38
|
.paid-container-title {
|
39
|
-
font-size: var(--paid-
|
40
|
-
font-weight:
|
41
|
-
color: var(--paid-
|
39
|
+
font-size: var(--paid-h2-font-size, 1.5rem);
|
40
|
+
font-weight: 600;
|
41
|
+
color: var(--paid-primary-color, #1d2939);
|
42
42
|
font-family: var(--paid-font-family, 'Roboto');
|
43
43
|
margin: 0 0 8px 0;
|
44
44
|
line-height: 1.3;
|
45
45
|
}
|
46
46
|
|
47
47
|
.paid-container-description {
|
48
|
-
font-size: var(--paid-
|
49
|
-
color: var(--paid-
|
48
|
+
font-size: var(--paid-paragraph-font-size, 0.95rem);
|
49
|
+
color: var(--paid-secondary-color, #667085);
|
50
50
|
font-family: var(--paid-font-family, 'Roboto');
|
51
51
|
margin: 0;
|
52
52
|
line-height: 1.4;
|
@@ -56,17 +56,17 @@
|
|
56
56
|
.paid-container-tabs {
|
57
57
|
display: flex;
|
58
58
|
gap: 4px;
|
59
|
-
background: #
|
60
|
-
border-radius:
|
59
|
+
background: var(--paid-tab-background-color, #e9ecef);
|
60
|
+
border-radius: 16px;
|
61
61
|
min-height: 48px;
|
62
62
|
position: relative;
|
63
63
|
padding: 4px;
|
64
64
|
}
|
65
65
|
|
66
66
|
.paid-container-tab {
|
67
|
-
font-size: var(--paid-
|
67
|
+
font-size: var(--paid-paragraph-font-size, 1rem);
|
68
68
|
font-weight: 500;
|
69
|
-
color: #6B7280;
|
69
|
+
color: var(--paid-tab-text-color, var(--paid-secondary-color, #6B7280));
|
70
70
|
background: none;
|
71
71
|
border: none;
|
72
72
|
border-radius: 12px;
|
@@ -88,20 +88,24 @@
|
|
88
88
|
}
|
89
89
|
|
90
90
|
.paid-container-tab:hover {
|
91
|
-
background: white;
|
91
|
+
background: var(--paid-tab-hover-background-color, white);
|
92
92
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
93
|
+
color: var(--paid-tab-hover-text-color, var(--paid-hover-color, var(--paid-primary-color, #1d2939)));
|
93
94
|
}
|
94
95
|
|
95
96
|
.paid-container-tab.active {
|
96
|
-
color: #1d2939;
|
97
|
+
color: var(--paid-tab-active-text-color, var(--paid-primary-color, #1d2939));
|
97
98
|
font-weight: 600;
|
98
|
-
background: white;
|
99
|
+
background: var(--paid-tab-active-background-color, white);
|
99
100
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
100
101
|
}
|
101
102
|
|
102
103
|
.paid-container-tab:focus {
|
103
104
|
outline: none;
|
104
|
-
|
105
|
+
}
|
106
|
+
|
107
|
+
.paid-container-tab:active {
|
108
|
+
color: var(--paid-pressed-color, var(--paid-primary-color, #1d2939));
|
105
109
|
}
|
106
110
|
|
107
111
|
/* Content styles */
|
@@ -110,6 +114,11 @@
|
|
110
114
|
font-family: var(--paid-font-family, 'Roboto');
|
111
115
|
}
|
112
116
|
|
117
|
+
/* Add extra spacing when no tabs are present */
|
118
|
+
.paid-container-header:not(:has(.paid-container-tabs)) + .paid-container-content {
|
119
|
+
padding-top: 24px;
|
120
|
+
}
|
121
|
+
|
113
122
|
/* Responsive design */
|
114
123
|
@media (max-width: 768px) {
|
115
124
|
.paid-container-header {
|
@@ -130,10 +139,10 @@
|
|
130
139
|
}
|
131
140
|
|
132
141
|
.paid-container-title {
|
133
|
-
font-size: var(--paid-
|
142
|
+
font-size: var(--paid-h2-font-size, 1.25rem);
|
134
143
|
}
|
135
144
|
|
136
145
|
.paid-container-description {
|
137
|
-
font-size: var(--paid-
|
146
|
+
font-size: var(--paid-paragraph-font-size, 0.875rem);
|
138
147
|
}
|
139
148
|
}
|