Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
haishanh committed Oct 26, 2024
1 parent 1e12a67 commit 5b5eb96
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 25 deletions.
10 changes: 5 additions & 5 deletions src/custom.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
declare module '@hsjs/svelte-icons/feather/*' {
import { SvelteComponentTyped } from 'svelte';
type FeatherProps = { color?: string; size?: number };
export default class FeatherComponent extends SvelteComponentTyped<FeatherProps> {}
}
// declare module '@hsjs/svelte-icons/feather/*' {
// import { SvelteComponentTyped } from 'svelte';
// type FeatherProps = { color?: string; size?: number };
// export default class FeatherComponent extends SvelteComponentTyped<FeatherProps> {}
// }

declare module 'svelte-file-dropzone' {
import { SvelteComponentTyped } from 'svelte';
Expand Down
3 changes: 1 addition & 2 deletions src/lib/components/autocomplte/GroupAutocomplete.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script lang="ts">
import { ChevronDownIcon } from 'lucide-svelte';
import { ChevronDownIcon } from 'lucide-svelte';
import VisuallyHidden from '../base/VisuallyHidden.svelte';
import { fuzzysearch } from './fuzzy';
Expand Down
3 changes: 1 addition & 2 deletions src/lib/components/base/ExternalLink.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script lang="ts">
import { ExternalLink } from 'lucide-svelte';
import { ExternalLink } from 'lucide-svelte';
interface Props {
href?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/base/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import { decModalZi, incModalZi } from '$lib/utils/common.util';
import Portal from './misc/Portal.svelte';
import { XIcon } from 'lucide-svelte';
import { XIcon } from 'lucide-svelte';
export let closeButtonPosition: 'left' | 'right' = 'right';
export let verticalAlign: 'start' | 'center' | 'end' = 'center';
Expand Down
3 changes: 1 addition & 2 deletions src/lib/components/base/misc/EyeButton.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script lang="ts">
import VisuallyHidden from '$lib/components/base/VisuallyHidden.svelte';
import { EyeIcon, EyeOffIcon } from 'lucide-svelte';
import { EyeIcon, EyeOffIcon } from 'lucide-svelte';
export let show = false;
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/bookmark-chip/PopoverAction.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Button from '$lib/components/base/Button.svelte';
import VisuallyHidden from '$lib/components/base/VisuallyHidden.svelte';
import { EditIcon, TrashIcon, XIcon } from 'lucide-svelte';
import { EditIcon, TrashIcon, XIcon } from 'lucide-svelte';
const dispatch = createEventDispatcher();
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/bookmark/BookmarkChip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import type { BookmarkFromDb } from '$lib/type';
import BookmarkTagsPreview from './BookmarkTagsPreview.svelte';
import { CheckSquareIcon, SquareIcon } from 'lucide-svelte';
import { CheckSquareIcon, SquareIcon } from 'lucide-svelte';
export let bookmark: BookmarkFromDb;
export let isOpen = false;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/bookmark/BookmarkToolbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import Button from '$lib/components/base/Button.svelte';
import Tooltip from '$lib/components/base/popover/Tooltip.svelte';
import VisuallyHidden from '$lib/components/base/VisuallyHidden.svelte';
import { EditIcon, PlusIcon } from 'lucide-svelte';
import { EditIcon, PlusIcon } from 'lucide-svelte';
export let tools = ['arrange', 'add'];
Expand Down
3 changes: 1 addition & 2 deletions src/lib/components/feature/Header.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<script lang="ts">
import { afterNavigate } from '$app/navigation';
import Cherry from '$lib/components/base/Cherry.svelte';
import Dice from '$lib/components/base/icons/Dice.svelte';
import { SettingsIcon, TagIcon } from 'lucide-svelte';
import { SettingsIcon, TagIcon } from 'lucide-svelte';
let randomCount = 0;
afterNavigate(() => {
Expand Down
3 changes: 1 addition & 2 deletions src/lib/components/home/GroupAddModal.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<script lang="ts">
import { createGroup, updateGroupClientSide } from '$lib/client/group.store';
import Button from '$lib/components/base/Button.svelte';
import Modal from '$lib/components/base/Modal.svelte';
import { addToast } from '$lib/components/base/toast/store';
import { request, RequestError } from '$lib/utils/http.util';
import { SaveIcon } from 'lucide-svelte';
import { SaveIcon } from 'lucide-svelte';
import Field from '../base/Field.svelte';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/home/GroupChip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { groupAddModal, groupDeleteConfirmModal } from '$lib/client/modal.store';
import Button from '$lib/components/base/Button.svelte';
import { EditIcon, TrashIcon } from 'lucide-svelte';
import { EditIcon, TrashIcon } from 'lucide-svelte';
const dispatch = createEventDispatcher();
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/home/GroupFilterInput.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { FilterIcon } from "lucide-svelte";
import { FilterIcon } from 'lucide-svelte';
export let value = '';
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/home/GroupListModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import Spinner from '../feedback/Spinner.svelte';
import GroupChip from './GroupChip.svelte';
import GroupFilterInput from './GroupFilterInput.svelte';
import { PlusIcon } from 'lucide-svelte';
import { PlusIcon } from 'lucide-svelte';
const dispatch = createEventDispatcher();
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/pagination/Pagination.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { ChevronLeftIcon, ChevronRightIcon } from "lucide-svelte";
import { ChevronLeftIcon, ChevronRightIcon } from 'lucide-svelte';
// current page
export let current = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/_play/Import/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import { Inbox } from 'lucide-svelte'
import { Inbox } from 'lucide-svelte';
import Dropzone from 'svelte-file-dropzone';
// import { request } from '$lib/utils/http.util';
Expand Down
2 changes: 1 addition & 1 deletion src/routes/settings/import/FileDropZone.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { ArrowUpCircle, Inbox } from 'lucide-svelte';
import { ArrowUpCircle, Inbox } from 'lucide-svelte';
import Dropzone from 'svelte-file-dropzone';
import Button from '$lib/components/base/Button.svelte';
Expand Down

0 comments on commit 5b5eb96

Please sign in to comment.