3408 Commits

Author SHA1 Message Date
Josh Goldberg 2d17b64723 chore: refactored ClassCyclr to not extend arrays, with tests (#342)
## Overview

Small cleanup/refactor I've been meaning to do for a while. It's weird
that ClassCyclr adds aritrary properties to arrays. This switches the
internal representation of cycles a bit to use `TimeCycle` objects with
a `classes: ClassesList` property.

And, now `ClassCyclr` is unit tested! 🙌 

### PR Checklist

-   ~[ ] Fixes #~
-   [x] I have run this code to verify it works
-   [x] This PR includes unit tests for the code change
2022-10-17 10:03:51 -04:00
Josh Goldberg 5ae2f59099 feat: revamped WorldSeedr (#341)
## Overview

Drastically simplifies the WorldSeedr package by reducing the different
kinds of variance allowed. Adds unit tests too.

Creates a second example, InfiniteContributionsCalendar, to demonstrate
WorldSeedr usage.

### PR Checklist

-   [x] Fixes #182
-   [x] I have run this code to verify it works
-   [x] This PR includes unit tests for the code change
2022-09-08 11:14:19 +10:00
Josh Goldberg 2e580f4f02 feat: flesh out README.md Development sections (#340)
## Overview

Adds more info to the _Development_ section of generated README.mds. Also adds error throwing if the `<!-- Development -->` comments aren't found. That was tripping up ChooseYourFramework's README.md.

Corresponds to https://github.com/JoshuaKGoldberg/ChooseYourFramework/pull/29.

### PR Checklist

-   [x] Fixes #336 
-   [x] I have run this code to verify it works
-   [x] This PR includes unit tests for the code change
2022-08-30 07:49:01 -07:00
Josh Goldberg 59e1104289 fix: lil setup .npmignore 2022-08-23 16:21:31 -04:00
Josh Goldberg cc443b9447 v0.8.14 2022-08-23 14:23:55 -04:00
Josh Goldberg 6cd7b70d80 fix(userwrappr): place buttons after menus (#332)
## Overview

When buttons visually overlap menus, they need to be the added-later HTML element. That way they practically overlap the menu in the DOM.
2022-08-23 14:22:25 -04:00
Josh Goldberg 1c558056cb v0.8.13 2022-08-22 15:35:52 -04:00
Josh Goldberg f70c4c9e84 feat: replaced touchpassr with userwrappr buttons (#331)
Overview
Prepares for JoshuaKGoldberg/ChooseYourFramework#2 by adding a buttons property to UserWrappr's settings. Buttons are similar to menus but are always buttons, don't have focus/click state changes, and are only shown if the device seems to support touch.
PR Checklist

 Fixes #229
 I have run this code to verify it works
 This PR includes unit tests for the code change 🥲
2022-08-22 15:35:03 -04:00
Julie J a27610f184 Update 10. Data.md (#330)
Overview
What does this PR do? Why?
Fixes a couple of typos
PR Checklist

 Fixes #
 I have run this code to verify it works
 This PR includes unit tests for the code change
2022-08-22 12:53:25 -04:00
Josh Goldberg 0e984ad29c fix: missing zIndex on menus 2022-08-22 11:49:32 -04:00
Josh Goldberg 630b59868a v0.8.12 2022-08-22 11:39:25 -04:00
Josh Goldberg 43bfd6243a fix: fixed index.html and UserWrappr accessibility (#328)
Overview
Small fix: fixes aXe violations related to not having a <main> element.
Medium feature/fix: adds a link option per #326.
Larger fix: uses proper <label> & <menu> elements and attributes in UserWrappr menus. Uses a <LabeledOption> component to set up labels.
PR Checklist

 Fixes #301; fixes #326
 I have run this code to verify it works
 This PR includes unit tests for the code change
2022-08-22 11:29:45 -04:00
Julie J 13f43864ae Update 2. Actors.md (#327)
Overview
What does this PR do? Why?
Per @JoshuaKGoldberg: The GroupHoldr module stores actors in groups based on their .groupType property. groupType: "Squares" in the Objects section should be what sets it.
Let's update Solid to Squares so that we can access the new Actor.
PR Checklist

 Fixes #
 I have run this code to verify it works
 This PR includes unit tests for the code change
2022-08-21 23:50:07 -04:00
Josh Goldberg 24e261d3c0 v0.8.11 2022-08-21 22:27:30 -04:00
Josh Goldberg ec901a54fc fix: remove options title hover and correct margins (#324)
Overview
Removes hovering from menu options, so it's only workable for clicks.
Tweaks the hover effect (and makes it used, now!) so it's > ... < before+after pseudo elements.
Tweaks options padding to fix #296 specifically.
PR Checklist

 Fixes #186; fixes #296
 I have run this code to verify it works
 This PR includes unit tests for the code change
2022-08-21 22:23:51 -04:00
Josh Goldberg f88b79bfed hotfix: prettier 2022-08-21 21:56:10 -04:00
Josh Goldberg 3dff0b9660 hotfix: userwrappr converter files 2022-08-21 21:52:35 -04:00
Julie J c1f961e3d4 Update 1. Package Setup.md (#321)
Overview
Remove the ! as it does not work in the terminal for mac
PR Checklist

 Fixes #
 I have run this code to verify it works
 This PR includes unit tests for the code change
2022-08-21 18:09:29 -04:00
Josh Goldberg 4749a15461 UserWrappr: convertAliasToKeyCode, convertKeyCode 2022-08-21 12:25:26 -04:00
Josh Goldberg 8898a5a09d v0.8.5 v0.8.5 2022-08-21 11:05:19 -04:00
Josh Goldberg e6dc76e93c InputWritr: a first revamp (#319)
Cleans up InputWritr a bit by improving some of the docs and function names.

Adds partial unit test coverage
Moves alias conversion to UserWrappr, where it belongs
Renames makePipe to createPipe (I like "create" more for this)_
Removes a few unused areas of code

Filed #317 to tackle a more complete overhaul of the package long term.
2022-08-21 11:00:58 -04:00
Josh Goldberg b0addb5e6f A few assorted fixups (#318)
Discovered these while working on ChooseYourFramework. Mostly around name casing or fixing shenanigans-manager setups.
2022-08-21 10:45:18 -04:00
Josh Goldberg a537259a95 Create FUNDING.yml 2022-08-19 20:22:05 -04:00
Josh Goldberg e617173ab6 docs: say "Overview" in 04-tooling.yaml 2022-08-19 19:39:27 -04:00
Josh Goldberg 4169164f0a docs: add Performance template 2022-08-19 15:54:56 -04:00