Commit 2f83f42d authored by Joe Ziemba's avatar Joe Ziemba
Browse files

refactoring

parent d6bca695
/*# sourceMappingURL=check.css.map */
\ No newline at end of file
{
"version": 3,
"file": "check.css",
"sources": [
"../scss/pf/check.scss"
],
"names": [],
"mappings": ""
}
\ No newline at end of file
/*# sourceMappingURL=modal-button-row.css.map */
\ No newline at end of file
{
"version": 3,
"file": "modal-button-row.css",
"sources": [
"../scss/modal-button-row.scss"
],
"names": [],
"mappings": ""
}
\ No newline at end of file
.c-feat-selection{text-align:left !important;border-collapse:collapse;font-size:0.9rem;width:100%;overflow-y:scroll}.c-feat-selection__row{display:flex;align-items:center;width:100%;text-align:left !important;padding:0.75rem 0;border-bottom:1px solid #dedede}.c-feat-selection__add-button{border:1px solid #505050;color:#505050;background-color:transparent;padding:0.5rem;line-height:0}.c-feat-selection th,.c-feat-selection td{padding:0.5rem 0.25rem}.c-feat-selection tr:nth-child(even){background:#eee}.c-feat-selection p{margin-bottom:0.5rem}
/*# sourceMappingURL=pf-feat-selection.css.map */
\ No newline at end of file
{
"version": 3,
"file": "pf-feat-selection.css",
"sources": [
"../scss/pf/pf-feat-selection.scss"
],
"names": [],
"mappings": "AAAA,AAAA,iBAAiB,AAAC,CAChB,UAAU,CAAE,eAAe,CAC3B,eAAe,CAAE,QAAQ,CACzB,SAAS,CAAE,MAAM,CACjB,KAAK,CAAE,IAAI,CACX,UAAU,CAAE,MAAM,CA+BnB,AA7BE,AAAD,sBAAM,AAAC,CACL,OAAO,CAAE,IAAI,CACb,WAAW,CAAE,MAAM,CACnB,KAAK,CAAE,IAAI,CACX,UAAU,CAAE,eAAe,CAC3B,OAAO,CAAE,SAAS,CAClB,aAAa,CAAE,iBAAiB,CACjC,AAEA,AAAD,6BAAa,AAAC,CACZ,MAAM,CAAE,iBAAiB,CACzB,KAAK,CAAE,OAAO,CACd,gBAAgB,CAAE,WAAW,CAC7B,OAAO,CAAE,MAAM,CACf,WAAW,CAAE,CAAC,CACf,AAtBH,AAwBE,iBAxBe,CAwBb,EAAE,CAxBN,iBAAiB,CAyBf,EAAE,AAAC,CACD,OAAO,CAAE,cAAc,CACxB,AA3BH,AA6BE,iBA7Be,CA6Bb,EAAE,AAAA,UAAW,CAAA,IAAI,CAAE,CACnB,UAAU,CAAE,IAAI,CACjB,AA/BH,AAiCE,iBAjCe,CAiCb,CAAC,AAAC,CACF,aAAa,CAAE,MAAM,CACtB"
}
\ No newline at end of file
/*# sourceMappingURL=pf-input.css.map */
\ No newline at end of file
{
"version": 3,
"file": "pf-input.css",
"sources": [
"../scss/pf/pf-input.scss"
],
"names": [],
"mappings": ""
}
\ No newline at end of file
/*# sourceMappingURL=pf-section.css.map */
\ No newline at end of file
{
"version": 3,
"file": "pf-section.css",
"sources": [
"../scss/pf/pf-section.scss"
],
"names": [],
"mappings": ""
}
\ No newline at end of file
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.1.0] - 2021-8-22
### Added
- Advanced Players Guide Classes
- Investigator
- Oracle
- Swashbuckler
- Witch
- All published Core and APG Class Feats
- All published Skill and General Feats
### Changed
- Improvements to feat selection modal
- UI changes to stat boxes, proficiency indicators and feat selection
......@@ -5,7 +5,7 @@ import cn from "classnames"
export const Modal = ({
show,
large,
color = "bg-slate-500",
color = "bg-slate-800",
closeFunction,
title,
children,
......@@ -26,8 +26,8 @@ export const Modal = ({
}
const overlayClasses = cn(
"bg-slate-900",
"bg-opacity-80",
"bg-black",
"bg-opacity-50",
"rounded-md",
"fixed",
"inset-0",
......
import React from "react"
import _ from "lodash"
import { Abilities } from "_data/abilities"
import { Abilities } from "data/abilities"
import { Card } from "./Card"
import { Select } from "./Select"
import { SubHeading } from "./SubHeading"
......
......@@ -77,7 +77,7 @@ export const CharacterBasics = ({
aria-label="Class"
isDefault={!character.class.name}
>
<option value="FREE">Choose Class</option>
<option value="">Choose Class</option>
{Object.keys(Classes).map((class_name) => (
<option value={class_name} key={class_name}>
{class_name}
......
import React, { useContext } from "react"
import { PF2CharacterContext } from "context"
import { Skills } from "_data/skills"
import { Skills } from "data/skills"
import { Select } from "./Select"
export const FreeSkillBoosts = ({ boostSource, boostLevel }) => {
......
import React, { useContext } from "react"
import Statbox from "./Statbox"
import { Abilities } from "_data/abilities"
import { Abilities } from "data/abilities"
import TEMLbuttons from "./TEMLbuttons"
import { Card } from "./Card"
import { FreeSkillBoosts } from "./FreeSkillBoosts"
......
......@@ -47,10 +47,10 @@ export const RedesignAnnounceModal = () => {
className={
"w-full md:w-auto text-center order-0 " +
"rounded-sm inline-block " +
"border-2 border-slate-500 " +
"border-2 border-slate-900 " +
"font-bold text-white " +
"bg-slate-500 " +
"hover:bg-slate-800 hover:border-slate-800 transition-all " +
"bg-slate-900 " +
"hover:bg-slate-700 hover:border-slate-700 transition-all " +
"py-2 md:py-1 px-4 "
}
>
......
import React from "react"
import Classes from "./_data/classes"
import { Ancestries } from "./_data/ancestries"
import { Backgrounds } from "./_data/backgrounds"
import Classes from "./data/classes"
import { Ancestries } from "./data/ancestries"
import { Backgrounds } from "./data/backgrounds"
export const UserContext = React.createContext({})
......
......@@ -4,7 +4,7 @@
@import url("//fonts.googleapis.com/css?family=Lato:100,200,300,400,500,600,700,800,900|Vollkorn:400,600,700");
@import "_assets/css/main.css";
@import "./_styles/animations.css";
@import "./styles/animations.css";
html,
body,
......
import CLASSES from "./_data/classes"
import { Backgrounds } from "./_data/backgrounds"
import FEATS from "./_data/feats/allFeats.json"
import { getBlankCharacter } from "./_data/classTemplate"
import CLASSES from "./data/classes"
import { Backgrounds } from "./data/backgrounds"
import FEATS from "./data/feats/allFeats.json"
import { getBlankCharacter } from "./data/classTemplate"
import { cloneDeep } from "lodash"
export function v1_0_1(character) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment