Ryan Gossiaux
696b25eb95
Type Disclosure with $$Props
2022-03-18 11:19:25 -07:00
Ryan Gossiaux
3c9dcc9b67
Move to using writable<T> syntax
2022-02-17 16:42:19 -08:00
Ryan Gossiaux
6d2aa60d22
Use new TS option to preserve imports in tests
...
These assertions were here to prevent imports (needed for svelte-inine-compile) from being removed.
2022-01-17 23:59:29 -05:00
Ryan Gossiaux
3ff520d72d
Use svelte-inline-compile library to add more unit tests (mostly slot prop)
...
This brings the number of tests from 381 => 424 which I'm pleased with.
It'd be nice to replace my TestRenderer tests with this but it's not worth the effort.
2021-12-30 15:43:39 -10:00
Ryan Gossiaux
2b705fd1ae
Fix tests after introduction of babel step
2021-12-30 09:56:22 -10:00
Ryan Gossiaux
c99b74c089
Prettier
...
Didn't run this on every single file because it messes up the formatting of the some of the TestRenderer constructions
2021-12-28 09:28:36 -10:00
Ryan Gossiaux
b37e0f3c9c
Remaining Disclosure tests
...
Minus the render prop tests
2021-12-27 12:56:32 -08:00
Ryan Gossiaux
1bed7dbea7
Initial Disclosure tests
2021-12-26 23:36:37 -08:00
Ryan Gossiaux
206b83963e
Fix a couple <Disclosure> mistakes
...
* Incorrect error messages from <DisclosurePanel>
* Not using buttonId correctly (don't think this had any practical impact though)
2021-12-26 22:58:55 -08:00
Ryan Gossiaux
a7e8be2c14
Add type=button handling
...
Fixes #22
2021-12-22 13:07:16 -08:00
Ryan Gossiaux
d21287eace
Support Features rendering / static/unmount props
...
Fixes #1
2021-12-22 11:55:52 -08:00
Ryan Gossiaux
93e7148e1b
Move Disclosure to <Render>
2021-12-20 19:26:04 -08:00
Ryan Gossiaux
f105042545
Clean up store types & initial values
...
Treating these as Readable for better safety from consuming code
Fixes #10
2021-12-19 01:08:50 -08:00
Ryan Gossiaux
305dc1543f
$api?. => $api. when possible
...
Now that this stuff has all been cleaned up with useXContext functions
2021-12-18 23:56:37 -08:00
Ryan Gossiaux
70910c05b0
Standardize context naming
...
Fixes #7
2021-12-18 23:18:45 -08:00
Ryan Gossiaux
9e45d92929
Refactor to useOpenClosed
...
Fixes #6
2021-12-18 21:36:09 -08:00
Ryan Gossiaux
5b36ce9404
Fix various type errors with strict mode
2021-12-15 14:06:33 -08:00
Ryan Gossiaux
7de1e35524
Add index.ts files
2021-12-14 15:28:26 -08:00
Ryan Gossiaux
82b138f0ae
Run prettier over everything and fix some imports
2021-12-13 18:22:16 -08:00
Ryan Gossiaux
db9ec57065
Initial commit with files
...
Still need to fix the imports
2021-12-13 17:13:47 -08:00