Skip to content

Commit ac5db24

Browse files
committed
refactor: changed cva to utils
1 parent 8177aa5 commit ac5db24

File tree

63 files changed

+151
-478
lines changed

Some content is hidden

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

63 files changed

+151
-478
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.

apps/website/src/routes/docs/_components/code-copy/code-copy.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import { stringifyClassList } from '@/packages/utils/src';
12
import { QwikIntrinsicElements, component$, useSignal } from '@builder.io/qwik';
2-
import { stringifyClassList } from '@qwik-ui/cva';
33
import { Button } from '@qwik-ui/fluffy';
4-
import { OmitSignalClass } from '@qwik-ui/type-utils';
4+
import { OmitSignalClass } from '@qwik-ui/utils';
55
import copy from 'clipboard-copy';
66
import { twMerge } from 'tailwind-merge';
77

apps/website/src/routes/docs/_components/highlight/highlight.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
useSignal,
66
useTask$,
77
} from '@builder.io/qwik';
8-
import { OmitSignalClass } from '@qwik-ui/type-utils';
8+
import { OmitSignalClass } from '@qwik-ui/utils';
99
import { CodeCopy } from '../code-copy/code-copy';
1010
import { getOrCreateHighlighter } from './get-or-create-highlighter';
1111

apps/website/src/routes/docs/fluffy/(getting-started)/introduction/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import ImgQwikUiFluffyCreatureScreen from '@/apps/website/public/images/qwik-ui-fluffy-creature-screen.webp?jsx';
12
import { component$ } from '@builder.io/qwik';
23
import type { DocumentHead } from '@builder.io/qwik-city';
34

@@ -49,6 +50,9 @@ export default component$(() => {
4950
It's the perfect combination: the cutting-edge technology of Qwik, paired with the
5051
modern design aesthetics of Tailwind CSS.
5152
</p>
53+
<section>
54+
<ImgQwikUiFluffyCreatureScreen />
55+
</section>
5256
</>
5357
);
5458
});

apps/website/src/routes/docs/headless/(components)/badge/index.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { component$, useStylesScoped$ } from '@builder.io/qwik';
22
import { Badge } from '@qwik-ui/headless';
3-
import { Button } from '@qwik-ui/primitives';
43

54
export default component$(() => {
65
useStylesScoped$(`
@@ -55,12 +54,6 @@ export default component$(() => {
5554
Heading
5655
<Badge class="badge">NEW</Badge>
5756
</h2>
58-
59-
<h1>Badge in a button</h1>
60-
<Button style="background-color: lightcoral">
61-
Inbox
62-
<Badge class="badge">+4</Badge>
63-
</Button>
6457
</>
6558
);
6659
});

apps/website/src/routes/docs/headless/(components)/button-group/button-group.css

Lines changed: 0 additions & 8 deletions
This file was deleted.

apps/website/src/routes/docs/headless/(components)/button-group/index.tsx

Lines changed: 0 additions & 37 deletions
This file was deleted.

apps/website/src/routes/docs/headless/(components)/button/index.css

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)