Merge pull request #48 from LucidKobold/currDay-highlight

Fix the highlight for the current day.
This commit is contained in:
Lucid Kobold
2022-04-09 14:07:58 -05:00
committed by GitHub
5 changed files with 27 additions and 21 deletions

View File

@@ -142,8 +142,8 @@ const Day = ({
p={
isSameDay(new Date(), date)
? getDate(date) > 10
? "4px 8px"
: "2px 10px"
? "0px 6px 3px 6px"
: "0px 9px 3px 9px"
: "auto"
}
h="auto"

View File

@@ -161,7 +161,13 @@ const AddUpdateSticker = ({
"M/d/y"
)}?`,
body: (
<SimpleGrid my={{ base: "0px", sm: "6" }} mx={{ base: "0px", sm: "10", md: "16" }} w="auto" h="100%" columns={3}>
<SimpleGrid
my={{ base: "0px", sm: "6" }}
mx={{ base: "0px", sm: "10", md: "16" }}
w="auto"
h="100%"
columns={3}
>
<Heading textAlign="center" as="h3" size="md" w="100%" h="auto">
{"Previous Sticker"}
</Heading>

View File

@@ -2,7 +2,7 @@
"private": true,
"name": "lucid-creations-media-potty-chart",
"homepage": "https://lucidcreations.media/introducing-code-name-potty-chart/",
"version": "v0.0.9.3-alpha",
"version": "v0.0.9.4-alpha",
"author": {
"name": "Lucid Creations Media",
"url": "https://lucidcreations.media",
@@ -32,14 +32,14 @@
"devDependencies": {
"@types/node": "^17.0.23",
"@typescript-eslint/eslint-plugin": "^5.18.0",
"eslint": "^8.12.0",
"eslint": "^8.13.0",
"eslint-config-next": "^12.1.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "<=4.3.0",
"prettier": "^2.6.2",
"typescript": "<4.6.0"
"typescript": "^4.6.3"
},
"packageManager": "yarn@3.1.0"
}

View File

@@ -15,7 +15,7 @@ import appLogo from "../../public/images/logo.svg";
const Header = (): JSX.Element => {
const appName = "LCM Potty Chart";
const appVersion = "v0.0.9.3-alpha";
const appVersion = "v0.0.9.4-alpha";
// Add transparency while not at the top of the page.
const [transparentNavbar, setTransparentNavbar] = useState<boolean>(false);

View File

@@ -2630,9 +2630,9 @@ __metadata:
languageName: node
linkType: hard
"eslint@npm:^8.12.0":
version: 8.12.0
resolution: "eslint@npm:8.12.0"
"eslint@npm:^8.13.0":
version: 8.13.0
resolution: "eslint@npm:8.13.0"
dependencies:
"@eslint/eslintrc": ^1.2.1
"@humanwhocodes/config-array": ^0.9.2
@@ -2671,7 +2671,7 @@ __metadata:
v8-compile-cache: ^2.0.3
bin:
eslint: bin/eslint.js
checksum: 111bf9046b7a463049788dd00d7f4cd91e024029982352dff4811ce5dfa8cb1136aa127cd8a7a91508234d3e1b4fb6f638a1f5ef9ea08b1af93a18703a4a8dc1
checksum: bc7d2fc9a046d42cb2c8987573ecaf534c1fae14747c4695e32388e179c5f21b83eefdb3e4f35924bf76152e226d7cc9dfb21f12348baf12c803109005b17439
languageName: node
linkType: hard
@@ -3639,7 +3639,7 @@ __metadata:
"@types/react": <=17.0.2
"@typescript-eslint/eslint-plugin": ^5.18.0
date-fns: ^2.28.0
eslint: ^8.12.0
eslint: ^8.13.0
eslint-config-next: ^12.1.4
eslint-config-prettier: ^8.5.0
eslint-plugin-jsx-a11y: ^6.5.1
@@ -3652,7 +3652,7 @@ __metadata:
react: <=17.0.2
react-dom: <=17.0.2
sharp: ^0.30.3
typescript: <4.6.0
typescript: ^4.6.3
languageName: unknown
linkType: soft
@@ -5160,23 +5160,23 @@ __metadata:
languageName: node
linkType: hard
"typescript@npm:<4.6.0":
version: 4.5.5
resolution: "typescript@npm:4.5.5"
"typescript@npm:^4.6.3":
version: 4.6.3
resolution: "typescript@npm:4.6.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 506f4c919dc8aeaafa92068c997f1d213b9df4d9756d0fae1a1e7ab66b585ab3498050e236113a1c9e57ee08c21ec6814ca7a7f61378c058d79af50a4b1f5a5e
checksum: 255bb26c8cb846ca689dd1c3a56587af4f69055907aa2c154796ea28ee0dea871535b1c78f85a6212c77f2657843a269c3a742d09d81495b97b914bf7920415b
languageName: node
linkType: hard
"typescript@patch:typescript@<4.6.0#~builtin<compat/typescript>":
version: 4.5.5
resolution: "typescript@patch:typescript@npm%3A4.5.5#~builtin<compat/typescript>::version=4.5.5&hash=ddd1e8"
"typescript@patch:typescript@^4.6.3#~builtin<compat/typescript>":
version: 4.6.3
resolution: "typescript@patch:typescript@npm%3A4.6.3#~builtin<compat/typescript>::version=4.6.3&hash=ddd1e8"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 9cdde4aae20b2904431f3f2ca8acaf3b0cc52faddf68aa88b288c9d0520221817da43783a756fce7ab9360033ada0371c3ff93dfc4bdb4b13f6e9bac64e1658d
checksum: fe6bdc1afb2f145ddb7b0a3a31f96352209f6a5704d97f038414ea22ff9d8dd42f32cfb6652e30458d7d958d2d4e85de2df11c574899c6f750a6b3c0e90a3a76
languageName: node
linkType: hard