Commit graph

381 commits

Author SHA1 Message Date
Ayo
278572da89 fix(create-mcfly): install deps fail on win32
closes #26; use spawnSync instead of npm --prefix
2023-12-04 19:46:01 +01:00
Ayo
b3695f7219 chore: update links to WebComponent.io 2023-11-27 16:49:38 +01:00
Ayo
f12bb73fc8 feat(site, templates): use NitroConfig.extends 2023-11-25 22:32:26 +01:00
Ayo
e7c7ec0e9d refactor(create-mcfly): remove console.logs 🫣 2023-11-25 12:36:09 +01:00
Ayo
7e63eb8c1d chore(create-mcfly): bump version for release 2023-11-25 12:34:13 +01:00
Ayo
e533233c5a fix(create-mcfly): npm install failing on Windows 2023-11-25 12:33:20 +01:00
Ayo
f5ec717fd3 perf(site): compress public assets 2023-11-24 20:59:06 +01:00
Ayo
1f66e726d3 chore(core): bump versions for release 2023-11-23 22:25:27 +01:00
Ayo
12c7c7d651 chore(core): update WebComonent to v1.13.2 2023-11-23 22:24:33 +01:00
Ayo
f5dfdcc0c8 feat(site): defer prism.js in demo page 2023-11-23 06:42:00 +01:00
Ayo
7c69e0ba94 chore(core): bump version for release 2023-11-19 00:45:20 +01:00
Ayo
c329070dc1 feat(chore): use minified WebComponent class 2023-11-19 00:43:55 +01:00
Ayo
65b8b4a3d6 chore(core): bump version for release 2023-11-18 02:54:19 +01:00
Ayo
534de63500 feat(core): update web-component-base 2023-11-18 02:53:38 +01:00
Ayo
2b0f85c2eb refactor(site): update vanilla observed attribute 2023-11-18 01:55:57 +01:00
Ayo
1c38ec8e1e chore(site, templates): remove console.log 2023-11-18 01:49:23 +01:00
Ayo
750a30714d refactor(templates): exact behavior for examples
- made my-hello-world & vanilla-hello-world have the exact same behavior
2023-11-18 01:46:37 +01:00
Ayo
84738d6a63 fix(site): demo input not updating correct attrib 2023-11-18 00:55:46 +01:00
Ayo
0c1508b228 feat(templates): use vanilla by default 2023-11-18 00:52:32 +01:00
Ayo
cb8cfd7c5e fix: apply web-component-base patch 2023-11-18 00:48:18 +01:00
Ayo
0671658197 feat(core): easy prop access on WebComponent v1.12
- update web-component-base to v1.12
- update site and template examples
2023-11-18 00:03:54 +01:00
Ayo
363f2f9201 refactor(template): different prop access examples
- HTMLElement.dataset for vanilla
- WebComponent camelCase counterpart for custom base
2023-11-17 20:53:51 +01:00
Ayo
5d4702b1a6 refactor(site): different prop access examples
- HTMLElement.dataset for vanilla
- WebComponent camelCase counterpart for custom base
2023-11-17 20:53:41 +01:00
Ayo
ac1e839ca4 refactor(site, templates): use HTMLElement.dataset 2023-11-17 20:28:59 +01:00
Ayo
b4c7bab3df feat(site, templates): use HTMLElement.dataset 🤗 2023-11-17 19:15:56 +01:00
Ayo
9ebd6e7f3b chore(cli): remove unused dep 2023-11-17 16:35:10 +01:00
Ayo Ayco
47600f5f45
feat(core): support for boolean attributes in web-component-base (#25) 2023-11-17 16:25:19 +01:00
Ayo
56ccb672ff feat(templates): code-block support for inline; unique title 2023-11-17 15:24:50 +01:00
Ayo
7c7dfa87bb feat(site): fix pages
- absolute path for reset.css
- code-block support for inline
- unique title for pages
2023-11-17 15:24:22 +01:00
Ayo
018aeaac7e feat(templates): use project object in server:setup 2023-11-13 14:52:57 +01:00
Ayo
97935f49e1 fix(site): linear-gradient in oklch not working in firefox 2023-11-12 22:50:34 +01:00
Ayo
18263e1fee refactor(site): use const instead of class prop; 2023-11-12 18:01:07 +01:00
Ayo
635337d973 refactor(site, templates): code-block scoped styles 2023-11-12 17:12:18 +01:00
Ayo
7cd863dc22 refactor(site): proper dom styling logic 2023-11-12 17:02:02 +01:00
Ayo
0e178fda79 feat(site): use vanilla-hello-world 2023-11-12 16:56:41 +01:00
Ayo
09e5418a3b chore(core): bump version for release 2023-11-12 16:43:24 +01:00
Ayo
cb503f7ca3 refactor(core): simpler code-block element 2023-11-12 16:42:23 +01:00
Ayo
5e6ab37598 feat(templates): better web-component examples
- afterViewInit + scoped stype example
- autocompletion example
2023-11-12 16:41:18 +01:00
Ayo
93989ac1e5 chore(core): update web-component-base dep 2023-11-12 16:13:15 +01:00
Ayo
232d1976f2 feat(templates): use nested setup object in basic template 2023-11-10 22:32:11 +01:00
Ayo
93e07d4928 fix(site): escaped quote on demo page 2023-11-10 22:27:39 +01:00
Ayo
cb85e3eafc feat(site): show nested setup object in demo page 2023-11-10 22:26:16 +01:00
Ayo
6b0e0a46f0 feat(core): allow nested objects in setup scripts 2023-11-10 22:19:51 +01:00
Ayo
111c53d2fb fix(core): allow non-element slot child 2023-11-09 11:56:20 +01:00
Ayo
db95acc488 fix(site): demo warning block not showing textw 2023-11-09 11:49:49 +01:00
Ayo Ayco
5be9cea9da feat(templates): add named slot example to basic template (#22) 2023-11-09 11:35:22 +01:00
Ayo Ayco
17c5b810f9 feat(core): named slots (#21) 2023-11-09 11:35:14 +01:00
Ayo
51be11da89 chore(packages): update LICENSEs 2023-11-09 11:33:02 +01:00
Ayo Ayco
065209a5ad feat(core): update unpkg imported version 2023-11-09 11:32:56 +01:00
Ayo Ayco
72874430a0 style(site): add initial color theme variables 2023-11-09 11:32:41 +01:00