New source found from dndbeyond.com

This commit is contained in:
2026-07-08 01:00:09 -07:00
parent 9a983a6d7b
commit dcefa0d2f2
2865 changed files with 222467 additions and 49053 deletions
@@ -1,6 +1,6 @@
import React, { useCallback } from "react";
import { RollRequest } from "@dndbeyond/dice";
import { RollDicePayload } from "@dndbeyond/pocket-dimension-dice/types";
import LoadingPlaceholder from "../../LoadingPlaceholder";
import { DataLoadingStatusEnum } from "../../componentConstants";
@@ -14,7 +14,7 @@ export interface DiceRollProps {
rollKey: string;
nextRollKey: string | null;
rollTotal: number | null;
diceRollRequest: RollRequest;
diceRollRequest: RollDicePayload["data"];
onChange?: (
key: string,
newValue: string | null,
@@ -25,7 +25,7 @@ export interface DiceRollProps {
) => void;
onRoll: (
key: string,
diceRollRequest: RollRequest,
diceRollRequest: RollDicePayload["data"],
nextRollKey: string | null
) => void;
rollValues: DiceRollValuesProps["rollValues"];
@@ -87,7 +87,7 @@ const DiceRoll: React.FunctionComponent<DiceRollProps> = ({
}
contentNode = (
<React.Fragment>
<>
<div className={diceTotalClassNames.join(" ")}>
<label className="ddbc-dice-roll__total-label" htmlFor={rollKey}>
{rollTotal ?? "--"}
@@ -107,7 +107,7 @@ const DiceRoll: React.FunctionComponent<DiceRollProps> = ({
rollButtonText={rollButtonText}
selectPlaceholderText={selectPlaceholderText}
/>
</React.Fragment>
</>
);
break;
}