Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
Kristján Oddsson 150ba58eaa
0.1.0 2021-06-04 10:05:47 +01:00
Kristján Oddsson aec90cf410
Merge pull request #3 from hazukitenki/main
Fix Delay Attributes
2021-06-04 10:01:19 +01:00
Kristján Oddsson 141f2c4610
Merge branch 'main' into main 2021-06-04 10:00:00 +01:00
Kristján Oddsson 7369d4fc32
Merge pull request #1 from jamieshark/jamie/a11y-reduced-motion
a11y reduced motion
2021-06-04 09:56:47 +01:00
Tenki 6600872805 Add test for specifying delay attributes 2021-06-03 09:38:42 +08:00
Jamie C 77fe7b0a6b Replace reduceMotion logic check in typeLines with characterDelay value check. Also adds a condition to skip the await call for lines if lineDelay is not 0. 2021-06-02 14:40:29 -05:00
Tenki 7476b94ce4 Fix Delay Attributes
Fixed the bug that lineDelay and characterDelay aren't parsed correctly
2021-06-03 00:46:32 +08:00
Jamie C b07b9ba87a Adds mock condition for window.matchMedia for default case (prevents the test from setting delay to 0 when user has reduced motion set on their system). Removes code paths and mentions of attribute data-reduced-motion because including an escape hatch right now might be a bit confusing. 2021-06-01 16:08:44 -05:00
Jamie C 8de1eb210d Reverts some inadvertent markdown formatting changes and unnecessary eslint config entry. 2021-05-28 11:26:12 -05:00
Jamie C a196433d0e Merge branch 'main' into jamie/a11y-reduced-motion 2021-05-28 10:42:31 -05:00
Kristján Oddsson 5bf0c88dd2
Merge pull request #2 from github/ci
Set CI to run on Pull Requests as well
2021-05-28 12:36:18 +01:00
Kristján Oddsson 450773ff63
Set CI to run on Pull Requests as well 2021-05-28 09:31:51 +01:00
Kristján Oddsson 3d6d644721
Mock `window.matchMedia` 2021-05-28 09:30:03 +01:00
Jamie C dcfafd265d Adds a condition for reduced motion where the data-reduced-motion attribute will override the window media match. If data-reduced-motion is set to true, the component will NOT animate. If data-reduced-motion is set to false, the component WILL animate. 2021-05-27 14:01:32 -05:00
Jamie C f3165c6521 Adds a note on docs about reduced motion. 2021-05-27 13:15:47 -05:00
Jamie C 7478979f4f Appends line content without delay instead of character by character for reduced motion setting. 2021-05-27 13:11:16 -05:00
Jamie C f98bd8b7c0 Adds tests and getters to set character and line delay to 0 when reduced motion is preferred by user. 2021-05-27 12:43:09 -05:00
Kristján Oddsson 2579a1eee1
fix unpkg link 2021-05-04 18:08:36 +01:00
Kristján Oddsson f5414b7956
0.0.2 2021-04-28 08:46:52 +01:00
Kristján Oddsson 3356398960
Set eslint config as root config 2021-04-28 08:41:10 +01:00
Kristján Oddsson df6dcfadde
Fix package name 2021-04-14 17:07:14 +01:00
Kristján Oddsson 867ae38164
Fix example page 2021-04-13 13:01:24 +01:00
Kristján Oddsson 6ab566e1b7
Update dependencies 2021-04-12 18:05:26 +01:00
Nick Holden c74359cd10
Improve tests 2021-04-09 14:53:28 -07:00
Nick Holden 7072a51d8b
Add real tests 2021-04-08 18:53:04 -07:00
Nick Holden 7c2d5bf237
Update boilerplate tests 2021-04-08 18:10:44 -07:00
Nick Holden 67dab0f729
Extract <typing-effect> from GitHub 2021-04-08 18:06:25 -07:00
Nick Holden 5911d602e2
Update README 2021-04-08 18:01:00 -07:00
Nick Holden b83bed53d9 Initial commit 2021-04-08 17:57:50 -07:00