Skip to content

Commit

Permalink
feat(web/ui): move search bar component to ui library
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Shatford <[email protected]>
  • Loading branch information
jordanshatford committed Nov 9, 2023
1 parent 561468b commit aadd1b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions apps/web/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script lang="ts">
import { Title, Button, LoaderIcon, Icon } from '@yd/ui';
import { Title, Button, LoaderIcon, Icon, SearchBar } from '@yd/ui';
import { search } from '$lib/stores/search';
import SearchBar from '$lib/components/SearchBar.svelte';
import ResultCard from '$lib/components/ResultCard.svelte';
import config from '$lib/config';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { createEventDispatcher } from 'svelte';
import { MagnifyingGlassIcon, LoaderIcon, Icon } from '@yd/ui';
import { MagnifyingGlassIcon, LoaderIcon, Icon } from '../icons';
const dispatch = createEventDispatcher();
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export { default as IconButton } from './components/IconButton.svelte';
export { default as Modal } from './components/Modal.svelte';
export { default as Pagination } from './components/Pagination.svelte';
export { default as ProgressBar, type ProgressBarVariants } from './components/ProgressBar.svelte';
export { default as SearchBar } from './components/SearchBar.svelte';
export { default as Select } from './components/Select.svelte';
export { default as Table } from './components/Table.svelte';
export { default as Tabs } from './components/Tabs.svelte';
Expand Down

1 comment on commit aadd1b3

@vercel
Copy link

@vercel vercel bot commented on aadd1b3 Nov 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.