Commit Graph
100 Commits
Author SHA1 Message Date
jaandrle fb14d51cb4 🎉 docs/p05-scopes 2023-11-30 17:05:19 +01:00
jaandrle 01f102c149 💥 docs observables 2023-11-29 18:25:21 +01:00
jaandrle 420defe4a2 🐛 renamig issues 2023-11-24 21:07:48 +01:00
jaandrle 3bbcb0eff7 🐛 renaming fixes 2023-11-24 20:51:39 +01:00
jaandrle 58b73dcbc7 💥 rename signals to observables 2023-11-24 20:41:04 +01:00
jaandrle fc4037f3eb :docs: 2023-11-24 17:02:16 +01:00
jaandrle fb02635d24 💥 simulateSlots 2023-11-24 16:16:08 +01:00
jaandrle 6a293d75a6 docs mainly signals 2023-11-23 18:36:26 +01:00
jaandrle 0d5033780d 🔨 docs 2023-11-23 16:30:20 +01:00
jaandrle efc5c34fc4 S.attribute is the best option 2023-11-22 21:29:40 +01:00
jaandrle 10ed0802f2 🚧 mainly wc/ce 2023-11-22 17:39:46 +01:00
jaandrle 56206343d1 dispatchEvent 2023-11-21 21:22:04 +01:00
jaandrle a2b4e19d1b 🐛 docs 2023-11-21 17:24:40 +01:00
jaandrle 96c84227e9 v0.7.1 (dispatchEvent, docs) 2023-11-21 17:19:59 +01:00
jaandrle ae0455f913 🔨 docs+addons 2023-11-21 14:37:57 +01:00
jaandrle c0fdec1e1e chainableAppend 2023-11-19 11:07:23 +01:00
jaandrle 398cc38c88 ✏️ docs (🔨 examples, 🚧 events) 2023-11-18 14:23:18 +01:00
jaandrle 10021cb8be ✏️ update elemnts and add events page 2023-11-17 16:15:26 +01:00
jaandrle 40780bd61f Add on.disconnectedAsAbort(), pushRoot() to scope (and 🐛 pop) 2023-11-17 14:48:11 +01:00
jaandrle 5008b56ac8 Update README.md 2023-11-16 21:18:48 +01:00
jaandrle 40eaabc7ed Update README.md 2023-11-16 20:48:58 +01:00
jaandrle ad445c9bd3 🐛 Boolean(namespace) + mark+ssr 2023-11-10 18:02:56 +01:00
jaandrle 2569b9cd45 💥 📝 2023-11-10 17:16:58 +01:00
jaandrle 4d3a513713 💥 WC 2023-11-08 19:09:39 +01:00
jaandrle 5c038f0427 🔨 mainly types + 💥 ddePublicElementTagNameMap 2023-11-08 18:53:22 +01:00
jaandrle 14fe70e8f6 🔨 💥 docs + types 2023-11-08 14:54:00 +01:00
jaandrle 0f511d1791 💥 append, elNS, el.mark, el.later 2023-11-08 13:44:37 +01:00
jaandrle caa4cd84ed docs + readme 2023-11-07 21:58:48 +01:00
jaandrle 3866b29436 🔨 ElementExtender → ElementModifier 2023-11-07 17:30:15 +01:00
jaandrle 2c844a0ca9 docs + ssr fixes 2023-11-07 15:10:55 +01:00
jaandrle 7d21b7799f 🎨 build script 2023-11-07 10:20:34 +01:00
jaandrle 1195f93bed Add compressing and gzip files 2023-11-07 09:53:10 +01:00
jaandrle 4d56fa705e ♻️ Refactor docs 2023-11-06 20:20:32 +01:00
jaandrle 98d9d6a5b1 docs/info 2023-11-06 19:29:54 +01:00
jaandrle 0d70189908 Create DocumentFragment also with el() 2023-11-06 14:04:27 +01:00
jaandrle 324727cc0a docs 2023-11-06 13:45:43 +01:00
jaandrle 64a03c8ba5 Update package.json 2023-11-05 22:29:40 +01:00
jaandrle b597c00176 🚀 🚧 improvements (handlign special cases) + docs 2023-11-05 21:49:32 +01:00
jaandrleandGitHub d0b76727ee Merge branch 'dev-docs' into main 2023-11-05 19:19:05 +01:00
jaandrle b7d62dbce7 ♻️ Refactor signal mapping to attributes 2023-10-19 17:11:55 +02:00
jaandrle 029ef5adb4 ♻️ Update build.js to improve cli out 2023-10-19 15:28:44 +02:00
jaandrle 97da5441ee Bundle DTS files 2023-10-19 15:01:54 +02:00
jaandrle 19fd857dac ♻️ Update build script to support minification levels
Full minification by default
2023-10-19 14:23:10 +02:00
jaandrle 46869736d5 ♻️ Remove signals from elements + better debbuging options 2023-10-19 13:53:49 +02:00
jaandrle 702278c883 🧱 Switching mirror/source ⇒ Update README and package.json URLs 2023-10-16 13:03:27 +02:00
jaandrle 995bacde7a 📦 dist 2023-10-15 11:13:36 +02:00
jaandrle f08d495a5c ♻️ split assign to assign and assignAttribute 2023-10-15 11:12:06 +02:00
jaandrle 7d4cc29174 🐛 clear todos on remove (todosComponent example) 2023-10-14 18:08:07 +02:00
jaandrle 39900dc85b ♻️ Improve removing signal listener from elements 2023-10-14 16:20:54 +02:00
jaandrle c20f5ae117 add removeSignalsFromElements
for better auto-removing signals↔elements listeners (e.g.
provide a way to debug/investigate deps from browser inspector)
2023-10-14 12:43:53 +02:00
jaandrle 9f57913f8d 🚀 Remove signal listeners automatically (fixes #20) 2023-10-13 20:57:21 +02:00
jaandrle 4c571354c4 🐛 el leave scope correctly 2023-10-13 17:13:03 +02:00
jaandrle 06ab87c06f Add __dde_lifecycleToEvents flag to lifecycleToEvents 2023-10-13 16:51:43 +02:00
jaandrle 18f93d7e0b 🚀 lifecycle events, signals from attrs test 2023-10-13 16:37:04 +02:00
jaandrle b9bbd105a5 ♻️ remove/change type definitions 2023-10-12 10:48:44 +02:00
jaandrle 6a52972373 ♻️ Update scope and namespace handling (scope hook) 2023-10-10 10:55:00 +02:00
jaandrle b8c794922b Merge branch 'main' into dev-docs 2023-10-09 13:52:03 +02:00
jaandrle 7bbc58e3cc elCode 2023-10-09 13:51:55 +02:00
jaandrle ebbb76e9a0 🚀 use native listeners & scope 2023-10-09 13:49:38 +02:00
jaandrle 102d1af6a4 Add docs page 2023-09-26 16:02:42 +02:00
jaandrle 7417565fa5 🧱 move components, exports, and index files to examples directory 2023-09-26 09:40:00 +02:00
jaandrle 3823abc2d7 🐛 use assign.call() for creating elements 2023-09-21 17:04:40 +02:00
jaandrle e3c2786a72 📦 2023-09-21 16:27:00 +02:00
jaandrle eb68fff211 SVGElement (.apend), attrs handling in assing 2023-09-21 16:25:36 +02:00
jaandrle d20e2041f6 🐛 update dom.js to set/remove attributes ("xlink:href") 2023-09-21 14:59:05 +02:00
jaandrle 19051c256a ♻️ reduce complexity and simplify code 2023-09-21 14:37:48 +02:00
jaandrle 8df6aa19fe add className and classList to ElementAttributes 2023-09-21 13:36:28 +02:00
jaandrle 0794659104 🐛 add missing cases for href, src, class, xlink:href, textContent, innerText 2023-09-21 13:14:55 +02:00
jaandrle 951f589ceb upgrade deka-dom-el to v0.3.0 2023-09-21 12:56:34 +02:00
jaandrle cc69018d99 🐛 Process primitives & signals correctly in createElement/assign 2023-09-21 12:35:27 +02:00
jaandrle 84bcac0ec9 🐛 handle 'value' attribute in 'setDeleteAttr' (jsdom) 2023-09-19 16:20:16 +02:00
jaandrle 7196698b46 Remove 'disabled' check from setDeleteAttr 2023-09-19 13:40:18 +02:00
jaandrle 864e349a1b ♻️ update setDeleteAttr for 'checked' and 'disabled' 2023-09-19 13:36:20 +02:00
jaandrle ddfa3a2929 🐛 check for null when checking type of object (assign) 2023-09-19 12:39:56 +02:00
jaandrle 78fdb45ea7 🐛 update dom-common.js setDelete to setDeleteAttr 2023-09-19 12:35:07 +02:00
jaandrle 1df797e316 ♻️ 🔨 🐛 e.g. better namespace #18 2023-09-19 09:30:21 +02:00
jaandrle 9c5ac96ab8 🚚 2023-09-13 21:39:24 +02:00
jaandrle dfcb98bfbe 🚚 2023-09-13 21:06:13 +02:00
jaandrle d7e0b17e38 📦 2023-09-13 13:20:00 +02:00
jaandrle 5436e50a95 🐛 Try to make undefined more inuitive…
…(as it is ‘template lang’ not only `assign`)
2023-09-13 13:06:25 +02:00
jaandrle a7b3ea633b Add attrsPropsToSignals 2023-09-12 15:26:06 +02:00
jaandrle ff22eed991 ♻️ Update todosComponent to use types properly 2023-09-12 15:25:13 +02:00
jaandrle 1dd05518b8 📦 2023-09-11 18:32:05 +02:00
jaandrle 4b0a7d4554 add custom HTML element helpers 2023-09-11 18:31:23 +02:00
jaandrle 1cb1a8420c 📝 add comment to processReactiveAttribute 2023-09-11 18:30:06 +02:00
jaandrle 62a3b1ed35 🐛 🚧 connected/disconnected + onAbort 2023-09-09 21:18:28 +02:00
jaandrle 7d5f3d17ae 📦 dist and experiments 2023-09-08 20:18:58 +02:00
jaandrle 20e95e33d4 Move reactive element to the S.el
⇒ cleanup/simplify signal registration
2023-09-08 20:16:42 +02:00
jaandrle 8e588b4e41 📦 2023-09-08 15:57:51 +02:00
jaandrle f632be61cf href/src see #5 ♻️ renaming 2023-09-08 15:54:47 +02:00
jaandrle eb8aa93f06 Add deps WeakMap for register/clear deps signals 2023-09-08 10:53:42 +02:00
jaandrle 9b77d65279 Add ddeSignal type to global scope + TODOs updated 2023-09-07 18:21:51 +02:00
jaandrle 6fae2fc4e6 Signals finalization 2023-09-07 17:35:23 +02:00
jaandrle 55a8f14b6b 🚧 types, linting, caching
♻️ add linting to codebase
♻️ Update prototype methods
🐛 update maxcomplexity in jshintConfig
♻️ Improve DOM element property handling
♻️ update setDelete function
 Add type annotation for signals()
♻️ Cleanup when signal removed
2023-09-07 13:52:09 +02:00
jaandrle a8ae99962e 📦 2023-09-06 14:54:28 +02:00
jaandrle dbd8dd557b ♻️ Refactor jsdom register function 2023-09-06 14:54:02 +02:00
jaandrle ac22b58e8b Add types to package.json 2023-09-05 12:49:37 +02:00
jaandrle ec169ca740 🧱 add jsdom support 2023-09-05 11:01:29 +02:00
jaandrle 0090f534b1 add type module to package.json 2023-09-05 09:57:54 +02:00
jaandrle ba3194f960 dev-package (#15)
Reviewed-on: #15
2023-09-05 09:25:47 +02:00