@chrryai/chrry 1.1.78

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.
Files changed (116) hide show
  1. package/About.module.scss +112 -0
  2. package/Account.module.scss +159 -0
  3. package/AddToHomeScreen.module.scss +126 -0
  4. package/Affiliate.module.scss +245 -0
  5. package/AffiliateDashboard.module.scss +269 -0
  6. package/Agent.module.scss +197 -0
  7. package/AnimatedWrapper.module.scss +0 -0
  8. package/App.module.scss +283 -0
  9. package/Bookmark.module.scss +15 -0
  10. package/Calendar.module.scss +824 -0
  11. package/CharacterProfiles.module.scss +29 -0
  12. package/Chat.module.scss +932 -0
  13. package/Checkbox.module.scss +67 -0
  14. package/Chrry.module.scss +69 -0
  15. package/Collaborate.module.scss +22 -0
  16. package/CollaborationStatus.module.scss +17 -0
  17. package/CollaborationTooltip.module.scss +257 -0
  18. package/ColorScheme.module.scss +24 -0
  19. package/EditThread.module.scss +51 -0
  20. package/EmptyStateTips.module.scss +52 -0
  21. package/EnableNotifications.module.scss +20 -0
  22. package/EventModal.module.scss +277 -0
  23. package/Img.module.scss +48 -0
  24. package/Instructions.module.scss +333 -0
  25. package/LICENSE +664 -0
  26. package/LanguageSwitcher.module.scss +21 -0
  27. package/Loading.module.scss +32 -0
  28. package/MarkdownContent.module.scss +161 -0
  29. package/MemoryConsent.module.scss +41 -0
  30. package/Menu.module.scss +272 -0
  31. package/Message.module.scss +470 -0
  32. package/Messages.module.scss +86 -0
  33. package/Modal.module.scss +118 -0
  34. package/README.md +112 -0
  35. package/Search.module.scss +26 -0
  36. package/Select.module.scss +32 -0
  37. package/Share.module.scss +84 -0
  38. package/Sidebar.module.scss +69 -0
  39. package/SignIn.module.scss +129 -0
  40. package/Skeleton.module.scss +232 -0
  41. package/SplashScreen.module.scss +189 -0
  42. package/Star.module.scss +15 -0
  43. package/Store.module.scss +240 -0
  44. package/Subscribe.module.scss +219 -0
  45. package/Testimonials.module.scss +33 -0
  46. package/Thread.module.scss +111 -0
  47. package/Threads.module.scss +105 -0
  48. package/TypingIndicator.module.scss +93 -0
  49. package/Users.module.scss +98 -0
  50. package/Version.module.scss +22 -0
  51. package/Weather.module.scss +31 -0
  52. package/Why.module.scss +79 -0
  53. package/__tests__/README.md +126 -0
  54. package/__tests__/TestComponent.module.scss +236 -0
  55. package/animations.scss +163 -0
  56. package/breakpoints.scss +8 -0
  57. package/context/AppContext.module.scss +22 -0
  58. package/context/providers/README.md +329 -0
  59. package/dist/About.module-RPTFOKG6.scss +112 -0
  60. package/dist/Account.module-AA2NOD5S.scss +159 -0
  61. package/dist/AddToHomeScreen.module-P6HAQ4QD.scss +126 -0
  62. package/dist/Affiliate.module-YM7MG54E.scss +245 -0
  63. package/dist/AffiliateDashboard.module-SZQJJBME.scss +269 -0
  64. package/dist/Agent.module-66YIBDMM.scss +197 -0
  65. package/dist/App.module-TOWYJFPB.scss +283 -0
  66. package/dist/Bookmark.module-UVMQ4TED.scss +15 -0
  67. package/dist/Calendar.module-HHEIXJEA.scss +824 -0
  68. package/dist/CharacterProfiles.module-KABR34TV.scss +29 -0
  69. package/dist/Chat.module-Y4TGJLBQ.scss +932 -0
  70. package/dist/Checkbox.module-RNW2YOC5.scss +67 -0
  71. package/dist/Chrry.module-SLPTRY52.scss +69 -0
  72. package/dist/Collaborate.module-MLRE23FZ.scss +22 -0
  73. package/dist/CollaborationStatus.module-CRGOOW56.scss +17 -0
  74. package/dist/ColorScheme.module-N7SJ5N52.scss +24 -0
  75. package/dist/EditThread.module-L3HOEGS3.scss +51 -0
  76. package/dist/EmptyStateTips.module-JLNPQ4OO.scss +52 -0
  77. package/dist/EnableNotifications.module-C4MYQTUA.scss +20 -0
  78. package/dist/EventModal.module-K7VNKTCE.scss +277 -0
  79. package/dist/Instructions.module-JMFWEXAP.scss +333 -0
  80. package/dist/LanguageSwitcher.module-MT2SIZ4L.scss +21 -0
  81. package/dist/Loading.module-OU42QILE.scss +32 -0
  82. package/dist/MarkdownContent.module-64GHE3YP.scss +161 -0
  83. package/dist/MemoryConsent.module-FZL3REH4.scss +41 -0
  84. package/dist/Menu.module-RVXPXILR.scss +272 -0
  85. package/dist/Message.module-5UUYCVY2.scss +470 -0
  86. package/dist/Messages.module-GBPUAPAI.scss +86 -0
  87. package/dist/Modal.module-TOU4YLFQ.scss +118 -0
  88. package/dist/Search.module-GU3BRADG.scss +26 -0
  89. package/dist/Select.module-R7QM256C.scss +32 -0
  90. package/dist/Share.module-VQBCBSA5.scss +84 -0
  91. package/dist/Sidebar.module-AUSDVTCY.scss +69 -0
  92. package/dist/SignIn.module-53SOSG63.scss +129 -0
  93. package/dist/Skeleton.module-REMEBLDY.scss +232 -0
  94. package/dist/Store.module-NP6776GY.scss +240 -0
  95. package/dist/Subscribe.module-NVGQ57RA.scss +219 -0
  96. package/dist/Thread.module-QAJI6KOQ.scss +111 -0
  97. package/dist/Threads.module-J54DFQQZ.scss +105 -0
  98. package/dist/Users.module-ZRHCY63D.scss +98 -0
  99. package/dist/Version.module-MLMD7GW5.scss +22 -0
  100. package/dist/Weather.module-NT6XFKA7.scss +31 -0
  101. package/dist/Why.module-UVZJCJF7.scss +79 -0
  102. package/dist/index.d.mts +1408 -0
  103. package/dist/index.d.ts +1408 -0
  104. package/dist/index.js +44600 -0
  105. package/dist/index.js.map +1 -0
  106. package/dist/index.mjs +44575 -0
  107. package/dist/index.mjs.map +1 -0
  108. package/dist/react-tooltip.min-LLVNRY3Z.css +1 -0
  109. package/globals.css +91 -0
  110. package/globals.scss +585 -0
  111. package/icons/README.md +150 -0
  112. package/package.json +118 -0
  113. package/styles/view-transitions.css +207 -0
  114. package/toRem.scss +6 -0
  115. package/utils.module.scss +116 -0
  116. package/utils.scss +88 -0
@@ -0,0 +1,269 @@
1
+ @use "./toRem.scss";
2
+ @use "./breakpoints.scss";
3
+
4
+ .affiliate {
5
+ width: 100%;
6
+ max-width: breakpoints.$breakpoint-tablet;
7
+ margin: 0 auto;
8
+ padding: toRem.toRem(5);
9
+ margin-bottom: toRem.toRem(20);
10
+
11
+ .loading {
12
+ text-align: center;
13
+ margin-top: toRem.toRem(50);
14
+ }
15
+ .dashboard {
16
+ .header {
17
+ display: flex;
18
+ justify-content: space-between;
19
+ align-items: center;
20
+
21
+ h1 {
22
+ margin-top: toRem.toRem(5);
23
+ margin-bottom: 0;
24
+ display: flex;
25
+ align-items: center;
26
+ gap: toRem.toRem(10);
27
+ }
28
+
29
+ .status {
30
+ .statusBadge {
31
+ padding: toRem.toRem(2) toRem.toRem(8);
32
+ border-radius: 20px;
33
+ font-size: toRem.toRem(13);
34
+ &.active {
35
+ background: var(--accent-4);
36
+ color: white;
37
+ }
38
+ &.inactive {
39
+ background: var(--shade-2);
40
+ }
41
+ }
42
+ }
43
+ }
44
+
45
+ .linkSection {
46
+ margin-bottom: toRem.toRem(30);
47
+ background: var(--background-secondary);
48
+
49
+ h2 {
50
+ font-size: 1.5rem;
51
+ margin-bottom: 1rem;
52
+ }
53
+
54
+ .linkBox {
55
+ display: flex;
56
+ align-items: center;
57
+ gap: toRem.toRem(12.5);
58
+ margin-bottom: 0.5rem;
59
+ flex-wrap: wrap;
60
+ justify-content: center;
61
+
62
+ .linkInput {
63
+ flex: 1;
64
+ }
65
+
66
+ .copyButton {
67
+ }
68
+ }
69
+
70
+ .linkHelp {
71
+ color: var(--text-secondary);
72
+ font-size: 0.9rem;
73
+ margin-top: toRem.toRem(5);
74
+ color: var(--accent-1);
75
+ text-align: center;
76
+ }
77
+ }
78
+
79
+ .payoutSection {
80
+ text-align: center;
81
+ margin: toRem.toRem(20) 0;
82
+ padding: toRem.toRem(20);
83
+
84
+ .payoutNote {
85
+ margin-top: toRem.toRem(10);
86
+ font-size: toRem.toRem(14);
87
+ color: var(--text-secondary);
88
+ }
89
+
90
+ .pendingPayoutInfo {
91
+ padding: toRem.toRem(20);
92
+ background: var(--shade-1);
93
+ border: 1px dashed var(--shade-3);
94
+ border-radius: toRem.toRem(20);
95
+
96
+ .pendingBadge {
97
+ display: inline-flex;
98
+ align-items: center;
99
+ gap: toRem.toRem(8);
100
+ color: var(--shade-0);
101
+ border-radius: toRem.toRem(20);
102
+ font-weight: bold;
103
+ margin-bottom: toRem.toRem(5);
104
+ }
105
+
106
+ .pendingAmount {
107
+ font-size: toRem.toRem(32);
108
+ font-weight: bold;
109
+ color: var(--accent-1);
110
+ }
111
+
112
+ .pendingDate {
113
+ font-size: toRem.toRem(14);
114
+ color: var(--text-secondary);
115
+ margin: toRem.toRem(5) 0;
116
+ }
117
+
118
+ .pendingNote {
119
+ font-size: toRem.toRem(14);
120
+ color: var(--text-secondary);
121
+ }
122
+ }
123
+ }
124
+
125
+ .statsGrid {
126
+ display: flex;
127
+ flex-wrap: wrap;
128
+ gap: toRem.toRem(10);
129
+ justify-content: center;
130
+
131
+ .statCard {
132
+ padding: toRem.toRem(10);
133
+ border-radius: toRem.toRem(20);
134
+ flex: 1;
135
+ display: flex;
136
+ flex-direction: column;
137
+ align-items: center;
138
+ gap: toRem.toRem(10);
139
+ justify-content: center;
140
+ min-width: toRem.toRem(150);
141
+ background-color: var(--shade-1);
142
+
143
+ transition: transform 0.2s;
144
+ border: 1px dashed var(--shade-2);
145
+
146
+ &:hover {
147
+ @media (min: breakpoints.$breakpoint-mobile) {
148
+ transform: translateY(-2px);
149
+ }
150
+ border-style: solid;
151
+ background-color: var(--shade-1);
152
+ }
153
+
154
+ .statIcon {
155
+ width: 50px;
156
+ height: 50px;
157
+ border-radius: 10px;
158
+ background: var(--primary);
159
+ display: flex;
160
+ align-items: center;
161
+ justify-content: center;
162
+ }
163
+
164
+ .statContent {
165
+ flex: 1;
166
+ text-align: center;
167
+
168
+ .statLabel {
169
+ font-size: 0.9rem;
170
+ color: var(--text-secondary);
171
+ margin-bottom: 0.25rem;
172
+ }
173
+
174
+ .statValue {
175
+ font-size: 2rem;
176
+ font-weight: bold;
177
+ }
178
+ }
179
+ }
180
+ }
181
+
182
+ .referralsSection {
183
+ margin-bottom: 3rem;
184
+
185
+ h2 {
186
+ font-size: 1.5rem;
187
+ margin-bottom: 1rem;
188
+ text-align: center;
189
+ margin: toRem.toRem(20) 0;
190
+ }
191
+
192
+ .referralsGrid {
193
+ display: flex;
194
+ flex-wrap: wrap;
195
+ gap: toRem.toRem(10);
196
+ justify-content: center;
197
+
198
+ .referralStat {
199
+ padding: toRem.toRem(15);
200
+ border-radius: toRem.toRem(20);
201
+ border: 1px dashed var(--shade-2);
202
+ text-align: center;
203
+ transition: transform 0.2s;
204
+ min-width: toRem.toRem(130);
205
+
206
+ &:hover {
207
+ @media (min: breakpoints.$breakpoint-mobile) {
208
+ transform: translateY(-2px);
209
+ }
210
+ border-style: solid;
211
+ background-color: var(--shade-1);
212
+ }
213
+
214
+ .referralLabel {
215
+ font-size: 0.9rem;
216
+ color: var(--text-secondary);
217
+ margin-bottom: 0.5rem;
218
+ }
219
+
220
+ .referralValue {
221
+ font-size: 2rem;
222
+ font-weight: bold;
223
+ color: var(--primary);
224
+ }
225
+ }
226
+ }
227
+ }
228
+
229
+ .info {
230
+ background: var(--shade-1);
231
+ padding: toRem.toRem(15);
232
+ border: 1px solid var(--shade-2);
233
+ border-radius: toRem.toRem(20);
234
+
235
+ h3 {
236
+ font-size: 1.3rem;
237
+ margin: 0;
238
+ }
239
+
240
+ ul {
241
+ list-style: none;
242
+ padding: 0;
243
+ margin: 0;
244
+ margin-top: toRem.toRem(5);
245
+
246
+ li {
247
+ line-height: 1.8;
248
+
249
+ strong {
250
+ color: var(--primary);
251
+ }
252
+ }
253
+ }
254
+ }
255
+ }
256
+
257
+ .footer {
258
+ display: flex;
259
+ justify-content: center;
260
+ margin-top: toRem.toRem(20);
261
+
262
+ .logo {
263
+ color: var(--foreground);
264
+ }
265
+ }
266
+ .goToDashboard {
267
+ margin-top: toRem.toRem(10);
268
+ }
269
+ }
@@ -0,0 +1,197 @@
1
+ @use "./breakpoints.scss";
2
+ @use "./utils.scss";
3
+ @use "./toRem.scss";
4
+
5
+ .newAgent {
6
+ margin: 0 auto;
7
+ }
8
+
9
+ .modalContent {
10
+ display: flex;
11
+ flex-direction: column;
12
+ gap: toRem.toRem(10);
13
+ font-size: toRem.toRem(14);
14
+ }
15
+
16
+ .footer {
17
+ flex-wrap: wrap;
18
+ display: flex;
19
+ justify-content: center;
20
+ gap: toRem.toRem(10);
21
+ border-top: toRem.toRem(1) dashed var(--shade-2);
22
+ padding-top: toRem.toRem(10);
23
+
24
+ &:empty {
25
+ display: none;
26
+ }
27
+ }
28
+
29
+ .tabButton {
30
+ &.currentTab {
31
+ font-size: toRem.toRem(13);
32
+ margin: 0 toRem.toRem(5);
33
+ transform: scale(1.1);
34
+ }
35
+
36
+ &:not(.currentTab):hover {
37
+ transition: all 0.2s ease;
38
+
39
+ transform: scale(1.1);
40
+ transition: transform 0.2s ease;
41
+ }
42
+ }
43
+
44
+ .placeholder {
45
+ flex: 1;
46
+ }
47
+
48
+ .instructionsContainer {
49
+ display: flex;
50
+ flex-direction: column;
51
+ position: relative;
52
+ align-items: center;
53
+ gap: toRem.toRem(12.5);
54
+ }
55
+
56
+ span.required {
57
+ font-size: toRem.toRem(14);
58
+ color: var(--accent-1);
59
+ }
60
+
61
+ .instructionsButtonContainer {
62
+ display: flex;
63
+ align-items: center;
64
+ gap: toRem.toRem(5);
65
+ }
66
+
67
+ .select {
68
+ margin-left: auto;
69
+ border-radius: var(--radius);
70
+ }
71
+
72
+ .range {
73
+ margin-left: auto;
74
+ accent-color: var(--accent-1);
75
+ }
76
+
77
+ .tabContent {
78
+ display: flex;
79
+ flex-direction: column;
80
+ }
81
+
82
+ .colorOptions {
83
+ display: flex;
84
+ gap: toRem.toRem(6);
85
+ }
86
+
87
+ .apiKeys {
88
+ display: flex;
89
+ gap: toRem.toRem(10);
90
+ & > div {
91
+ flex: 1;
92
+ & > label {
93
+ display: flex;
94
+ align-items: center;
95
+ gap: toRem.toRem(5);
96
+ }
97
+ }
98
+ }
99
+
100
+ .field {
101
+ display: flex;
102
+ flex-direction: column;
103
+ gap: toRem.toRem(15);
104
+
105
+ .label {
106
+ font-size: toRem.toRem(15);
107
+ color: var(--shade-7);
108
+ }
109
+ border-bottom: toRem.toRem(1) solid var(--shade-2-transparent);
110
+ padding: toRem.toRem(10) 0 toRem.toRem(12.5) 0;
111
+
112
+ &:last-child {
113
+ border-bottom: none;
114
+ }
115
+
116
+ &:first-child {
117
+ border-bottom: none;
118
+ padding-top: 0;
119
+ }
120
+ }
121
+ .instructionsButton {
122
+ display: flex;
123
+ align-items: center;
124
+ gap: toRem.toRem(5);
125
+
126
+ &.icon {
127
+ gap: toRem.toRem(0);
128
+ }
129
+ }
130
+
131
+ .instructions {
132
+ display: flex;
133
+ flex-direction: column;
134
+ gap: toRem.toRem(8.5);
135
+ position: relative;
136
+ justify-content: center;
137
+ align-items: center;
138
+ }
139
+
140
+ .settingsButton {
141
+ @media all and (display-mode: standalone) {
142
+ display: none;
143
+ }
144
+
145
+ animation: pulse 1s ease-in-out;
146
+ @include utils.respect-reduced-motion;
147
+
148
+ &.standalone {
149
+ display: none;
150
+ }
151
+ }
152
+
153
+ .settingsButton {
154
+ animation: pulse 1s ease-in-out;
155
+ @include utils.respect-reduced-motion;
156
+ }
157
+
158
+ .updateModalDescription {
159
+ textarea {
160
+ width: 100% !important;
161
+ }
162
+ }
163
+
164
+ .modal {
165
+ width: 100% !important;
166
+ margin: 0 auto !important;
167
+ max-width: toRem.toRem(550) !important;
168
+ }
169
+
170
+ .titleContainer {
171
+ display: flex;
172
+ flex-direction: column;
173
+ gap: toRem.toRem(5);
174
+ }
175
+
176
+ .titleInput {
177
+ max-width: toRem.toRem(180) !important;
178
+
179
+ border: toRem.toRem(1) dashed var(--accent-1) !important;
180
+ }
181
+
182
+ .errorMessage {
183
+ font-size: toRem.toRem(12);
184
+ color: var(--accent-1);
185
+ animation: slideDown 0.2s ease-out;
186
+ }
187
+
188
+ @keyframes slideDown {
189
+ from {
190
+ opacity: 0;
191
+ transform: translateY(-5px);
192
+ }
193
+ to {
194
+ opacity: 1;
195
+ transform: translateY(0);
196
+ }
197
+ }
File without changes