Lib: Add non-lazy variants for card, image and dropdown

This commit is contained in:
2024-12-23 01:16:48 +01:00
parent c327fe0b1f
commit 6994547d13
5 changed files with 210 additions and 0 deletions

View File

@ -1,18 +1,22 @@
import Image from "./Image.svelte";
import LazyImage from "./LazyImage.svelte";
import LoadingIndicator from "./LoadingIndicator.svelte";
import Table from "./Table.svelte";
import Button from "./form/Button.svelte";
import Dropdown from "./form/Dropdown.svelte";
import Input from "./form/Input.svelte";
import LazyDropdown from "./form/LazyDropdown.svelte";
import Search from "./form/Search.svelte";
import Card from "./cards/Card.svelte";
import DriverCard from "./cards/DriverCard.svelte";
import LazyCard from "./cards/LazyCard.svelte";
import RaceCard from "./cards/RaceCard.svelte";
import SubstitutionCard from "./cards/SubstitutionCard.svelte";
import TeamCard from "./cards/TeamCard.svelte";
import type { DropdownOption } from "./form/Dropdown";
import type { LazyDropdownOption } from "./form/LazyDropdown";
import type { TableColumn } from "./Table";
@ -22,17 +26,20 @@ import UserIcon from "./svg/UserIcon.svelte";
export {
// Components
Image,
LazyImage,
LoadingIndicator,
Table,
// Form
Button,
Dropdown,
Input,
LazyDropdown,
Search,
// Cards
Card,
DriverCard,
LazyCard,
RaceCard,
@ -40,6 +47,7 @@ export {
TeamCard,
// Types
type DropdownOption,
type LazyDropdownOption,
type TableColumn,