@chrryai/chrry 1.4.96 → 1.4.98
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/FocusButton.module.scss +15 -88
- package/dist/index.js +7 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/FocusButton.module.scss
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
flex-direction: column;
|
|
52
52
|
position: relative;
|
|
53
53
|
background: var(--background);
|
|
54
|
-
border:
|
|
54
|
+
border: toRem.toRem(1) solid var(--shade-2);
|
|
55
55
|
color: var(--foreground);
|
|
56
56
|
transition: var(--border-transition);
|
|
57
57
|
|
|
@@ -60,24 +60,24 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&.counting {
|
|
63
|
-
border:
|
|
63
|
+
border: toRem.toRem(1) solid var(--accent-4);
|
|
64
64
|
box-shadow: 0 0 toRem.toRem(5) var(--accent-4);
|
|
65
65
|
|
|
66
66
|
/* border-color: hsl(120 60% 50%); */
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
&.paused {
|
|
70
|
-
border:
|
|
70
|
+
border: toRem.toRem(1) solid var(--orange-500);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
&.finished {
|
|
74
|
-
border:
|
|
74
|
+
border: toRem.toRem(1) solid var(--accent-4);
|
|
75
75
|
animation: tiltShake 0.5s ease-in-out;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.pauseButton {
|
|
80
|
-
border:
|
|
80
|
+
border: toRem.toRem(1) solid var(--accent-4) !important;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.additionalSettings {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
display: inline-flex;
|
|
95
95
|
align-items: center;
|
|
96
96
|
font-family: var(--font-mono);
|
|
97
|
-
font-size:
|
|
97
|
+
font-size: toRem.toRem(400);
|
|
98
98
|
font-weight: 500;
|
|
99
99
|
letter-spacing: -0.5px;
|
|
100
100
|
gap: 8px;
|
|
@@ -138,17 +138,6 @@
|
|
|
138
138
|
align-items: center;
|
|
139
139
|
gap: 3px;
|
|
140
140
|
cursor: pointer;
|
|
141
|
-
|
|
142
|
-
// &.dark {
|
|
143
|
-
// gap: 1px;
|
|
144
|
-
// }
|
|
145
|
-
|
|
146
|
-
// &:hover {
|
|
147
|
-
// .videoPlay,
|
|
148
|
-
// .videoPause {
|
|
149
|
-
// display: inline-flex;
|
|
150
|
-
// }
|
|
151
|
-
// }
|
|
152
141
|
}
|
|
153
142
|
|
|
154
143
|
.userName {
|
|
@@ -157,17 +146,8 @@
|
|
|
157
146
|
right: 2px;
|
|
158
147
|
}
|
|
159
148
|
|
|
160
|
-
// .themeToggle {
|
|
161
|
-
// &.light:hover {
|
|
162
|
-
// color: var(--shade-7);
|
|
163
|
-
// svg {
|
|
164
|
-
// fill: var(--shade-7);
|
|
165
|
-
// }
|
|
166
|
-
// }
|
|
167
|
-
// }
|
|
168
|
-
|
|
169
149
|
.timeAdjust {
|
|
170
|
-
padding: 5px;
|
|
150
|
+
padding: 5px 9px;
|
|
171
151
|
color: var(--shade-6);
|
|
172
152
|
cursor: pointer;
|
|
173
153
|
display: flex;
|
|
@@ -176,12 +156,6 @@
|
|
|
176
156
|
transition: all 0.2s ease;
|
|
177
157
|
border-radius: var(--radius);
|
|
178
158
|
background-color: transparent;
|
|
179
|
-
|
|
180
|
-
// &:hover {
|
|
181
|
-
// background: var(--background);
|
|
182
|
-
// color: var(--foreground);
|
|
183
|
-
// box-shadow: var(--shadow);
|
|
184
|
-
// }
|
|
185
159
|
}
|
|
186
160
|
|
|
187
161
|
.separator {
|
|
@@ -215,7 +189,7 @@
|
|
|
215
189
|
|
|
216
190
|
.settingsInput {
|
|
217
191
|
border-radius: 10px;
|
|
218
|
-
border:
|
|
192
|
+
border: toRem.toRem(1) solid var(--shade-2);
|
|
219
193
|
padding: 5px 7px;
|
|
220
194
|
font-size: 1rem;
|
|
221
195
|
background: var(--background);
|
|
@@ -270,36 +244,6 @@
|
|
|
270
244
|
border-color: var(--accent-1);
|
|
271
245
|
}
|
|
272
246
|
}
|
|
273
|
-
|
|
274
|
-
// &.visible {
|
|
275
|
-
// display: flex;
|
|
276
|
-
// animation: slideUp 0.3s ease-in-out;
|
|
277
|
-
|
|
278
|
-
// button {
|
|
279
|
-
// cursor: pointer;
|
|
280
|
-
// }
|
|
281
|
-
// }
|
|
282
|
-
|
|
283
|
-
// button {
|
|
284
|
-
// user-select: none;
|
|
285
|
-
// text-decoration: none;
|
|
286
|
-
// font-size: 1rem;
|
|
287
|
-
// border-radius: 20px;
|
|
288
|
-
// background: var(--background);
|
|
289
|
-
// color: var(--foreground);
|
|
290
|
-
// border: 1px solid var(--shade-2);
|
|
291
|
-
// transition: all 0.3s ease;
|
|
292
|
-
// box-shadow: none;
|
|
293
|
-
// display: flex;
|
|
294
|
-
// align-items: center;
|
|
295
|
-
// gap: 5px;
|
|
296
|
-
// padding: 8px 12px;
|
|
297
|
-
// }
|
|
298
|
-
|
|
299
|
-
// button:hover {
|
|
300
|
-
// background: var(--background);
|
|
301
|
-
// color: var(--foreground);
|
|
302
|
-
// }
|
|
303
247
|
}
|
|
304
248
|
|
|
305
249
|
.testimonials {
|
|
@@ -356,23 +300,6 @@
|
|
|
356
300
|
display: flex;
|
|
357
301
|
align-items: center;
|
|
358
302
|
gap: 10px;
|
|
359
|
-
|
|
360
|
-
// button {
|
|
361
|
-
// color: var(--shade-4);
|
|
362
|
-
// padding: 0;
|
|
363
|
-
// background-color: var(--background);
|
|
364
|
-
// border: none;
|
|
365
|
-
// box-shadow: none;
|
|
366
|
-
|
|
367
|
-
// &:hover {
|
|
368
|
-
// color: var(--shade-4);
|
|
369
|
-
// background-color: var(--background);
|
|
370
|
-
// }
|
|
371
|
-
|
|
372
|
-
// &.active {
|
|
373
|
-
// color: var(--accent-1);
|
|
374
|
-
// }
|
|
375
|
-
// }
|
|
376
303
|
}
|
|
377
304
|
|
|
378
305
|
.discord,
|
|
@@ -531,7 +458,7 @@
|
|
|
531
458
|
|
|
532
459
|
.task {
|
|
533
460
|
border-radius: var(--radius);
|
|
534
|
-
border:
|
|
461
|
+
border: toRem.toRem(1) solid var(--shade-2);
|
|
535
462
|
padding: 0 15px;
|
|
536
463
|
width: 100%;
|
|
537
464
|
display: flex;
|
|
@@ -543,24 +470,24 @@
|
|
|
543
470
|
}
|
|
544
471
|
|
|
545
472
|
&:hover {
|
|
546
|
-
border:
|
|
473
|
+
border: toRem.toRem(1) dashed var(--accent-1);
|
|
547
474
|
}
|
|
548
475
|
}
|
|
549
476
|
|
|
550
477
|
.selectedTask {
|
|
551
|
-
border:
|
|
478
|
+
border: toRem.toRem(1) solid var(--accent-1);
|
|
552
479
|
|
|
553
480
|
&.counting {
|
|
554
|
-
border:
|
|
481
|
+
border: toRem.toRem(1) solid var(--accent-4);
|
|
555
482
|
box-shadow: 0 0 toRem.toRem(5) var(--accent-4);
|
|
556
483
|
}
|
|
557
484
|
|
|
558
485
|
&.paused {
|
|
559
|
-
border:
|
|
486
|
+
border: toRem.toRem(1) solid var(--orange-500);
|
|
560
487
|
}
|
|
561
488
|
|
|
562
489
|
&.finished {
|
|
563
|
-
border:
|
|
490
|
+
border: toRem.toRem(1) solid var(--accent-4);
|
|
564
491
|
}
|
|
565
492
|
}
|
|
566
493
|
|
|
@@ -633,7 +560,7 @@
|
|
|
633
560
|
background: var(--background);
|
|
634
561
|
color: var(--foreground);
|
|
635
562
|
box-shadow: none;
|
|
636
|
-
border:
|
|
563
|
+
border: toRem.toRem(1) solid var(--shade-2);
|
|
637
564
|
display: flex;
|
|
638
565
|
align-items: center;
|
|
639
566
|
gap: 5px;
|
package/dist/index.js
CHANGED
|
@@ -1902,7 +1902,7 @@ var init_utils = __esm({
|
|
|
1902
1902
|
};
|
|
1903
1903
|
isFirefox = typeof navigator !== "undefined" && navigator?.userAgent?.includes("Firefox");
|
|
1904
1904
|
config = getSiteConfig(getClientHostname());
|
|
1905
|
-
VERSION = config.version || "1.4.
|
|
1905
|
+
VERSION = config.version || "1.4.98";
|
|
1906
1906
|
getSlugFromPathname = (path) => {
|
|
1907
1907
|
return getAppAndStoreSlugs(path, {
|
|
1908
1908
|
defaultAppSlug: config.slug,
|
|
@@ -24081,7 +24081,7 @@ function DataProvider({ children, ...rest }) {
|
|
|
24081
24081
|
const [instructions, setInstructions] = (0, import_react21.useState)([]);
|
|
24082
24082
|
const [affiliateStats, setAffiliateStats] = (0, import_react21.useState)(null);
|
|
24083
24083
|
const [loadingAffiliateStats, setLoadingAffiliateStats] = (0, import_react21.useState)(false);
|
|
24084
|
-
const VERSION4 = "1.4.
|
|
24084
|
+
const VERSION4 = "1.4.98";
|
|
24085
24085
|
const [weather, setWeather] = useLocalStorage2("weather", user?.weather || guest?.weather || void 0);
|
|
24086
24086
|
const {
|
|
24087
24087
|
API_URL: API_URL2,
|
|
@@ -37020,7 +37020,7 @@ function Chat({
|
|
|
37020
37020
|
}, [isNewChat]);
|
|
37021
37021
|
const [hasBottomOffset, setHasBottomOffset] = (0, import_react57.useState)(false);
|
|
37022
37022
|
const shouldUseCompactMode = compactMode || hasBottomOffset;
|
|
37023
|
-
const floatingInitial =
|
|
37023
|
+
const floatingInitial = isChatFloatingContext && !empty && !showChatInput || shouldUseCompactMode;
|
|
37024
37024
|
const [isChatFloating, setIsChatFloatingState] = (0, import_react57.useState)(floatingInitial);
|
|
37025
37025
|
(0, import_react57.useEffect)(() => {
|
|
37026
37026
|
setIsChatFloatingContext(floatingInitial);
|
|
@@ -39272,7 +39272,7 @@ Return ONLY ONE WORD: ${apps.map((a) => a.name).join(", ")}, or "none"`;
|
|
|
39272
39272
|
/* @__PURE__ */ React.createElement(Div, { style: { fontSize: "13px", lineHeight: "1.4" } }, collaborationSteps[1]?.description || t5(
|
|
39273
39273
|
"Once you have a conversation going, click the share button to invite others to collaborate."
|
|
39274
39274
|
))
|
|
39275
|
-
))) : !showQuotaInfo && selectedAgent !== null && /* @__PURE__ */ React.createElement(Div, { style: styles4.content.style }, isChatFloating || exceededInitial ? null : showGreeting && files.length === 0 ? /* @__PURE__ */ React.createElement(H2, { style: styles4.brandHelp.style }, isIncognito ? /* @__PURE__ */ React.createElement(icons_exports.HatGlasses, { size: 24 }) : "", /* @__PURE__ */ React.createElement(Span, null, "\u{1F44B}", " ", t5(
|
|
39275
|
+
))) : !showQuotaInfo && selectedAgent !== null && /* @__PURE__ */ React.createElement(Div, { style: styles4.content.style }, isChatFloating || exceededInitial || threadId ? null : showGreeting && files.length === 0 ? /* @__PURE__ */ React.createElement(H2, { style: styles4.brandHelp.style }, isIncognito ? /* @__PURE__ */ React.createElement(icons_exports.HatGlasses, { size: 24 }) : "", /* @__PURE__ */ React.createElement(Span, null, "\u{1F44B}", " ", t5(
|
|
39276
39276
|
hitHourlyLimit ? t5("You hit your hourly limit {{hourlyLimit}}", {
|
|
39277
39277
|
hourlyLimit
|
|
39278
39278
|
}) : language === "fr" ? "What can I help with?" : "What's on your mind?"
|
|
@@ -40589,8 +40589,7 @@ function EmptyStateTips({
|
|
|
40589
40589
|
type: "timing",
|
|
40590
40590
|
duration: reduceMotionContext ? 0 : 100,
|
|
40591
40591
|
delay: reduceMotionContext ? 0 : i * 50
|
|
40592
|
-
}
|
|
40593
|
-
"data-testid": "menu-thread-item"
|
|
40592
|
+
}
|
|
40594
40593
|
},
|
|
40595
40594
|
/* @__PURE__ */ import_react61.default.createElement(Div, { key: i, style: styles4.tip.style }, /* @__PURE__ */ import_react61.default.createElement(Span, { style: styles4.tipText.style }, t5(item.tip || "")), /* @__PURE__ */ import_react61.default.createElement(Span, null, " ", item.emoji))
|
|
40596
40595
|
);
|
|
@@ -41251,10 +41250,10 @@ function Menu({
|
|
|
41251
41250
|
Anchor,
|
|
41252
41251
|
{
|
|
41253
41252
|
className: "link",
|
|
41253
|
+
"data-testid": "menu-thread-link",
|
|
41254
41254
|
style: {
|
|
41255
41255
|
...styles4.threadItem.style
|
|
41256
41256
|
},
|
|
41257
|
-
"data-testid": `thread-link-${thread2.id}`,
|
|
41258
41257
|
onClick: (e) => {
|
|
41259
41258
|
track({
|
|
41260
41259
|
name: "thread-click-menu",
|
|
@@ -48377,7 +48376,7 @@ var init_FocusButton_styles = __esm({
|
|
|
48377
48376
|
right: 2
|
|
48378
48377
|
},
|
|
48379
48378
|
timeAdjust: {
|
|
48380
|
-
padding:
|
|
48379
|
+
padding: "5px 9px",
|
|
48381
48380
|
color: "var(--shade-6)",
|
|
48382
48381
|
display: "flex",
|
|
48383
48382
|
alignItems: "center",
|