Commit Graph

979 Commits (58a013bdfc228ed8d2ada4a37eb39da28b3d9da1)
 

Author SHA1 Message Date
Brian Gradin 58a013bdfc
fix: restore Typescript intellisense (#1110) 11 months ago
Raphael Schweikert d3ea2cb067
fix: improve handling of class names with unusual whitespace (#1111) 11 months ago
Raphael Schweikert 2e6ef1e3e8
fix: camelize dataset (#1109)
Closes #1013
12 months ago
dependabot[bot] 0dbbba8058
chore(deps-dev): bump ip from 1.1.8 to 1.1.9 (#1108)
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
Simon Friis Vindum 890dac8d3e
chore(refactor): use modern JS features in additional places (#1107) 1 year ago
Jan van Brügge f3f7b9f561
chore(tools): remove workaround for ts-add-js-extension
Version 1.6.1 fixed the bug upstream
1 year ago
Simon Friis Vindum 5fe9584284 chore(release): v3.6.2 1 year ago
Simon Friis Vindum 438381794e
fix: detect opportunity to insert new vnode earlier for more efficient DOM manipulation (#1106)
ISSUES CLOSED: #1099
1 year ago
Jan van Brügge 07d0645c01
chore(release): v3.6.1 1 year ago
Jan van Brügge 649c760f79
fix: work around bug in ts-add-js-extension (#1105)
ISSUES CLOSED: #1087, #1102
1 year ago
Simon Friis Vindum f511eaa2a6
chore(docs): document the selector property and its use in identifying nodes (#1098)
ISSUES CLOSED: #333
1 year ago
Simon Friis Vindum 97fa1626d0 chore(docs): document that Snabbdom now requires TypeScript 4.1 1 year ago
Simon Friis Vindum 710b319622 chore(release): v3.6.0 1 year ago
Simon Friis Vindum 60c6041590
fix: handle falsy values correctly in the dataset and style modules (#1094)
ISSUES CLOSED: #303, #1093
1 year ago
iambumblehead c063d57f88
fix: allow innerHTML to replace non-empty node, credit @tokichie (#1083)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead ba080f5a4d
fix: detect window.requestAnimationFrame function before calling (#1082)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Simon Friis Vindum 809829de3f
chore(tools): use npm ci instead of npm install (#1095) 1 year ago
Simon Friis Vindum 20d1ce2cc5 chore(refactor): format files with Prettier 1 year ago
iambumblehead d0db5c5c6b
chore(test): enforce prettier format for pull requests using lint ci job (#1081)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Simon Friis Vindum 9deab8150f chore(docs): make minor changes to toVNode documentation 1 year ago
iambumblehead 0bedf23b4d
chore(docs): add attributesModule to first README example (#958) (#1078)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Max Battcher 357c546456
Enhance JSX and VNode types (#1092)
* Enhance JSX types with HTML property auto-complete

Get HTML properties from lib.dom's HTMLTagNameMap.

* Enhance VNode types with style auto-complete

Use lib.dom's ElementCSSInlineStyle for style property names.

* Fix and simplify style type

* Simplify IfEquals for used cases

* Expand ElementProperties

Adding in null | undefined adds the ariaThings properties to autocomplete.
1 year ago
Michael Reinstein 5fa4e84808
fix: correct minimum node version to one that supports modules (#1085)
* fix: correct minimum node version to one that supports modules

* fix: choose the node version that supports esm without any commandline flag
1 year ago
iambumblehead 996d2ddf51
chore(test): increase browserStartTimeout, reduce frequent pipeline timeout failures (#1089)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 404b753654
fix: patch should apply textNodes (#1062)
ISSUES FIXED: #971, #972 

Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 1487e0a1e9
chore(tools): lint all files, simplify npm lint script command (#1074)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead c17b3435af
chore(tools): add lint job to ci pipeline (#1068)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 856f26a52e
chore(test): rename ci job from CI to test-browser (#1075)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Michael Reinstein 7ec0e9018a
fix: generate valid javascript modules in build (#1080)
Before this change snabbdom could only be consumed by bundlers like webpack.
Now we add the `.js` extension to the build outputs so browsers can import the modules directly as well.
ISSUES FIXED: #963
1 year ago
iambumblehead f5fcde33ec
chore(tools): apply prettier-format to all files (#1077)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 49c01df531
chore(tools): remove devdependency lodash-es; used once, ~622kB (#1073)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 87a27eba02
chore(tools): remove un-needed dot-files; .prettierignore (#1076)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Shahar "Dawn" Or 581543e8e2
docs(docs): readme section on related packages (#946)
Co-authored-by: Simon Friis Vindum <simonfv@gmail.com>
1 year ago
iambumblehead d05aec634d
chore(tools): remove devdependency cross-env; un-maintained, not used, ~86kB (#1072)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Jan van Brügge eee7c6f28e
chore(test): move from deprecated pixel phone to oneplus 1 year ago
iambumblehead 13dc0b93aa
chore(tools): remove un-needed dot files; .node-version, .npmignore, .nvmrc (#1071)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead e4862d349a
chore(tools): added github package publishing job, runs when release is created (#1070)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 38ee0df895
chore(tools): convert .eslintrc.cjs to declarative .eslintrc.json (#1069)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 36bd539557
chore(refactor): prettier --write src/init.ts (#1067)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead e9771776ce
chore(test): use actions/checkout@v4, replacing v3 (#1065)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 8c67f426b6
fix: patching namespaced attributes (#1049) (#1061)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead e91d4d150b
chore(docs): reference readme-title image from github (#1064)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 52d7022116
chore(tools): use npm files directive for smaller publish size (#1063)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Simon Friis Vindum 21b6df15c6
Fix link to Hindi translation in readme 1 year ago
Simon Friis Vindum 86627b49a5
Link to Hindi translation of readme 1 year ago
iambumblehead b82c809d60
chore(test): use default concurrency 1, so that local unit tests do not hang (#1060)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 71813ff558
feat: optimise detection of data and svg names (#1058)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Sundaram Sharma 6ee1e6b5aa
Feature Request: Add Support for Hindi Language (#1055)
* Fixed typos in the README

* feat(feature-requests): Add support for Hindi language

This commit adds a feature request for supporting the Hindi language, which would enhance accessibility for Hindi-speaking users. It includes translation, language selection options, and testing for a seamless user experience.

Closes #1054

* fix(docs): Correct grammar errors in README.md

Addressed grammar mistakes that were identified in the previous pull request. This commit ensures the README.md is free from errors and provides clear and accurate information.

Closes #1053
1 year ago
iambumblehead ed31057285
chore(test): use actions/checkout@v3, replacing v2 (#1056)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Fuqiao Xue 9ffbb5e6c5
chore(docs): fix typo (#1023) 1 year ago