Commit Graph

13 Commits

Author SHA1 Message Date
Ryan Gossiaux
5fdd47b435 Refactor types out into types.ts file and use /// <reference types="...">
Fixes packaging problems.
2022-03-18 11:19:25 -07:00
Ryan Gossiaux
cc27615e96 Add JSDoc comments
Yay
2022-03-18 11:19:25 -07:00
Ryan Gossiaux
d7f6a58753 Add default as prop type for when as= is not provided 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
f03512d07c Type RadioGroup with $$Props 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
cdc0d86044 Add/improve slotProps handling for Label & Description
* Add slot props support to Label
* Refactor slot props usage in Description
* Add missing slot props to RadioGroupLabel and RadioGroupDescription
2022-01-27 16:04:15 -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
72b0b838e4 RadioGroupOption: active slot prop should have boolean, not integer, value 2021-12-30 15:39:55 -10:00
Ryan Gossiaux
7ff28492a2 Move RadioGroup to <Render> 2021-12-20 22:42:55 -08:00
Ryan Gossiaux
63d44e125c Improve a few more types, including StateDefinition["foo"] usage
Fixes #5
2021-12-19 00:09:44 -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
0911f5efdd Fix some imports 2021-12-16 16:22:14 -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