New source found from dndbeyond.com

This commit is contained in:
2025-06-05 01:00:10 -07:00
parent 3954b12f5d
commit 451d940294
14 changed files with 88 additions and 35 deletions
@@ -37,6 +37,7 @@ export const Listing: FC<ListingProps> = ({
key={item.id + "group"}
disabledIds={disabledIds}
onQuickSelect={onQuickSelect}
data-testid="sourceHeader"
/>
) : (
<ListingItemButton
@@ -44,6 +45,7 @@ export const Listing: FC<ListingProps> = ({
isDisabled={isDisabled}
key={item.id}
onQuickSelect={onQuickSelect}
data-testid="optionButton"
/>
);
})
@@ -287,7 +287,11 @@ export const ClassChoose: FC<ClassChooseProps> = ({
};
return (
<div className={clsx([styles.page, className])} {...props}>
<div
className={clsx([styles.page, className])}
{...props}
data-testid="chooseClassSection"
>
{showHeader && (
<>
<PortraitName />
@@ -400,7 +404,10 @@ export const ClassChoose: FC<ClassChooseProps> = ({
);
})
) : (
<p className={styles.notFound}>No Results Found</p>
<p className={styles.notFound}>
No Class options available. Return to the <strong>Home</strong>{" "}
tab to enable more source categories.
</p>
)}
</>
)}
@@ -96,7 +96,11 @@ export const SpeciesChoose: FC<SpeciesChooseProps> = ({
};
return (
<div className={clsx([styles.speciesChoose, className])} {...props}>
<div
className={clsx([styles.speciesChoose, className])}
{...props}
data-testid="chooseSpeciesSection"
>
{showHeader && (
<>
<PortraitName />
@@ -160,8 +164,13 @@ export const SpeciesChoose: FC<SpeciesChooseProps> = ({
</div>
<hr className={styles.divider} />
<div className={clsx([styles.text, styles.marketplace])}>
Looking for something not in the list below? Unlock all official options
in the <Link href="/marketplace">Marketplace</Link>.
Check your source settings on the <strong>Home</strong> tab if you can't
find Species you've purchased.
<br />
Expand your library in the <Link href="/marketplace">
Marketplace
</Link>{" "}
for more Species options.
</div>
{isLoading ? (
<Spinner />