Grabbed dndbeyond's source code
``` ~/go/bin/sourcemapper -output ddb -jsurl https://media.dndbeyond.com/character-app/static/js/main.90aa78c5.js ```
This commit is contained in:
+43
@@ -0,0 +1,43 @@
|
||||
import React from "react";
|
||||
|
||||
import BaseSvg from "../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../hocs";
|
||||
|
||||
export default class SavingThrowRowBoxSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = ["ddbc-saving-throw-row-box-svg"];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 116.1 34">
|
||||
<g id="SavingThrowRowBoxSvg-Page-1_1_">
|
||||
<g
|
||||
id="SavingThrowRowBoxSvg-Sheet_Desktop_Static"
|
||||
transform="translate(-683.000000, -651.000000)"
|
||||
>
|
||||
<path
|
||||
fill={fillColor}
|
||||
id="SavingThrowRowBoxSvg-Page-1"
|
||||
d="M789.8,651h-22l-0.3,0.2c-1.2,0.8-2.3,1.7-3.2,2.7h-75.6l-0.3,0.4c-0.7,1.2-3,4.5-4.9,5.4
|
||||
l-0.5,0.2l0,16.1l0.5,0.2c1.8,0.9,4.1,4.2,4.9,5.4l0.3,0.4h75.6c1,1,2.1,1.9,3.2,2.7l0.3,0.2h21.9l0.3-0.2c5.6-3.8,9-10,9-16.8
|
||||
s-3.4-13-9-16.8L789.8,651z M797.1,668c0,5.8-2.9,11.2-7.6,14.5h-10.3c-4.7-2.1-11.1-3.2-14.3-3.8c-2.3-3-3.7-6.8-3.7-10.7v0
|
||||
c0-3.9,1.3-7.7,3.7-10.7c3.1-0.6,9.5-1.7,14.3-3.8h10.3C794.3,656.8,797.1,662.2,797.1,668L797.1,668z M752.8,655.6
|
||||
c0.8,0.7,2.5,1.8,5.7,2.1c-0.9,1.5-3,5.5-3,10.3s2,8.8,3,10.3c-3.2,0.3-4.9,1.4-5.7,2.1h-55.4c-3.1-1.1-11.1-4.5-12.9-9.3l0-6.2
|
||||
c1.9-4.8,9.9-8.1,12.9-9.3H752.8z M759.6,657.8c0.6,0,1.3,0,2,0c-1.8,3.1-2.8,6.6-2.8,10.3v0c0,3.7,1,7.2,2.9,10.3
|
||||
c-0.7,0-1.3-0.1-2,0c-0.6-1-3.1-5.2-3.1-10.2S759,658.8,759.6,657.8L759.6,657.8z M768.9,682.5c-1.1-0.8-2.1-1.7-3-2.6
|
||||
c2.4,0.5,5.1,1.3,8.3,2.6H768.9L768.9,682.5z M762.2,679.3c0.3,0.4,0.5,0.7,0.8,1.1h-8.5C755.9,679.7,758.3,678.9,762.2,679.3
|
||||
L762.2,679.3z M689.3,680.4c-0.7-1.1-2.8-4.1-4.9-5.4v-1.9c2.3,3.4,7.1,5.9,10.4,7.3H689.3L689.3,680.4z M684.4,661
|
||||
c2.1-1.3,4.2-4.3,4.9-5.4h5.5c-3.3,1.4-8,3.9-10.4,7.3V661L684.4,661z M763,655.6c-0.3,0.4-0.5,0.7-0.8,1.1
|
||||
c-3.9,0.4-6.3-0.4-7.7-1.1H763z M765.9,656.1c0.9-1,1.9-1.9,3-2.6h5.3C771,654.8,768.2,655.6,765.9,656.1L765.9,656.1z"
|
||||
/>
|
||||
</g>
|
||||
</g>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
import React from "react";
|
||||
|
||||
import { BaseSvg } from "../../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../../hocs";
|
||||
|
||||
export default class SavingThrowRowSmallBoxSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = ["ddbc-saving-throw-row-small-box-svg"];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 88 28">
|
||||
<g id="SavingThrowRowSmallBoxSvg-Page-1">
|
||||
<g id="SavingThrowRowSmallBoxSvg-Sheet_Desktop_Static">
|
||||
<path
|
||||
id="SavingThrowRowSmallBoxSvg-Page-1-2"
|
||||
fill={fillColor}
|
||||
d="M81.02068,0H64.331l-.22758.1652a13.19155,13.19155,0,0,0-2.4276,2.23009H4.32415l-.22758.3304c-.531.99116-2.27586,3.7168-3.71726,4.46018L0,7.35107V20.64893l.37931.1652c1.36551.74338,3.11033,3.469,3.71726,4.46018l.22758.3304h57.3517a20.96667,20.96667,0,0,0,2.4276,2.23009L64.331,28H80.94484l.22757-.1652A17.166,17.166,0,0,0,88,13.95876,17.166,17.166,0,0,0,81.17241.08273ZM86.5586,14.04124a15.10111,15.10111,0,0,1-5.7655,11.97635H72.97932c-3.56553-1.73449-8.42067-2.64307-10.84827-3.13862a15.53188,15.53188,0,0,1-2.8069-8.83773h0a14.98609,14.98609,0,0,1,2.8069-8.83773C64.48276,4.708,69.338,3.79937,72.97932,2.06489H80.7931a14.8801,14.8801,0,0,1,5.7655,11.97635ZM52.95171,3.79937a7.09114,7.09114,0,0,0,4.32415,1.73449A18.4022,18.4022,0,0,0,55,14.04119a17.50539,17.50539,0,0,0,2.27586,8.50732A7.09144,7.09144,0,0,0,52.95171,24.283H10.92411c-2.35171-.90853-8.42067-3.7168-9.78623-7.68137V11.4807c1.4414-3.96458,7.51037-6.69022,9.78623-7.68138h42.0276Zm5.15862,1.81711h1.51724a18.00564,18.00564,0,0,0-2.12413,8.50733h0a17.221,17.221,0,0,0,2.2,8.50733,9.30868,9.30868,0,0,0-1.51724,0,18.18447,18.18447,0,0,1-2.35171-8.42475,19.36161,19.36161,0,0,1,2.27582-8.58991Zm7.05521,20.40111a19.90907,19.90907,0,0,1-2.27587-2.14747,34.16144,34.16144,0,0,1,6.29655,2.14747Zm-5.08277-2.64307c.22757.3304.37931.57818.60689.90853H54.24138a9.56687,9.56687,0,0,1,5.84139-.90853ZM4.7793,24.2831A15.78928,15.78928,0,0,0,1.062,19.82292V18.25359c1.74482,2.80827,5.38619,4.87315,7.88967,6.02946H4.7793ZM1.06209,8.25955A15.7888,15.7888,0,0,0,4.77935,3.79937H8.95176C6.44832,4.95573,2.8828,7.02062,1.06209,9.82884V8.25955ZM60.68966,3.79937c-.22758.33041-.37932.57818-.60689.90853a9.56642,9.56642,0,0,1-5.84139-.90853Zm2.2.413a11.52883,11.52883,0,0,1,2.27587-2.14746h4.02068a36.16356,36.16356,0,0,1-6.29655,2.14746Z"
|
||||
/>
|
||||
</g>
|
||||
</g>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import SavingThrowRowSmallBoxSvg from "./SavingThrowRowSmallBoxSvg";
|
||||
|
||||
export default SavingThrowRowSmallBoxSvg;
|
||||
@@ -0,0 +1,18 @@
|
||||
import { asEmptySvg, asThemedSvg } from "../../hocs";
|
||||
import SavingThrowRowBoxSvg from "./SavingThrowRowBoxSvg";
|
||||
import SavingThrowRowSmallBoxSvg from "./SavingThrowRowSmallBoxSvg";
|
||||
|
||||
const EmptySavingThrowRowBoxSvg = asEmptySvg(SavingThrowRowBoxSvg);
|
||||
const ThemedSavingThrowRowBoxSvg = asThemedSvg(SavingThrowRowBoxSvg);
|
||||
const EmptySavingThrowRowSmallBoxSvg = asEmptySvg(SavingThrowRowSmallBoxSvg);
|
||||
const ThemedSavingThrowRowSmallBoxSvg = asThemedSvg(SavingThrowRowSmallBoxSvg);
|
||||
|
||||
export default SavingThrowRowBoxSvg;
|
||||
export {
|
||||
SavingThrowRowBoxSvg,
|
||||
SavingThrowRowSmallBoxSvg,
|
||||
EmptySavingThrowRowBoxSvg,
|
||||
ThemedSavingThrowRowBoxSvg,
|
||||
EmptySavingThrowRowSmallBoxSvg,
|
||||
ThemedSavingThrowRowSmallBoxSvg,
|
||||
};
|
||||
Reference in New Issue
Block a user