Commit Graph

17 Commits

Author SHA1 Message Date
Ryan Gossiaux
7d413d6e34 Fix selected UI in tabs-with-pure-tailwind example 2021-12-21 11:43:53 -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
8e890b2e80 Standardize event names to be consistent with @headlessui-react
Was previously using Vue names since Vue was the primary reference while porting, but as the public API is closer to the React one it makes sense to use that.

Fixes #8
2021-12-19 00:29:34 -08:00
Ryan Gossiaux
3b5e036dc4 Add more examples 2021-12-18 18:36:58 -08:00
Ryan Gossiaux
39cc12c8ef Add some more examples 2021-12-18 16:39:05 -08:00
Ryan Gossiaux
3b340fbde5 Fix transition duration in popover example 2021-12-16 16:34:45 -08:00
Ryan Gossiaux
cc69cb9a93 Copy over a few more playground examples 2021-12-16 16:28:57 -08:00
Ryan Gossiaux
1e6d735537 Move dialog example over to grouped imports 2021-12-16 16:22:27 -08:00
Ryan Gossiaux
5b36ce9404 Fix various type errors with strict mode 2021-12-15 14:06:33 -08:00
Ryan Gossiaux
20e5360291 Remove extra open= prop in dialog example
I mistakenly added this in reaction to an error
2021-12-14 22:54:59 -08:00
Ryan Gossiaux
b0e2c3d619 Remove busted tailwind button focus classes
The examples repo is using an old version of tailwind + a plugin. shadow-outline-foo doesn't exist in base Tailwind and I cba to find the equivalent right now.
2021-12-14 13:55:21 -08:00
Ryan Gossiaux
70a4a814b7 Bring back the popper & portal in dialog example 2021-12-14 11:08:36 -08:00
Ryan Gossiaux
092fdd595d Some updates to dialog example 2021-12-13 21:57:53 -08:00
Ryan Gossiaux
263cbd0483 npx svelte-add tailwindcss 2021-12-13 21:05:36 -08:00
Ryan Gossiaux
53adc38513 Add initial Dialog example 2021-12-13 21:03:36 -08:00
Ryan Gossiaux
82b138f0ae Run prettier over everything and fix some imports 2021-12-13 18:22:16 -08:00
Ryan Gossiaux
42aba8a158 npm init svelte@next svelte-headlessui 2021-12-13 16:46:03 -08:00