Files
goodgo-platform/apps/web/components/design-system/index.ts
Ho Ngoc Hai 9bb4c42f84 feat(web): listings page — ticker-style DataTable với toggle card view
Tạo mới trang /listings dạng bảng ticker-style theo spec TEC-3034.

- DataTable compact (row 36px, sticky header, alternating rows)
- Cột: #, Mã (GG-xxx), Quận, Loại, Giá, Δ30d, DT m², KL/Views
- Sortable theo Giá, Δ30d, DT m², KL/Views
- Filter inline: Loại giao dịch, Loại BĐS, Quận, Khoảng giá
- Toggle view: Table (default) ↔ Card grid (legacy component cũ)
- Pagination restyle compact, giữ nguyên API params
- Click row → navigate to detail page
- Dùng DataTable + PriceDelta từ @/components/design-system

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-21 01:31:22 +07:00

21 lines
786 B
TypeScript

export { DataTable } from './data-table';
export type { DataTableColumn, DataTableProps, DataTableAlign } from './data-table';
export { StatCard } from './stat-card';
export type { StatCardProps } from './stat-card';
export { MarketIndex } from './market-index';
export type { MarketIndexProps } from './market-index';
export { PriceDelta } from './price-delta';
export type { PriceDeltaProps, PriceDeltaDirection } from './price-delta';
export { CompactHeader } from './compact-header';
export type { CompactHeaderProps } from './compact-header';
export { DashboardLayout } from './dashboard-layout';
export type { DashboardLayoutProps } from './dashboard-layout';
export { TickerStrip } from './ticker-strip';
export type { TickerStripProps, TickerItem } from './ticker-strip';