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.
hace 4 años
TheoryOfNekomata
d9eb01b7ea
Make function prototypes rigid
Convert interfaces to types for service functions
hace 4 años
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.
hace 4 años
TheoryOfNekomata
72f445e659
Bump version
For publishing.
hace 4 años
TheoryOfNekomata
749af59041
Remove extraneous dependencies
Remove styled components types.
hace 4 años
TheoryOfNekomata
f8610e6511
Update package.json
Correctly declare dependencies.
hace 4 años
TheoryOfNekomata
c4032ed7f4
Change metrics
Use compromise for metrics to produce a more aesthetic rendering.
hace 4 años
TheoryOfNekomata
068404ffa1
Bump version
For republishing in the package repository.
hace 4 años
TheoryOfNekomata
518877565b
Make accidentals more prominent
Adjust metrics of styled accidentals.
hace 4 años
TheoryOfNekomata
4ccbd96700
Bump version
For republishing in the package repository.
hace 4 años
TheoryOfNekomata
d8163ebe7f
Remove width dependency
Adding width to calculation does not affect the `getKeyWidth` and `getKeyLeft` methods.
hace 4 años
TheoryOfNekomata
098cdef69b
Improve memoization
Dedicate caches to same functions
hace 4 años
TheoryOfNekomata
c7be66173a
Add width dependency
This is to cover repainting of keys using the widths.
hace 4 años
TheoryOfNekomata
2b2442ca06
Bump version
For republishing on the package repository.
hace 4 años
TheoryOfNekomata
6dc7535ee8
Implement performance improvements
Prefer using React memoization instead of mem when using inside React.
hace 4 años
TheoryOfNekomata
91148b4229
Bump version
For republishing on the package repository.
hace 4 años
TheoryOfNekomata
e01d9d55c2
Remove extraneous dependency
`typescript-memoize` is not used, therefore we can remove it.
hace 4 años
TheoryOfNekomata
c05a9a5d5c
Bump version
For republishing in the package repository.
hace 4 años
TheoryOfNekomata
2daa01d6f6
Improve performance
Add memoization to expensive pure functions because the library involves a lot of computation under the hood.
hace 4 años
TheoryOfNekomata
5b03121e92
Update dependency list
Declare styled-components as dependency.
hace 4 años
TheoryOfNekomata
118d7b0fb6
Update package.json
Bump version.
hace 4 años
TheoryOfNekomata
4be84388d0
Add another styled story
Demonstrate scaling of detail in styled key set.
hace 4 años
TheoryOfNekomata
aafaf3e10d
Add more customizability
Make custom theme scalable and more flexible in terms of customization.
hace 4 años
TheoryOfNekomata
5ec0850e48
Export styled keys
Export styled keys for customization of the component.
hace 4 años
TheoryOfNekomata
25ef42763f
Improve component styling
Use custom styled keys and add pressed keys for styled key set.
hace 4 años
TheoryOfNekomata
fd3733e835
Improve key offsets
Refer to URL in comment for details.
hace 4 años
TheoryOfNekomata
e15e8fb9a7
Update storybook
Add styled keyboard made out of scalable HTML elements.
hace 4 años
TheoryOfNekomata
f8ec9ef2b4
Initial commit
Add files generated from tsdx.
hace 4 años