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:
+30
@@ -0,0 +1,30 @@
|
||||
import React from "react";
|
||||
|
||||
import BaseSvg from "../../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../../hocs";
|
||||
|
||||
export default class ChevronDownSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = [
|
||||
"ddbc-chevron-svg",
|
||||
"ddbc-chevron-down-svg",
|
||||
];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 1792 1792">
|
||||
<path
|
||||
fill={fillColor}
|
||||
d="M1683,653.5l-742,741c-12.7,12.7-27.7,19-45,19s-32.3-6.3-45-19l-742-741c-12.7-12.7-19-27.8-19-45.5
|
||||
s6.3-32.8,19-45.5l166-165c12.7-12.7,27.7-19,45-19s32.3,6.3,45,19l531,531l531-531c12.7-12.7,27.7-19,45-19s32.3,6.3,45,19l166,165
|
||||
c12.7,12.7,19,27.8,19,45.5S1695.7,640.8,1683,653.5z"
|
||||
/>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
import {
|
||||
asDarkSvg,
|
||||
asDisabledSvg,
|
||||
asLightSvg,
|
||||
asThemedSvg,
|
||||
} from "../../../hocs";
|
||||
import ChevronDownSvg from "./ChevronDownSvg";
|
||||
|
||||
const LightChevronDownSvg = asLightSvg(ChevronDownSvg);
|
||||
const DarkChevronDownSvg = asDarkSvg(ChevronDownSvg);
|
||||
const DisabledChevronDownSvg = asDisabledSvg(ChevronDownSvg);
|
||||
const ThemedChevronDownSvg = asThemedSvg(ChevronDownSvg);
|
||||
|
||||
export default ChevronDownSvg;
|
||||
export {
|
||||
ChevronDownSvg,
|
||||
LightChevronDownSvg,
|
||||
ThemedChevronDownSvg,
|
||||
DarkChevronDownSvg,
|
||||
DisabledChevronDownSvg,
|
||||
};
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
import React from "react";
|
||||
|
||||
import BaseSvg from "../../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../../hocs";
|
||||
|
||||
export default class ChevronLeftSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = [
|
||||
"ddbc-chevron-svg",
|
||||
"ddbc-chevron-left-svg",
|
||||
];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 1035 1612">
|
||||
<path
|
||||
fill={fillColor}
|
||||
d="M1184,90q26.5,0,45.5,19l165,166q19,19,19,45t-19,45l-531,531,531,531q19,19,19,45t-19,45l-165,166q-19,19-45.5,19t-45.5-19l-741-742q-19-19-19-45t19-45l741-742Q1157.5,90,1184,90Z"
|
||||
transform="translate(-378.5 -90)"
|
||||
/>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import {
|
||||
asBuilderSvg,
|
||||
asDarkSvg,
|
||||
asDisabledSvg,
|
||||
asLightSvg,
|
||||
asThemedSvg,
|
||||
} from "../../../hocs";
|
||||
import ChevronLeftSvg from "./ChevronLeftSvg";
|
||||
|
||||
const BuilderChevronLeftSvg = asBuilderSvg(ChevronLeftSvg);
|
||||
const LightChevronLeftSvg = asLightSvg(ChevronLeftSvg);
|
||||
const DarkChevronLeftSvg = asDarkSvg(ChevronLeftSvg);
|
||||
const DisabledChevronLeftSvg = asDisabledSvg(ChevronLeftSvg);
|
||||
const ThemedChevronLeftSvg = asThemedSvg(ChevronLeftSvg);
|
||||
|
||||
export default ChevronLeftSvg;
|
||||
export {
|
||||
ChevronLeftSvg,
|
||||
BuilderChevronLeftSvg,
|
||||
LightChevronLeftSvg,
|
||||
ThemedChevronLeftSvg,
|
||||
DarkChevronLeftSvg,
|
||||
DisabledChevronLeftSvg,
|
||||
};
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
import React from "react";
|
||||
|
||||
import BaseSvg from "../../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../../hocs";
|
||||
|
||||
export default class ChevronRightSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = [
|
||||
"ddbc-chevron-svg",
|
||||
"ddbc-chevron-right-svg",
|
||||
];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 1035 1612">
|
||||
<path
|
||||
fill={fillColor}
|
||||
d="M653.5,109l741,742q19,19,19,45t-19,45l-741,742q-19,19-45.5,19t-45.5-19l-165-166q-19-19-19-45t19-45l531-531-531-531q-19-19-19-45t19-45l165-166q19-19,45.5-19T653.5,109Z"
|
||||
transform="translate(-378.5 -90)"
|
||||
/>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import {
|
||||
asBuilderSvg,
|
||||
asDarkSvg,
|
||||
asDisabledSvg,
|
||||
asLightSvg,
|
||||
asThemedSvg,
|
||||
} from "../../../hocs";
|
||||
import ChevronRightSvg from "./ChevronRightSvg";
|
||||
|
||||
const BuilderChevronRightSvg = asBuilderSvg(ChevronRightSvg);
|
||||
const LightChevronRightSvg = asLightSvg(ChevronRightSvg);
|
||||
const DarkChevronRightSvg = asDarkSvg(ChevronRightSvg);
|
||||
const DisabledChevronRightSvg = asDisabledSvg(ChevronRightSvg);
|
||||
const ThemedChevronRightSvg = asThemedSvg(ChevronRightSvg);
|
||||
|
||||
export default ChevronRightSvg;
|
||||
export {
|
||||
ChevronRightSvg,
|
||||
BuilderChevronRightSvg,
|
||||
LightChevronRightSvg,
|
||||
ThemedChevronRightSvg,
|
||||
DarkChevronRightSvg,
|
||||
DisabledChevronRightSvg,
|
||||
};
|
||||
@@ -0,0 +1,27 @@
|
||||
import React from "react";
|
||||
|
||||
import BaseSvg from "../../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../../hocs";
|
||||
|
||||
export default class ChevronUpSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = ["ddbc-chevron-svg", "ddbc-chevron-up-svg"];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 1792 1792">
|
||||
<path
|
||||
fill={fillColor}
|
||||
d="M109,1138.5l742-741c12.7-12.7,27.7-19,45-19s32.3,6.3,45,19l742,741c12.7,12.7,19,27.8,19,45.5
|
||||
c0,17.7-6.3,32.8-19,45.5l-166,165c-12.7,12.7-27.7,19-45,19s-32.3-6.3-45-19l-531-531l-531,531c-12.7,12.7-27.7,19-45,19
|
||||
s-32.3-6.3-45-19l-166-165c-12.7-12.7-19-27.8-19-45.5C90,1166.3,96.3,1151.2,109,1138.5z"
|
||||
/>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
import {
|
||||
asDarkSvg,
|
||||
asDisabledSvg,
|
||||
asLightSvg,
|
||||
asThemedSvg,
|
||||
} from "../../../hocs";
|
||||
import ChevronUpSvg from "./ChevronUpSvg";
|
||||
|
||||
const LightChevronUpSvg = asLightSvg(ChevronUpSvg);
|
||||
const DarkChevronUpSvg = asDarkSvg(ChevronUpSvg);
|
||||
const DisabledChevronUpSvg = asDisabledSvg(ChevronUpSvg);
|
||||
const ThemedChevronUpSvg = asThemedSvg(ChevronUpSvg);
|
||||
|
||||
export default ChevronUpSvg;
|
||||
export {
|
||||
ChevronUpSvg,
|
||||
LightChevronUpSvg,
|
||||
ThemedChevronUpSvg,
|
||||
DarkChevronUpSvg,
|
||||
DisabledChevronUpSvg,
|
||||
};
|
||||
Reference in New Issue
Block a user