Skip to content

Commit c096650

Browse files
committed
build(docs): fixed fluffy build errors
1 parent da011b5 commit c096650

File tree

4 files changed

+15
-16
lines changed

4 files changed

+15
-16
lines changed

packages/kit-fluffy/vite.config.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ import tsconfigPaths from 'vite-tsconfig-paths';
99

1010
export default defineConfig({
1111
plugins: [
12-
macroPlugin({
13-
filter: (ident, id) => {
14-
return (
15-
id.includes('/styled-system/') &&
16-
!id.includes('/jsx') &&
17-
(id.startsWith('.') || id.startsWith('~'))
18-
);
19-
},
20-
}),
12+
// macroPlugin({
13+
// filter: (ident, id) => {
14+
// return (
15+
// id.includes('/styled-system/') &&
16+
// !id.includes('/jsx') &&
17+
// (id.startsWith('.') || id.startsWith('~'))
18+
// );
19+
// },
20+
// }),
2121
qwikNxVite(),
2222
qwikVite({
2323
vendorRoots: [join(__dirname, '../kit-headless/src')],

packages/kit-headless/src/components/autocomplete/autocomplete-listbox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import AutocompleteContextId from './autocomplete-context-id';
1212

1313
import { KeyCode } from '../../utils/key-code.type';
1414

15-
const listPreventedKeys = [
15+
const preventedKeys = [
1616
KeyCode.Home,
1717
KeyCode.End,
1818
KeyCode.PageDown,
@@ -31,7 +31,7 @@ export const AutocompleteListbox = component$((props: ListboxProps) => {
3131

3232
useVisibleTask$(function preventDefaultTask({ cleanup }) {
3333
function keyHandler(e: KeyboardEvent) {
34-
if (listPreventedKeys.includes(e.key as KeyCode)) {
34+
if (preventedKeys.includes(e.key as KeyCode)) {
3535
e.preventDefault();
3636
}
3737
}

packages/kit-headless/src/components/checkbox/checkbox.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import {
2-
Component,
32
PropFunction,
43
QwikChangeEvent,
54
QwikIntrinsicElements,
@@ -11,7 +10,7 @@ export type LabelProps = QwikIntrinsicElements['label'] & {
1110
htmlFor?: string;
1211
};
1312

14-
export const Label: Component<LabelProps> = component$(({ ...props }: LabelProps) => {
13+
export const Label = component$(({ ...props }: LabelProps) => {
1514
return (
1615
<label {...props}>
1716
<Slot />
@@ -32,7 +31,7 @@ export type CheckboxProps = QwikIntrinsicElements['input'] & {
3231
>;
3332
};
3433

35-
export const Root: Component<CheckboxProps> = component$(
34+
export const Root = component$(
3635
({
3736
checked,
3837
disabled,

packages/kit-headless/src/components/tabs/tab.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export type TabProps = {
2727
/** @deprecated Internal use only */
2828
} & QwikIntrinsicElements['button'];
2929

30-
const tabPreventedKeys = [
30+
const preventedKeys = [
3131
KeyCode.Home,
3232
KeyCode.End,
3333
KeyCode.PageDown,
@@ -57,7 +57,7 @@ export const Tab = component$(
5757

5858
useVisibleTask$(function preventDefaultOnKeysVisibleTask({ cleanup }) {
5959
function handler(event: KeyboardEvent) {
60-
if (tabPreventedKeys.includes(event.key as KeyCode)) {
60+
if (preventedKeys.includes(event.key as KeyCode)) {
6161
event.preventDefault();
6262
}
6363
contextService.onTabKeyDown$(event.key as KeyCode, tabId!);

0 commit comments

Comments
 (0)