Lea Verou
b0c4c7263b
Allow Prettier default for trailing commas, run Prettier on repo
...
per convo with @claviska
2024-12-14 17:10:26 -05:00
Lea Verou
dd7b673328
Run Prettier on repo
...
Turns out `prettier-plugin-organize-imports` sorts imports differently than the old one so this will prevent spreading the change across multiple commits whenever we touch a file (and potentially introducing conflicts)
2024-12-14 17:01:35 -05:00
Lea Verou
7058de0568
Convert preview scripts to modules when using a manually slotted preview
2024-12-10 15:23:16 -05:00
Lea Verou
feb092a7fa
[code-examples] Smarter default for open
2024-12-09 21:41:54 -05:00
Lea Verou
4d89c344d1
[code-examples] Better syntax, do not include docs.css
2024-12-09 21:01:49 -05:00
Lea Verou
1920ae8c1e
Oops, commited debug code
2024-12-09 20:43:58 -05:00
Lea Verou
86a80d3e78
[code-demo] Bugfixes
...
Slotted previews still don't work well with isolated demos :(
2024-12-09 20:27:23 -05:00
Lea Verou
1aebdf4a06
Fix isolated demos
2024-12-09 19:40:28 -05:00
Lea Verou
8267dd91d9
Do not restrict what attributes are allowed in curlies
...
We're the only ones writing Markdown…
2024-12-09 18:43:14 -05:00
Cory LaViska
5d74d8163b
hide pro themes for alpha
2024-12-09 14:31:31 -05:00
Lea Verou
321f53f953
Add <wa-code-demo> and <wa-viewport-demo> and use them by default
...
Co-authored-by: Cory LaViska <cory@abeautifulsite.net >
2024-12-09 13:44:14 -05:00
Cory LaViska
d97bf9a9e9
Update docs/_utils/anchor-headings.js
...
Co-authored-by: Lea Verou <lea@verou.me >
2024-12-03 12:06:31 -05:00
Cory LaViska
bda66ab4b9
don't bork ids when already provided
2024-12-03 11:58:30 -05:00
Lea Verou
bd35c23784
Indices of components by attribute, slot, part, etc. ( #240 )
...
* Simplify how list of components is exposed to 11ty
No need for functions or computing multiple times, that's what data is for!
* Add attributes to component data
* Cleanup
* Add slug (tagName without wa-)
* Add component reference / cheatsheet
2024-11-24 21:19:50 -05:00
Cory LaViska
a884a0c1f0
remove examples
2024-06-12 11:06:49 -04:00
Cory LaViska
90fdb93ae1
fix missing react tab and copy/code styles
2024-04-29 10:14:11 -04:00
Cory LaViska
eee77a13cf
not needed
2024-04-17 13:39:16 -04:00
Cory LaViska
67b2888489
oh no where did astro go
2024-04-17 11:20:27 -04:00