Commit graph

167 commits

Author SHA1 Message Date
Ayo
fce411f7f4 chore: update library size section 2023-11-19 00:15:13 +01:00
Ayo
b8565ef3d1 1.12.10 2023-11-19 00:12:53 +01:00
Ayo
2c285a60bb refactor: remove constructor; move initializeProps to connectedCallback 2023-11-19 00:12:30 +01:00
Ayo
5799f8ea4e 1.12.9 2023-11-18 23:43:31 +01:00
Ayo
c4d4b3e699 chore: update package description and repo 2023-11-18 23:43:02 +01:00
Ayo
a9f5189b7f 1.12.8 2023-11-18 23:38:24 +01:00
Ayo
a3845b7e7c refactor: prevent attribute changing twice 2023-11-18 23:38:06 +01:00
Ayo
d54ff6fa94 fix: illegal invocation 2023-11-18 23:30:56 +01:00
Ayo
341424187b refactor: only pass setter to handler; initializeProps on attribute changes 2023-11-18 23:28:10 +01:00
Ayo
f8ca80da72 update sample demo page 2023-11-18 23:27:23 +01:00
Ayo
12acf83c8c chore: add library size section 2023-11-18 23:27:01 +01:00
Ayo
74e7c16335 refactor: add return types; organize code 2023-11-18 22:47:26 +01:00
Ayo
2affb0697c chore: update tldr 2023-11-18 22:46:51 +01:00
Ayo
10b2c09bac chore: update tldr 2023-11-18 22:45:26 +01:00
Ayo
b9c66923c9 chore: add check:size script using size-limit 2023-11-18 22:34:31 +01:00
Ayo
85944641fe 1.12.7 2023-11-18 10:40:10 +01:00
Ayo
60008bf07e chore: update readme
- clearer explanation
2023-11-18 10:40:03 +01:00
Ayo
307670bf11 1.12.6 2023-11-18 10:31:34 +01:00
Ayo
6869ccb3e7 feat: more explainer for using WebComponent.props
- update readme with more read/write access explanation and example
- update demo page to use .props
2023-11-18 10:31:12 +01:00
Ayo
a3fcf4572f 1.12.5 2023-11-18 09:11:59 +01:00
Ayo
8343fded9c chore: update README examples 2023-11-18 09:11:51 +01:00
Ayo
3e828912db 1.12.4 2023-11-18 02:50:12 +01:00
Ayo
463136eea8 feat: assign DOMStringMap type to props 2023-11-18 02:50:03 +01:00
Ayo
1fb893a03f 1.12.3 2023-11-18 00:45:39 +01:00
Ayo
b73a62dc35 feat: camelCase backwards compatibility 2023-11-18 00:45:35 +01:00
Ayo
fad385d5b6 move sample.html 2023-11-17 23:44:18 +01:00
Ayo
53817036d9 add quick-start sample as demo page 2023-11-17 23:43:49 +01:00
Ayo
a388ea7dc9 1.12.2 2023-11-17 23:31:23 +01:00
Ayo
2616591315 refactor: make props read-only 2023-11-17 23:31:10 +01:00
Ayo
63175c6c9f 1.12.1 2023-11-17 23:23:51 +01:00
Ayo
693c35d082 fix: README examples 2023-11-17 23:23:32 +01:00
Ayo
3d31b41f53 1.12.0 2023-11-17 23:10:13 +01:00
Ayo
910a5096d0 feat: props Proxy for camelCase counterparts
- provide easy access to any observed attribute.
- update README examples
- update JSDoc examples
2023-11-17 23:10:02 +01:00
Ayo
003b72a1f2 1.11.4 2023-11-17 16:10:19 +01:00
Ayo
aabbb09c89 feat: better example to show observed attrs are only smallcase 2023-11-17 16:08:25 +01:00
Ayo
bef423fde1 feat: support boolean attribute
if no value is passed to an attribute it returns 'true'
2023-11-17 15:42:45 +01:00
Ayo
670c882e44 1.11.3 2023-11-12 16:06:59 +01:00
Ayo
d3573ec5b2 chore: better example with explanations 2023-11-12 16:06:47 +01:00
Ayo
859260f578 fix: demo import 2023-11-10 22:06:55 +01:00
Ayo
bfacf84b45 refactor: update jsdocs types & example 2023-11-10 22:04:46 +01:00
Ayo
b74ee310da chore: add LICENSE file 2023-11-10 21:56:12 +01:00
Ayo
2423dc6887 1.11.2 2023-11-09 11:01:27 +01:00
Ayo
157e9ed8cb fix: supper.connectedCallback doesn't exist 2023-11-09 11:01:19 +01:00
Ayo
1172247693 1.11.1 2023-11-07 00:00:05 +01:00
Ayo
d0e144953a feat: add jsdoc example and links 2023-11-06 23:59:46 +01:00
Ayo
4aaa93e57a 1.11.0 2023-10-29 18:11:51 +01:00
Ayo
feed3f7005 chore: deliver .js instead of .mjs 2023-10-29 18:10:42 +01:00
Ayo
12ef8fe02f 1.10.0 2023-10-27 08:50:24 +02:00
Ayo
4e533009df remove prep 2023-10-27 08:49:59 +02:00
Ayo
7eb067f923 try prepare 2023-10-27 08:49:37 +02:00