Commit Graph

274 Commits

Author SHA1 Message Date
Ryan Gossiaux
b5017ec5c2 Convert remaining Listbox tests to svelte-inline-compile 2022-05-23 15:22:06 -07:00
Ryan Gossiaux
ae5672a7c9 Convert some Listbox tests to svelte-inline-compile 2022-05-22 22:57:47 -07:00
Ryan Gossiaux
e36ad5a8d2 Convert Switch tests to svelte-inline-compile 2022-05-18 02:06:04 -07:00
Ryan Gossiaux
bdbc6f4cdd Update RadioGroup tests to all use svelte-inline-compile 2022-05-17 16:32:41 -07:00
Ryan Gossiaux
d3df1e0947 1.0.1 2022-05-16 13:22:13 -07:00
Ryan Gossiaux
219d289f87 Fix resolveButtonType for SSR
Fixes #94
2022-05-16 13:17:33 -07:00
Ryan Gossiaux
a6c6a8ed23 Fix TS errors 2022-05-14 14:56:55 -07:00
Ryan Gossiaux
2ee11f94e3 Add GH action for svelte-check 2022-05-14 14:56:55 -07:00
Ryan Gossiaux
cd871248f5 Upgrade svelte-check 2022-05-14 14:56:55 -07:00
Ryan Gossiaux
0b67ac0001 1.0.0 2022-05-06 12:21:00 -07:00
Ryan Gossiaux
5d170e7bd8 Update version history for 1.0.0 2022-05-06 12:20:44 -07:00
Ryan Gossiaux
b24ce31624 license: try to fix copyright line for proper GitHub detection 2022-05-06 12:10:24 -07:00
Ryan Gossiaux
a3c105a824 npm upgrade svelte 2022-05-06 12:04:48 -07:00
Ryan Gossiaux
c9adba2abd npm audit fix 2022-05-06 12:03:34 -07:00
Ryan Gossiaux
fd78eca7ed Add back a couple element components used in tests 2022-03-18 12:42:01 -07:00
Ryan Gossiaux
35bfb4d11e Convert some tests to svelte-inline-compile 2022-03-18 12:41:42 -07:00
Ryan Gossiaux
8bc5fabdd9 Switch from element components to a massive {#if} block
Obviously this is very ugly but it's far better for bundle size.
2022-03-18 11:53:39 -07:00
Ryan Gossiaux
2dbc93cfe1 Fix extraneous key= prop 2022-03-18 11:19:25 -07:00
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
5e17e2cb56 Upgrade typescript 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
10489a2723 Correct the SvelteComponent type 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
42d792e72c Type Transition with $$Props
But getting some cryptic errors
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
a193729ea9 Type Popover with $$Props 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
8e57b808b8 Type Dialog with $$Props 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
696b25eb95 Type Disclosure with $$Props 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
231775e60b Type Listbox with $$Props 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
168f7f1e3d Type Menu with $$Props 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
6bc781b86e Type Tabs using $$Props 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
a582f79170 Type Switch using $$Props 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
91a7660f08 Type <Render> using $$Props 2022-03-18 11:19:25 -07:00
Ryan Gossiaux
38d1235335 docs: Add a little padding to tables
Fixes #77
2022-03-07 22:14:59 -08:00
Ryan Gossiaux
99e1898665 docs: fix up transition docs 2022-03-07 16:36:08 -08:00
Ryan Gossiaux
1bf36a1bf2 docs: Tweak TOC rootMargin parameter
To take into account the top header.
2022-03-07 12:08:17 -08:00
Ryan Gossiaux
4bc81d38f4 1.0.0-beta.12 2022-03-06 23:59:57 -08:00
Ryan Gossiaux
39a8b57c36 Fix implementation of #78
Brain fart when writing and testing the first attempt.
I can only actually reproduce the underlying issue in the REPL so I haven't confirmed that this fixes it.
2022-03-06 23:57:32 -08:00
Ryan Gossiaux
b2a288c874 1.0.0-beta.11 2022-03-06 23:36:22 -08:00
Ryan Gossiaux
026b187890 Add TransitionRoot alias for Transition
Fixes #46
2022-03-06 23:33:39 -08:00
Ryan Gossiaux
fada4f28a5 Move the portal root to the bottom of the target after initial render
Fixes #78
2022-03-06 22:58:18 -08:00
Ryan Gossiaux
3014990142 Do not pass static down to underlying HTML elements
Since it was not explicitly exported it appeared in $$restProps. Harmless, but clutters up the HTML.
2022-03-06 15:51:39 -08:00
Ryan Gossiaux
096390554c docs: fix MenuItem slot prop 2022-03-05 17:55:21 -08:00
Ryan Gossiaux
d6f89e5d93 [docs] tweak padding
Mainly as a hacky workaround for the dialog example not showing up correctly on the smallest screen size.
2022-03-02 21:55:02 -08:00
Ryan Gossiaux
f328881466 [docs] sidebar: more spacing (for mobile), add vertical scrolling 2022-03-02 14:00:12 -08:00
Ryan Gossiaux
0b9d4823e8 [docs] Refactor sidebar to have it pop out on mobile 2022-03-02 13:30:49 -08:00
Ryan Gossiaux
fbb6ad9ded Revert "Update kit & adapter packages"
This reverts commit 7fc9629975.

This is causing an iframe issue on navigation.
2022-03-02 00:45:15 -08:00
Ryan Gossiaux
d61dee4530 Revert "Use adapter-static instead"
This reverts commit 7d58d44971.

Looks like this doesn't work with Vercel and I cba to debug
2022-03-02 00:26:36 -08:00
Ryan Gossiaux
7d58d44971 Use adapter-static instead 2022-03-02 00:22:04 -08:00
Ryan Gossiaux
229f81c462 Fix flash of unstyled content issue
The style reset also resets the CSS import so we need to duplicate it.
2022-03-02 00:13:28 -08:00