TheoryOfNekomata
47c729bbc7
Add labels, change props
Add function prop for labelling keys. Also changed some props for clearer usage.
преди 4 години
TheoryOfNekomata
df37efb198
Update README
Add information regarding orientation and mirroring.
преди 4 години
TheoryOfNekomata
9301a7ef08
Add keywords
Specify keywords for discoverability.
преди 4 години
TheoryOfNekomata
5f096686b1
Bump version
For republishing.
преди 4 години
TheoryOfNekomata
833fd1768b
Implement orientation
Orientation is limited to 90-degree intervals.
преди 4 години
TheoryOfNekomata
926c60850e
Update example
Use MIDI event handling in example.
преди 4 години
TheoryOfNekomata
7889c4cdd7
Add MIDI event handling
Support MIDI event handling by suppling a `MIDIInput` object through the `midiInput` prop.
преди 4 години
TheoryOfNekomata
6168c18c3c
Remove channels, overhaul styling of components
Make component single channel only, in order to have a more concise API.
преди 4 години
TheoryOfNekomata
45f165e2bd
Refactor sample
Abstract methods
преди 4 години
TheoryOfNekomata
9225fc2562
Add style changes to example page
Set font and cursor
преди 4 години
TheoryOfNekomata
1ab5104bc4
Add demo, fix keyboard event handling
Add demo for GitHub Pages
Also disable keyboard event handling when one of Shift, Ctrl, Alt, or Cmd is pressed.
преди 4 години
TheoryOfNekomata
2c6f527ab1
Update GitHub repository
Change repo owner
преди 4 години
TheoryOfNekomata
ce9b5b1deb
Bump version and updated publish script
Remove extra name setting because we renamed the GitHub username anyway.
преди 4 години
TheoryOfNekomata
926c8e1943
Update publish script
Remove git commits
преди 4 години
TheoryOfNekomata
ae3fea8606
Update package.json
Set package as public
преди 4 години
TheoryOfNekomata
e83bd28bae
Fix publish script
преди 4 години
TheoryOfNekomata
49483d6489
Fix publish script
преди 4 години
TheoryOfNekomata
bdc24e8087
Fix publish script
преди 4 години
TheoryOfNekomata
e1d173b59d
Fix publish script
преди 4 години
TheoryOfNekomata
a9961edb43
Set default repository
преди 4 години
TheoryOfNekomata
37f07a301e
Add publish script
Set up publish script to configure to multiple repositories.
преди 4 години
TheoryOfNekomata
f94e196f62
Add publishing
Set up publishing for multiple branches with different repos and registries.
преди 4 години
TheoryOfNekomata
8345250e9f
Add publishing
Setup publishing for multiple repos and registries.
преди 4 години
TheoryOfNekomata
83b6c7c4fd
Bump version
For republishing
преди 4 години
TheoryOfNekomata
abc8ba27ab
Update README
Add information about published packages.
преди 4 години
TheoryOfNekomata
b6ea02a3ad
Add keyboard map
Keyboard map is the one responsible for handling mouse, touch, and keyboard events. This is to keep the keyboard rendering and external events handling separate.
преди 4 години
TheoryOfNekomata
d9eb01b7ea
Make function prototypes rigid
Convert interfaces to types for service functions
преди 4 години
TheoryOfNekomata
bc2c997c93
Fix metrics, SSR support
Add SSR support by checking to render server-side or client-side.
Also made key offsets as trade-off of accuracy and pixel-perfectness.
преди 4 години
TheoryOfNekomata
72f445e659
Bump version
For publishing.
преди 4 години
TheoryOfNekomata
749af59041
Remove extraneous dependencies
Remove styled components types.
преди 4 години
TheoryOfNekomata
f8610e6511
Update package.json
Correctly declare dependencies.
преди 4 години
TheoryOfNekomata
c4032ed7f4
Change metrics
Use compromise for metrics to produce a more aesthetic rendering.
преди 4 години
TheoryOfNekomata
068404ffa1
Bump version
For republishing in the package repository.
преди 4 години
TheoryOfNekomata
518877565b
Make accidentals more prominent
Adjust metrics of styled accidentals.
преди 4 години
TheoryOfNekomata
4ccbd96700
Bump version
For republishing in the package repository.
преди 4 години
TheoryOfNekomata
d8163ebe7f
Remove width dependency
Adding width to calculation does not affect the `getKeyWidth` and `getKeyLeft` methods.
преди 4 години
TheoryOfNekomata
098cdef69b
Improve memoization
Dedicate caches to same functions
преди 4 години
TheoryOfNekomata
c7be66173a
Add width dependency
This is to cover repainting of keys using the widths.
преди 4 години
TheoryOfNekomata
2b2442ca06
Bump version
For republishing on the package repository.
преди 4 години
TheoryOfNekomata
6dc7535ee8
Implement performance improvements
Prefer using React memoization instead of mem when using inside React.
преди 4 години
TheoryOfNekomata
91148b4229
Bump version
For republishing on the package repository.
преди 4 години
TheoryOfNekomata
e01d9d55c2
Remove extraneous dependency
`typescript-memoize` is not used, therefore we can remove it.
преди 4 години
TheoryOfNekomata
c05a9a5d5c
Bump version
For republishing in the package repository.
преди 4 години
TheoryOfNekomata
2daa01d6f6
Improve performance
Add memoization to expensive pure functions because the library involves a lot of computation under the hood.
преди 4 години
TheoryOfNekomata
5b03121e92
Update dependency list
Declare styled-components as dependency.
преди 4 години
TheoryOfNekomata
118d7b0fb6
Update package.json
Bump version.
преди 4 години
TheoryOfNekomata
4be84388d0
Add another styled story
Demonstrate scaling of detail in styled key set.
преди 4 години
TheoryOfNekomata
aafaf3e10d
Add more customizability
Make custom theme scalable and more flexible in terms of customization.
преди 4 години
TheoryOfNekomata
5ec0850e48
Export styled keys
Export styled keys for customization of the component.
преди 4 години
TheoryOfNekomata
25ef42763f
Improve component styling
Use custom styled keys and add pressed keys for styled key set.
преди 4 години