Commit Graph

9 Commits

Author SHA1 Message Date
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
e0d64f9bfc TabPanel: add selected slot prop 2021-12-30 12:51:06 -10:00
Ryan Gossiaux
0996de1e6e Add test data to Tab components 2021-12-29 10:32:28 -10:00
Ryan Gossiaux
70c68d00fe Tab: fix aria-controls
When porting, I thought I was being clever by just using ids instead of refs in $api.panels
But I didn't notice that the refs let you distinguish those panels which are rendered from those which are not.
My implementation had aria-controls= set for all tabs, even when their panels were not in the DOM.
2021-12-28 16:51:36 -10:00
Ryan Gossiaux
d21287eace Support Features rendering / static/unmount props
Fixes #1
2021-12-22 11:55:52 -08:00
Ryan Gossiaux
b973fa6fe2 Move Tabs to <Render>
This is the last component to move to <Render>!
2021-12-20 23:19:31 -08:00
Ryan Gossiaux
c5ed870827 Assorted fixes
Type fixes, support a couple more classes as functions for the examples, and switch TabPanels to registering ids instead of refs
2021-12-17 14:22:19 -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