@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,236 @@
1
+ @use "../toRem.scss";
2
+ @use "../breakpoints.scss";
3
+ @use "../utils.scss";
4
+
5
+ // Test all features of the SCSS to TypeScript converter
6
+
7
+ // 1. Basic styles with all property types
8
+ .container {
9
+ // Layout
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ justify-content: center;
14
+ gap: toRem.toRem(10);
15
+
16
+ // Sizing
17
+ width: 100%;
18
+ max-width: toRem.toRem(500);
19
+ min-height: toRem.toRem(200);
20
+ padding: toRem.toRem(16);
21
+ margin: 0 auto;
22
+
23
+ // Colors
24
+ background-color: var(--background);
25
+ color: var(--foreground);
26
+ border: 1px solid var(--shade-2);
27
+
28
+ // Border & radius
29
+ border-radius: toRem.toRem(20);
30
+
31
+ // Position
32
+ position: relative;
33
+ overflow: hidden;
34
+ }
35
+
36
+ // 2. Interactive states (hover, active, focus, disabled)
37
+ .button {
38
+ // Base styles
39
+ padding: toRem.toRem(8) toRem.toRem(16);
40
+ background-color: var(--accent-6);
41
+ color: #fff;
42
+ border: none;
43
+ border-radius: toRem.toRem(20);
44
+ cursor: pointer;
45
+ font-size: toRem.toRem(14);
46
+ font-weight: 600;
47
+ display: inline-flex;
48
+ align-items: center;
49
+ gap: toRem.toRem(5);
50
+
51
+ // Hover state
52
+ &:hover {
53
+ background-color: var(--accent-5);
54
+ transform: translateY(-1px);
55
+ }
56
+
57
+ // Active state
58
+ &:active {
59
+ transform: translateY(1px);
60
+ }
61
+
62
+ // Focus state
63
+ &:focus {
64
+ outline: 2px solid var(--accent-6);
65
+ outline-offset: 2px;
66
+ }
67
+
68
+ // Disabled state
69
+ &:disabled {
70
+ opacity: 0.5;
71
+ cursor: not-allowed;
72
+ background-color: var(--shade-2);
73
+ }
74
+ }
75
+
76
+ // 3. Link with interactive states
77
+ .link {
78
+ color: var(--link-color);
79
+ text-decoration: none;
80
+ cursor: pointer;
81
+ display: inline-flex;
82
+ align-items: center;
83
+ gap: toRem.toRem(3);
84
+
85
+ &:hover {
86
+ color: var(--accent-5);
87
+ text-decoration: underline;
88
+ }
89
+
90
+ &:active {
91
+ transform: translateY(1px);
92
+ }
93
+ }
94
+
95
+ // 4. Complex layout with flexbox
96
+ .card {
97
+ display: flex;
98
+ flex-direction: column;
99
+ gap: toRem.toRem(12);
100
+ padding: toRem.toRem(20);
101
+ background-color: var(--background);
102
+ border: 1px solid var(--shade-2);
103
+ border-radius: toRem.toRem(16);
104
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
105
+ }
106
+
107
+ // 5. Text styles
108
+ .title {
109
+ font-size: 4vw; // Responsive font size
110
+ font-weight: bold;
111
+ color: var(--foreground);
112
+ text-align: center;
113
+ margin: 0;
114
+ line-height: 1.2;
115
+ }
116
+
117
+ .subtitle {
118
+ font-size: toRem.toRem(16);
119
+ color: var(--shade-5);
120
+ text-align: center;
121
+ margin: toRem.toRem(8) 0;
122
+ }
123
+
124
+ // 6. Input styles
125
+ .input {
126
+ padding: toRem.toRem(10) toRem.toRem(14);
127
+ border: 1px solid var(--shade-2);
128
+ border-radius: toRem.toRem(8);
129
+ background-color: var(--background);
130
+ color: var(--foreground);
131
+ font-size: toRem.toRem(14);
132
+ width: 100%;
133
+
134
+ &:hover {
135
+ border-color: var(--shade-3);
136
+ }
137
+
138
+ &:focus {
139
+ border-color: var(--accent-6);
140
+ outline: none;
141
+ }
142
+
143
+ &:disabled {
144
+ opacity: 0.5;
145
+ cursor: not-allowed;
146
+ background-color: var(--shade-1);
147
+ }
148
+ }
149
+
150
+ // 7. Grid layout
151
+ .grid {
152
+ display: flex;
153
+ flex-wrap: wrap;
154
+ gap: toRem.toRem(16);
155
+ justify-content: center;
156
+ }
157
+
158
+ // 8. Absolute positioning
159
+ .badge {
160
+ position: absolute;
161
+ top: toRem.toRem(-8);
162
+ right: toRem.toRem(-8);
163
+ background-color: var(--accent-0);
164
+ color: #fff;
165
+ border-radius: 50%;
166
+ width: toRem.toRem(24);
167
+ height: toRem.toRem(24);
168
+ display: flex;
169
+ align-items: center;
170
+ justify-content: center;
171
+ font-size: toRem.toRem(12);
172
+ font-weight: bold;
173
+ }
174
+
175
+ // 9. Nested structure (should be flattened)
176
+ .parent {
177
+ padding: toRem.toRem(16);
178
+
179
+ // This should be ignored or handled separately
180
+ .child {
181
+ margin: toRem.toRem(8);
182
+ }
183
+ }
184
+
185
+ // 10. All CSS variable types
186
+ .themeTest {
187
+ // Colors
188
+ color: var(--foreground);
189
+ background-color: var(--background);
190
+ border-color: var(--shade-2);
191
+
192
+ // Accent colors
193
+ --test-accent-0: var(--accent-0);
194
+ --test-accent-6: var(--accent-6);
195
+
196
+ // Shades
197
+ --test-shade-1: var(--shade-1);
198
+ --test-shade-7: var(--shade-7);
199
+
200
+ // Special
201
+ box-shadow: var(--shadow);
202
+ }
203
+
204
+ // 11. Nested modifiers with &.className (should create unique names)
205
+ .main {
206
+ padding: toRem.toRem(10);
207
+ padding-top: toRem.toRem(50);
208
+ display: flex;
209
+ flex-direction: column;
210
+
211
+ &.empty {
212
+ padding-top: 0;
213
+ }
214
+
215
+ &.fullscreen {
216
+ padding: 0;
217
+ height: 100vh;
218
+ }
219
+ }
220
+
221
+ .header {
222
+ display: flex;
223
+ justify-content: space-between;
224
+ position: fixed;
225
+ top: 0;
226
+ padding: toRem.toRem(10);
227
+
228
+ &.empty {
229
+ position: static;
230
+ margin: 0;
231
+ }
232
+
233
+ &.transparent {
234
+ background-color: transparent;
235
+ }
236
+ }
@@ -0,0 +1,163 @@
1
+ @use "sass:math";
2
+ @use "./toRem.scss";
3
+
4
+ // Respect reduced motion preference
5
+ @mixin respect-reduced-motion {
6
+ @media (prefers-reduced-motion: reduce) {
7
+ animation: none !important;
8
+ transition: none !important;
9
+ }
10
+ }
11
+
12
+ // Slide animations
13
+ @keyframes slideLeft {
14
+ from {
15
+ opacity: 0;
16
+ transform: translateX(toRem.toRem(-20));
17
+ }
18
+ to {
19
+ opacity: 1;
20
+ transform: translateX(0);
21
+ }
22
+ }
23
+
24
+ @keyframes slideRight {
25
+ from {
26
+ opacity: 0;
27
+ transform: translateX(toRem.toRem(20));
28
+ }
29
+ to {
30
+ opacity: 1;
31
+ transform: translateX(0);
32
+ }
33
+ }
34
+
35
+ @keyframes slideUp {
36
+ from {
37
+ opacity: 0;
38
+ transform: translateY(toRem.toRem(20));
39
+ }
40
+ to {
41
+ opacity: 1;
42
+ transform: translateY(0);
43
+ }
44
+ }
45
+
46
+ @keyframes slideDown {
47
+ from {
48
+ opacity: 0;
49
+ transform: translateY(toRem.toRem(-20));
50
+ }
51
+ to {
52
+ opacity: 1;
53
+ transform: translateY(0);
54
+ }
55
+ }
56
+
57
+ // Fade animation
58
+ @keyframes fadeIn {
59
+ from {
60
+ opacity: 0;
61
+ }
62
+ to {
63
+ opacity: 1;
64
+ }
65
+ }
66
+
67
+ @keyframes fadeOut {
68
+ from {
69
+ opacity: 1;
70
+ }
71
+ to {
72
+ opacity: 0;
73
+ }
74
+ }
75
+
76
+ // Scale animation
77
+ @keyframes scaleIn {
78
+ from {
79
+ opacity: 0;
80
+ transform: scale(0.95);
81
+ }
82
+ to {
83
+ opacity: 1;
84
+ transform: scale(1);
85
+ }
86
+ }
87
+
88
+ // Utility animations
89
+ @keyframes blink {
90
+ 0%,
91
+ 100% {
92
+ opacity: 1;
93
+ }
94
+ 50% {
95
+ opacity: 0;
96
+ }
97
+ }
98
+
99
+ @keyframes pulse {
100
+ 0% {
101
+ transform: scale(0.9);
102
+ opacity: 0.7;
103
+ }
104
+ 50% {
105
+ transform: scale(1.1);
106
+ opacity: 1;
107
+ }
108
+ 100% {
109
+ transform: scale(0.9);
110
+ opacity: 0.7;
111
+ }
112
+ }
113
+
114
+ @keyframes float {
115
+ 0%,
116
+ 100% {
117
+ transform: translateY(0);
118
+ }
119
+ 50% {
120
+ transform: translateY(toRem.toRem(-5));
121
+ }
122
+ }
123
+
124
+ @keyframes wiggle {
125
+ 0%,
126
+ 100% {
127
+ transform: rotate(-5deg);
128
+ }
129
+ 50% {
130
+ transform: rotate(5deg);
131
+ }
132
+ }
133
+
134
+ // Animation mixins for easy application
135
+ @mixin animate-slide-left($duration: 0.3s, $timing: ease-in-out) {
136
+ animation: slideLeft $duration $timing;
137
+ @include respect-reduced-motion;
138
+ }
139
+
140
+ @mixin animate-slide-right($duration: 0.3s, $timing: ease-in-out) {
141
+ animation: slideRight $duration $timing;
142
+ @include respect-reduced-motion;
143
+ }
144
+
145
+ @mixin animate-slide-up($duration: 0.3s, $timing: ease-in-out) {
146
+ animation: slideUp $duration $timing;
147
+ @include respect-reduced-motion;
148
+ }
149
+
150
+ @mixin animate-slide-down($duration: 0.3s, $timing: ease-in-out) {
151
+ animation: slideDown $duration $timing;
152
+ @include respect-reduced-motion;
153
+ }
154
+
155
+ @mixin animate-fade-in($duration: 0.3s, $timing: ease-in-out) {
156
+ animation: fadeIn $duration $timing;
157
+ @include respect-reduced-motion;
158
+ }
159
+
160
+ @mixin animate-scale-in($duration: 0.3s, $timing: ease-in-out) {
161
+ animation: scaleIn $duration $timing;
162
+ @include respect-reduced-motion;
163
+ }
@@ -0,0 +1,8 @@
1
+ @use "toRem.scss";
2
+
3
+ $breakpoint-mobile: toRem.toRem(600);
4
+ $breakpoint-mobile-max: toRem.toRem(599);
5
+ $breakpoint-mobile-small: toRem.toRem(430);
6
+ $breakpoint-mobile-small-max: toRem.toRem(320);
7
+ $breakpoint-tablet: toRem.toRem(800);
8
+ $breakpoint-desktop: toRem.toRem(960);
@@ -0,0 +1,22 @@
1
+ @use "../toRem.scss";
2
+
3
+ .video {
4
+ width: toRem.toRem(30);
5
+ height: toRem.toRem(30);
6
+ object-fit: cover;
7
+ border-radius: 50%;
8
+ pointer-events: none; // So clicks pass through to foreground content
9
+ }
10
+
11
+ .updateModalButtons {
12
+ display: flex;
13
+ justify-content: flex-end;
14
+ margin-top: toRem.toRem(10);
15
+ }
16
+
17
+ .updateModalDescription {
18
+ font-size: toRem.toRem(14);
19
+ display: flex;
20
+ align-items: center;
21
+ gap: toRem.toRem(5);
22
+ }