Skip to content

Commit 4f882f8

Browse files
committed
ci: Format code
1 parent 3d7d266 commit 4f882f8

19 files changed

+109
-75
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,4 @@
196196
"vitest": "^0.34.4",
197197
"zustand-hoist": "^2.0.0"
198198
}
199-
}
199+
}

src/lib/seam/components/DeviceDetails/DeviceInfo.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ export function DeviceInfo({
3232
<DetailRow label={t.manufacturer}>
3333
<div className='seam-detail-row-hstack'>
3434
{device.properties.model.manufacturer_display_name}
35-
{device.properties.manufacturer === 'ecobee' && <BeeIcon style={{ fontSize: '33px' }} />}
35+
{device.properties.manufacturer === 'ecobee' && (
36+
<BeeIcon style={{ fontSize: '33px' }} />
37+
)}
3638
</div>
3739
</DetailRow>
3840
{!disableConnectedAccountInformation && (

src/lib/ui/Snackbar/Snackbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function Snackbar({
3131
dismissAfterMs = 5000,
3232
disableCloseButton = false,
3333
automaticVisibility = false,
34-
onClose = () => { },
34+
onClose = () => {},
3535
}: SnackbarProps): JSX.Element {
3636
const [hidden, setHidden] = useState(visible)
3737

@@ -48,7 +48,7 @@ export function Snackbar({
4848

4949
useEffect(() => {
5050
if (!autoDismiss) {
51-
return () => { }
51+
return () => {}
5252
}
5353

5454
const timeout = globalThis.setTimeout(() => {

src/lib/ui/thermostat/ClimateSettingStatus.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ function ClimateSettingIcon(props: {
4848
const { mode } = props
4949

5050
return (
51-
<div className={classNames('seam-climate-setting-status-icon', `seam-climate-setting-status-icon-${mode}`)}>
51+
<div
52+
className={classNames(
53+
'seam-climate-setting-status-icon',
54+
`seam-climate-setting-status-icon-${mode}`
55+
)}
56+
>
5257
{mode === 'cool' && <ThermostatCoolIcon />}
5358
{mode === 'heat' && <ThermostatHeatIcon />}
5459
{mode === 'heat_cool' && <ThermostatHeatCoolIcon />}

src/styles/_access-code-details.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@
22

33
@mixin all {
44
.seam-access-code-details {
5-
>.seam-summary {
5+
> .seam-summary {
66
background: colors.$bg-a;
77
border-radius: 16px;
88
margin: 0 24px 16px;
99

10-
>.seam-top {
10+
> .seam-top {
1111
padding: 24px 16px;
1212

1313
&.seam-top-has-alerts {
1414
padding-bottom: 8px;
1515
}
1616

17-
>.seam-label {
17+
> .seam-label {
1818
font-weight: 600;
1919
font-size: 14px;
2020
line-height: 134%;
2121
color: colors.$text-gray-1;
2222
margin-bottom: 4px;
2323
}
2424

25-
>.seam-access-code-name {
25+
> .seam-access-code-name {
2626
font-weight: 600;
2727
font-size: 21px;
2828
line-height: 132%;
2929
margin-bottom: 8px;
3030
}
3131

32-
>.seam-code {
32+
> .seam-code {
3333
background: colors.$white;
3434
border: 1px solid colors.$text-gray-2;
3535
border-radius: 8px;
@@ -40,11 +40,11 @@
4040
display: flex;
4141
justify-content: space-between;
4242

43-
>span {
43+
> span {
4444
padding: 10px 16px;
4545
}
4646

47-
>.seam-icon-btn {
47+
> .seam-icon-btn {
4848
height: auto;
4949
border: 0;
5050
overflow: visible;
@@ -156,7 +156,7 @@
156156
color: colors.$text-gray-2;
157157
}
158158

159-
>div {
159+
> div {
160160
div {
161161
margin-bottom: 4px;
162162
}
@@ -170,4 +170,4 @@
170170
}
171171
}
172172
}
173-
}
173+
}

src/styles/_alert.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@use './colors';
22

33
@mixin all {
4-
54
// Alerts
65
.seam-alerts {
76
width: 100%;
@@ -124,4 +123,4 @@
124123
}
125124
}
126125
}
127-
}
126+
}

src/styles/_buttons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@
139139
@include button;
140140
@include icon-button;
141141
@include text-button;
142-
}
142+
}

src/styles/_checkbox.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
cursor: pointer;
99
padding: 6px 0;
1010

11-
>.seam-checkbox-icon {
11+
> .seam-checkbox-icon {
1212
height: 24px;
1313
width: 24px;
1414
font-size: 24px;
1515
}
1616

17-
>input {
17+
> input {
1818
display: none;
1919
}
2020

21-
>.seam-checkbox-label {
21+
> .seam-checkbox-label {
2222
font-size: 16px;
2323
line-height: 150%;
2424
}
2525
}
26-
}
26+
}

src/styles/_device-details.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
display: flex;
4141
justify-content: space-between;
4242

43-
>.seam-right {
43+
> .seam-right {
4444
display: flex;
4545
align-items: center;
4646
}
@@ -90,7 +90,7 @@
9090
}
9191

9292
.seam-info {
93-
>.seam-label {
93+
> .seam-label {
9494
color: colors.$text-gray-1;
9595
font-weight: 600;
9696
font-size: 14px;
@@ -127,7 +127,7 @@
127127
margin-right: 8px;
128128
}
129129

130-
>* {
130+
> * {
131131
display: flex;
132132
align-items: center;
133133
}
@@ -143,7 +143,7 @@
143143
align-items: center;
144144
justify-content: center;
145145

146-
>div {
146+
> div {
147147
width: 40px;
148148
height: 40px;
149149
display: flex;
@@ -168,4 +168,4 @@
168168
margin-top: 8px;
169169
}
170170
}
171-
}
171+
}

src/styles/_icons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
fill: colors.$text-gray-1;
99
}
1010
}
11-
}
11+
}

0 commit comments

Comments
 (0)