Skip to content

Commit adc156b

Browse files
committed
update opub ui and fix search css
1 parent 51afd1d commit adc156b

4 files changed

Lines changed: 16 additions & 8 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.Search {
2+
input {
3+
width: 80%;
4+
height: 36px;
5+
}
6+
}

app/[locale]/(user)/datasets/page.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ import {
1313
Tray,
1414
} from 'opub-ui';
1515

16+
import { cn } from '@/lib/utils';
1617
import BreadCrumbs from '@/components/BreadCrumbs';
1718
import DatasetCards from './components/DatasetCards';
1819
import Filter from './components/FIlter/Filter';
20+
import Styles from './dataset.module.scss';
1921

2022
interface Bucket {
2123
key: string;
@@ -234,14 +236,14 @@ const DatasetsListing = () => {
234236
Showing {datasetDetails?.length} of {count} Datasets
235237
</Text>
236238
</div>
237-
<div className="w-full max-w-[550px] md:block">
239+
<div className=" w-full max-w-[550px] md:block">
238240
<SearchInput
239241
label="Search"
240242
name="Search"
241-
placeholder="Search for data"
243+
className={cn(Styles.Search)}
244+
placeholder="Search datasets"
242245
onSubmit={(value) => handleSearch(value)}
243246
onClear={(value) => handleSearch(value)}
244-
withButton
245247
/>
246248
</div>
247249
<div className="flex items-center gap-2">

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"next-auth": "^4.24.7",
3535
"next-intl": "^3.4.0",
3636
"next-usequerystate": "^1.17.2",
37-
"opub-ui": "^0.3.30",
37+
"opub-ui": "latest",
3838
"react": "^18.2.0",
3939
"react-aria": "3.22.0",
4040
"react-dom": "^18.2.0",

0 commit comments

Comments
 (0)