Skip to content

Commit 810a2ca

Browse files
committed
chore: run prettier -w .
1 parent b52f7a1 commit 810a2ca

File tree

134 files changed

+589
-886
lines changed

Some content is hidden

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

134 files changed

+589
-886
lines changed

.vscode/qwik.code-snippets

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,12 @@
5656
"scope": "javascriptreact,typescriptreact",
5757
"prefix": "quseTask$",
5858
"description": "useTask$() function hook",
59-
"body": [
60-
"useTask$(({ track }) => {",
61-
" track(() => $1);",
62-
" $0",
63-
"});",
64-
""
65-
]
59+
"body": ["useTask$(({ track }) => {", " track(() => $1);", " $0", "});", ""]
6660
},
6761
"useResource": {
6862
"scope": "javascriptreact,typescriptreact",
6963
"prefix": "quseResource$",
7064
"description": "useResource$() declaration",
71-
"body": [
72-
"const $1 = useResource$(({ track, cleanup }) => {",
73-
" $0",
74-
"});",
75-
""
76-
]
65+
"body": ["const $1 = useResource$(({ track, cleanup }) => {", " $0", "});", ""]
7766
}
7867
}

apps/website/adapters/cloudflare-pages/vite.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ export default extendConfig(baseConfig, () => {
77
build: {
88
ssr: true,
99
rollupOptions: {
10-
input: [
11-
'apps/website/src/entry.cloudflare-pages.tsx',
12-
'@qwik-city-plan',
13-
],
10+
input: ['apps/website/src/entry.cloudflare-pages.tsx', '@qwik-city-plan'],
1411
},
1512
},
1613
plugins: [

apps/website/src/_state/component-status.type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ export enum ComponentStatus {
22
Ready = 'Ready',
33
Beta = 'Beta',
44
Draft = 'Draft',
5-
Planned = 'Planned'
5+
Planned = 'Planned',
66
}

apps/website/src/_state/component-statuses.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const statusByComponent: ComponentKitsStatuses = {
3636
Tabs: ComponentStatus.Planned,
3737
Toast: ComponentStatus.Planned,
3838
Toggle: ComponentStatus.Planned,
39-
Tooltip: ComponentStatus.Planned
39+
Tooltip: ComponentStatus.Planned,
4040
},
4141
headless: {
4242
Accordion: ComponentStatus.Beta,
@@ -47,6 +47,6 @@ export const statusByComponent: ComponentKitsStatuses = {
4747
Separator: ComponentStatus.Beta,
4848
Tabs: ComponentStatus.Beta,
4949
Toggle: ComponentStatus.Planned,
50-
Tooltip: ComponentStatus.Draft
51-
}
50+
Tooltip: ComponentStatus.Draft,
51+
},
5252
};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export enum KitName {
22
HEADLESS = 'healdess',
33
TAILWIND = 'tailwind',
4-
NO_KIT = 'no-kit'
4+
NO_KIT = 'no-kit',
55
}

apps/website/src/_state/status-tooltips.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ export const tooltipByStatus = {
66
'This component is ready for production, but the API might change.',
77
[ComponentStatus.Draft]:
88
'This component is still in development and may have bugs or missing features.',
9-
[ComponentStatus.Planned]: 'This component is planned for development.'
9+
[ComponentStatus.Planned]: 'This component is planned for development.',
1010
};

apps/website/src/constants.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { createContextId } from '@builder.io/qwik';
22
import { OldAppState } from './types';
33

4-
export const OLD_APP_STATE_CONTEXT_ID =
5-
createContextId<OldAppState>('app_state');
4+
export const OLD_APP_STATE_CONTEXT_ID = createContextId<OldAppState>('app_state');

apps/website/src/entry.ssr.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
* - npm run build
1111
*
1212
*/
13-
import {
14-
renderToStream,
15-
type RenderToStreamOptions,
16-
} from '@builder.io/qwik/server';
13+
import { renderToStream, type RenderToStreamOptions } from '@builder.io/qwik/server';
1714
import { manifest } from '@qwik-client-manifest';
1815
import Root from './root';
1916

apps/website/src/root.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import {
33
useContextProvider,
44
useStore,
55
useStyles$,
6-
useVisibleTask$
6+
useVisibleTask$,
77
} from '@builder.io/qwik';
88
import {
99
QwikCityProvider,
1010
RouterOutlet,
11-
ServiceWorkerRegister
11+
ServiceWorkerRegister,
1212
} from '@builder.io/qwik-city';
1313
import { RouterHead } from './routes/_components/router-head/router-head';
1414

@@ -32,8 +32,8 @@ export default component$(() => {
3232
mode: 'light',
3333
isSidebarOpened: false,
3434
featureFlags: {
35-
showTailwind: import.meta.env.DEV
36-
}
35+
showTailwind: import.meta.env.DEV,
36+
},
3737
});
3838

3939
useContextProvider(ROOT_STORE_CONTEXT_ID, rootStore);
@@ -51,7 +51,7 @@ export default component$(() => {
5151

5252
// TODO: remove this old state once refactored
5353
const state = useStore<OldAppState>({
54-
darkMode: false
54+
darkMode: false,
5555
});
5656
useContextProvider(OLD_APP_STATE_CONTEXT_ID, state);
5757

@@ -67,7 +67,7 @@ export default component$(() => {
6767
<body
6868
lang="en"
6969
class={{
70-
'overflow-y-hidden': rootStore.isSidebarOpened
70+
'overflow-y-hidden': rootStore.isSidebarOpened,
7171
}}
7272
>
7373
<RouterOutlet />

apps/website/src/routes/(main)/about/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ export default component$(() => {
8484
});
8585

8686
export const head: DocumentHead = {
87-
title: 'Qwik UI | About the project'
87+
title: 'Qwik UI | About the project',
8888
};

0 commit comments

Comments
 (0)