Commit Graph

27 Commits

Author SHA1 Message Date
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
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
Ryan Gossiaux
7fc9629975 Update kit & adapter packages 2022-03-02 00:13:01 -08:00
rgossiaux
9b43312735 Initial docs (#61)
Add initial documentation site.

Co-authored-by: ambiguous48 <33713262+ambiguous48@users.noreply.github.com>
2022-03-01 13:14:53 -08:00
Ryan Gossiaux
87360c0196 Fix type errors in classNames() in routes/ 2022-02-08 23:50:29 -08:00
Ryan Gossiaux
be1bd8736c Fix incorrect html-for= => for= in a couple examples
Caught by the new transformation: `npm run check -- --use-new-transformation`
2022-02-08 18:34:31 -08: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
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