Skip to content

Commit fe66ca1

Browse files
chore: generate
1 parent 20619a6 commit fe66ca1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+5290
-5378
lines changed

packages/app/src/components/prompt-input.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
925925
.abort({
926926
sessionID,
927927
})
928-
.catch(() => { })
928+
.catch(() => {})
929929
}
930930

931931
const addToHistory = (prompt: Prompt, mode: "normal" | "shell") => {
@@ -1351,18 +1351,18 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
13511351

13521352
const contextParts: Array<
13531353
| {
1354-
id: string
1355-
type: "text"
1356-
text: string
1357-
synthetic?: boolean
1358-
}
1354+
id: string
1355+
type: "text"
1356+
text: string
1357+
synthetic?: boolean
1358+
}
13591359
| {
1360-
id: string
1361-
type: "file"
1362-
mime: string
1363-
url: string
1364-
filename?: string
1365-
}
1360+
id: string
1361+
type: "file"
1362+
mime: string
1363+
url: string
1364+
filename?: string
1365+
}
13661366
> = []
13671367

13681368
const commentNote = (path: string, selection: FileSelection | undefined, comment: string) => {

packages/app/src/components/settings-general.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,24 +61,24 @@ export const SettingsGeneral: Component = () => {
6161
const actions =
6262
platform.update && platform.restart
6363
? [
64-
{
65-
label: language.t("toast.update.action.installRestart"),
66-
onClick: async () => {
67-
await platform.update!()
68-
await platform.restart!()
64+
{
65+
label: language.t("toast.update.action.installRestart"),
66+
onClick: async () => {
67+
await platform.update!()
68+
await platform.restart!()
69+
},
6970
},
70-
},
71-
{
72-
label: language.t("toast.update.action.notYet"),
73-
onClick: "dismiss" as const,
74-
},
75-
]
71+
{
72+
label: language.t("toast.update.action.notYet"),
73+
onClick: "dismiss" as const,
74+
},
75+
]
7676
: [
77-
{
78-
label: language.t("toast.update.action.notYet"),
79-
onClick: "dismiss" as const,
80-
},
81-
]
77+
{
78+
label: language.t("toast.update.action.notYet"),
79+
onClick: "dismiss" as const,
80+
},
81+
]
8282

8383
showToast({
8484
persistent: true,
Lines changed: 92 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,107 @@
11
[data-component="accordion"] {
2-
display: flex;
3-
flex-direction: column;
4-
align-items: flex-start;
5-
gap: 8px;
6-
align-self: stretch;
2+
display: flex;
3+
flex-direction: column;
4+
align-items: flex-start;
5+
gap: 8px;
6+
align-self: stretch;
77

8-
[data-slot="accordion-item"] {
9-
width: 100%;
10-
display: flex;
11-
flex-direction: column;
12-
align-items: flex-start;
13-
align-self: stretch;
14-
overflow: clip;
8+
[data-slot="accordion-item"] {
9+
width: 100%;
10+
display: flex;
11+
flex-direction: column;
12+
align-items: flex-start;
13+
align-self: stretch;
14+
overflow: clip;
1515

16-
[data-slot="accordion-header"] {
17-
width: 100%;
18-
display: flex;
19-
align-items: center;
20-
margin: 0;
21-
padding: 0;
16+
[data-slot="accordion-header"] {
17+
width: 100%;
18+
display: flex;
19+
align-items: center;
20+
margin: 0;
21+
padding: 0;
2222

23-
[data-slot="accordion-trigger"] {
24-
width: 100%;
25-
display: flex;
26-
height: 32px;
27-
padding: 8px 12px;
28-
justify-content: space-between;
29-
align-items: center;
30-
align-self: stretch;
31-
cursor: default;
32-
user-select: none;
23+
[data-slot="accordion-trigger"] {
24+
width: 100%;
25+
display: flex;
26+
height: 32px;
27+
padding: 8px 12px;
28+
justify-content: space-between;
29+
align-items: center;
30+
align-self: stretch;
31+
cursor: default;
32+
user-select: none;
3333

34-
background-color: var(--surface-base);
35-
border: 1px solid var(--border-weak-base);
36-
border-radius: var(--radius-md);
37-
overflow: clip;
38-
color: var(--text-strong);
39-
transition-property: background-color, border-color;
40-
transition-duration: var(--transition-duration);
41-
transition-timing-function: var(--transition-easing);
34+
background-color: var(--surface-base);
35+
border: 1px solid var(--border-weak-base);
36+
border-radius: var(--radius-md);
37+
overflow: clip;
38+
color: var(--text-strong);
39+
transition-property: background-color, border-color;
40+
transition-duration: var(--transition-duration);
41+
transition-timing-function: var(--transition-easing);
4242

43-
/* text-12-regular */
44-
font-family: var(--font-family-sans);
45-
font-size: var(--font-size-small);
46-
font-style: normal;
47-
font-weight: var(--font-weight-regular);
48-
line-height: var(--line-height-large); /* 166.667% */
49-
letter-spacing: var(--letter-spacing-normal);
43+
/* text-12-regular */
44+
font-family: var(--font-family-sans);
45+
font-size: var(--font-size-small);
46+
font-style: normal;
47+
font-weight: var(--font-weight-regular);
48+
line-height: var(--line-height-large); /* 166.667% */
49+
letter-spacing: var(--letter-spacing-normal);
5050

51-
&:hover {
52-
background-color: var(--surface-base);
53-
}
54-
&:focus-visible {
55-
outline: none;
56-
}
57-
&[data-disabled] {
58-
cursor: not-allowed;
59-
}
60-
}
61-
}
51+
&:hover {
52+
background-color: var(--surface-base);
53+
}
54+
&:focus-visible {
55+
outline: none;
56+
}
57+
&[data-disabled] {
58+
cursor: not-allowed;
59+
}
60+
}
61+
}
6262

63-
[data-slot="accordion-arrow"] {
64-
flex-shrink: 0;
65-
width: 16px;
66-
height: 16px;
67-
display: flex;
68-
align-items: center;
69-
justify-content: center;
70-
color: var(--text-weak);
71-
}
63+
[data-slot="accordion-arrow"] {
64+
flex-shrink: 0;
65+
width: 16px;
66+
height: 16px;
67+
display: flex;
68+
align-items: center;
69+
justify-content: center;
70+
color: var(--text-weak);
71+
}
7272

73-
[data-slot="accordion-content"] {
74-
display: grid;
75-
grid-template-rows: 0fr;
76-
transition-property: grid-template-rows, opacity;
77-
transition-duration: var(--transition-duration);
78-
transition-timing-function: var(--transition-easing);
79-
width: 100%;
73+
[data-slot="accordion-content"] {
74+
display: grid;
75+
grid-template-rows: 0fr;
76+
transition-property: grid-template-rows, opacity;
77+
transition-duration: var(--transition-duration);
78+
transition-timing-function: var(--transition-easing);
79+
width: 100%;
8080

81-
> * {
82-
overflow: hidden;
83-
}
84-
}
81+
> * {
82+
overflow: hidden;
83+
}
84+
}
8585

86-
[data-slot="accordion-content"][data-expanded] {
87-
grid-template-rows: 1fr;
88-
}
86+
[data-slot="accordion-content"][data-expanded] {
87+
grid-template-rows: 1fr;
88+
}
8989

90-
[data-slot="accordion-content"][data-closed] {
91-
grid-template-rows: 0fr;
92-
}
90+
[data-slot="accordion-content"][data-closed] {
91+
grid-template-rows: 0fr;
92+
}
9393

94-
&[data-expanded] [data-slot="accordion-trigger"] {
95-
border-bottom-left-radius: 0;
96-
border-bottom-right-radius: 0;
97-
}
94+
&[data-expanded] [data-slot="accordion-trigger"] {
95+
border-bottom-left-radius: 0;
96+
border-bottom-right-radius: 0;
97+
}
9898

99-
&[data-expanded] [data-slot="accordion-content"] {
100-
border: 1px solid var(--border-weak-base);
101-
border-top: none;
102-
border-bottom-left-radius: var(--radius-md);
103-
border-bottom-right-radius: var(--radius-md);
104-
height: auto;
105-
}
106-
}
99+
&[data-expanded] [data-slot="accordion-content"] {
100+
border: 1px solid var(--border-weak-base);
101+
border-top: none;
102+
border-bottom-left-radius: var(--radius-md);
103+
border-bottom-right-radius: var(--radius-md);
104+
height: auto;
105+
}
106+
}
107107
}
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
[data-component="avatar"] {
2-
--avatar-bg: var(--color-surface-info-base);
3-
--avatar-fg: var(--color-text-base);
4-
display: flex;
5-
align-items: center;
6-
justify-content: center;
7-
flex-shrink: 0;
8-
border-radius: var(--radius-sm);
9-
border: 1px solid var(--color-border-weak-base);
10-
font-family: var(--font-mono);
11-
font-weight: 500;
12-
text-transform: uppercase;
13-
background-color: var(--avatar-bg);
14-
color: var(--avatar-fg);
2+
--avatar-bg: var(--color-surface-info-base);
3+
--avatar-fg: var(--color-text-base);
4+
display: flex;
5+
align-items: center;
6+
justify-content: center;
7+
flex-shrink: 0;
8+
border-radius: var(--radius-sm);
9+
border: 1px solid var(--color-border-weak-base);
10+
font-family: var(--font-mono);
11+
font-weight: 500;
12+
text-transform: uppercase;
13+
background-color: var(--avatar-bg);
14+
color: var(--avatar-fg);
1515
}
1616

1717
[data-component="avatar"][data-has-image] {
18-
background-color: transparent;
19-
border: none;
18+
background-color: transparent;
19+
border: none;
2020
}
2121

2222
[data-component="avatar"][data-size="small"] {
23-
width: 1.25rem;
24-
height: 1.25rem;
25-
font-size: 0.75rem;
26-
line-height: 1;
23+
width: 1.25rem;
24+
height: 1.25rem;
25+
font-size: 0.75rem;
26+
line-height: 1;
2727
}
2828

2929
[data-component="avatar"][data-size="normal"] {
30-
width: 1.5rem;
31-
height: 1.5rem;
32-
font-size: 1.125rem;
33-
line-height: 1.5rem;
30+
width: 1.5rem;
31+
height: 1.5rem;
32+
font-size: 1.125rem;
33+
line-height: 1.5rem;
3434
}
3535

3636
[data-component="avatar"][data-size="large"] {
37-
width: 2rem;
38-
height: 2rem;
39-
font-size: 1.25rem;
40-
line-height: 2rem;
37+
width: 2rem;
38+
height: 2rem;
39+
font-size: 1.25rem;
40+
line-height: 2rem;
4141
}
4242

4343
[data-component="avatar"] [data-slot="avatar-image"] {
44-
width: 100%;
45-
height: 100%;
46-
display: block;
47-
object-fit: cover;
48-
border-radius: inherit;
44+
width: 100%;
45+
height: 100%;
46+
display: block;
47+
object-fit: cover;
48+
border-radius: inherit;
4949
}

0 commit comments

Comments
 (0)