Commit Graph

130 Commits (3aa02ed1ad659a5774d89ac4dbdee3b80dd179c2)

Author SHA1 Message Date
Mohammad Hasani 3aa02ed1ad
Support custom elements v1 (#829)
* feat(core): support custom elements v1

closes #141

* style: remove unintentional spaced

* feat: move `is` attribute to the data object

* refactor: code review requested changes

* refactor: remove redundant functions

Co-authored-by: Simon Friis Vindum <simonfv@gmail.com>
4 years ago
Shahar Or (mightyiam) 8741f90d06 chore(deps): update webpack packages 4 years ago
Shahar Or (mightyiam) 2d88e73c13 chore(deps): update eslint packages 4 years ago
Renovate Bot 6c5f62c6ba chore(deps): update dependency latest-snabbdom-release to v2.1.0 5 years ago
patomation 63b1b6c22e feat(eventlisteners): add types for VNode in listener
fixes #796

Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
patomation 15ce059e2b feat(eventlisteners): relax custom event listener type
fixes #850

Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
Renovate Bot d83ddb8265 chore(deps): update dependency latest-snabbdom-release to v2 5 years ago
patomation 5a89efe015 feat(eventlisteners): add missing mult. listeners type
fixes #794

Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
Renovate Bot 49fc4bf86e chore(deps): update dependency @typescript-eslint/eslint-plugin to v4.1.0 5 years ago
patomation 6e0ff8e814 feat(eventlisteners): remove loaded listeners feature
BREAKING CHANGE: loaded/carrying event listeners are no longer supported.
For alternatives see issue #802.

Fixes #802

Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
patomation 749ec6299d chore(ttypescript): self implement import-path-rewrite
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
patomation b8a7ea64b2 test(eventlisteners): fix listener context HTMLElement -> VNode
fixes #792

Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
Renovate Bot 5c6c07e679 chore(deps): update dependency latest-snabbdom-release to v1
Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com>
5 years ago
Renovate Bot 20296d670e chore(deps): update dependency @typescript-eslint/eslint-plugin to v3.6.1 5 years ago
Shahar Or (mightyiam) 09f2d1ca5a ux(exports): replaced main export path with init
BREAKING CHANGE: The main export path, 'snabbdom' was replaced with
the export path 'snabbdom/init'. This new export path includes only
the named export `init`.

Reference: #522.
5 years ago
Shahar Or (mightyiam) fefd141f5f ux(exports): only named exports
BREAKING CHANGE: No default exports exist. All exports are named.

Fixes #522.
Fixes #523.
5 years ago
Shahar Or (mightyiam) e77615b16b dx(format): sort file lists
Fixes #673.
5 years ago
Renovate Bot eb1ec8c280 auto(deps): update dependency tsconfigs to v5 5 years ago
Shahar Or (mightyiam) 8a71211b4a dx(typescript): package and tests are two projects 5 years ago
Shahar Or (mightyiam) c862993359 ux(exports): remove the /snabbdom.bundle path
BREAKING CHANGE: the import path `snabbdom/snabbdom.bundle` is removed.
5 years ago
Shahar Or (mightyiam) 0620b5eda0 ux(typescript): do not redeclare Element.setAttribute(NS)
BREAKING CHANGE: Types exported by this package have re-declared
the global `Element.setAttribute` and `Element.setAttributeNS` to
accept `number` and `boolean` for the `value` parameter. This
change removes that re-declaration and thus the only valid value is
`string`. If your code provides `number` and/or `boolean`, then it
may now fail to compile.

Fixes #615.
5 years ago
Shahar Or (mightyiam) 6f316c141b fix(props): do not attempt to delete node properties
BREAKING CHANGE: props module does not attempt to delete node
properties. This may affect you if you are using the props module
to add non-native (custom) properties to DOM nodes. Instead, it is
recommended to use _data-* attributes_.
https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes

Fixes #623.
Fixes #283.
Closes #415.
Closes #307.
Closes #151.
Closes #416.
5 years ago
Renovate Bot c0d4cfad83 chore(deps): update eslint packages 5 years ago
Shahar Dawn Or 22a9fe48db
perf(class): prevent redundant calls to classList.remove (#634)
Fixes #633.

Co-authored-by: Simon Friis Vindum <simonfv@gmail.com>
5 years ago
Shahar Or (mightyiam) d5bcb63f7b style: no unnecessary semicolons 5 years ago
Shahar Or (mightyiam) 50f47f5702 test(props): add test for inability to remove native props
And change the name of the existing prop removal test.
Fixes #625.
5 years ago
Shahar Or (mightyiam) 3b65f77c6f chore: tsconfig noImplicitThis true 5 years ago
Shahar Or (mightyiam) 210b718a39 test: enable IE10 by skipping dataset tests
Closes #472.
5 years ago
Shahar Or (mightyiam) 215d420950 test: benchmark core 5 years ago
Shahar Or (mightyiam) ffc166cdb4 style: @typescript-eslint/consistent-type-assertions
Fixes #564.
Fixes #565.
5 years ago
Shahar Or (mightyiam) 97a6279bcc style: eslint rule eqeqeq 5 years ago
yuler c8b3beaa66 fix: remove duplicate code in thunk.ts 5 years ago
Shahar Or (mightyiam) 68cbe83dd2 style: enable eslint rule @typescript-eslint/member-delimiter-style 5 years ago
Shahar Or (mightyiam) 98ed6ffee3 style: enable eslint rule no-unused-expressions 5 years ago
Shahar Or (mightyiam) b0ec1a7bfd style: enable eslint rule no-unused-vars 5 years ago
Shahar Or (mightyiam) 320c255975 style: enable eslint rule semi 5 years ago
Shahar Or (mightyiam) b551d93f31 style: enable eslint rule prefer-const 5 years ago
Shahar Or (mightyiam) 86488cb8ca style: enable eslint rule one-var 5 years ago
Shahar Or (mightyiam) dd1291f281 style: max-statements-per-line 5 years ago
Shahar Dawn Or d524860ad7
test: compare deep instead of JSON in assertions (#531) 5 years ago
Shahar Dawn Or 693872cf73
test: workaround IE11 defficiencies (#550)
Fixes #471.
5 years ago
Shahar Dawn Or 8055d395f5
chore(test): chai assert & karma-mocha-reporter (#541)
Closes #535.
5 years ago
Shahar Dawn Or 814c2e50d7
style: four eslint rules enabled (#548)
- import/newline-after-import
- dot-notation
- import/first
- no-undef
5 years ago
zymfe f98dcabfa9 chore: merge statement 5 years ago
Shahar Dawn Or 2dc536a394
test: strict assertions (#529) 5 years ago
Shahar Dawn Or 14d7e0af25
style: lint .tsx (#530)
Fixes #528.
5 years ago
Shahar Dawn Or 6eacf72763
style: no-sequences, no-void, quote-props (#527) 5 years ago
Shahar Dawn Or ad3745bfe8
style: single quotes (#526) 5 years ago
Shahar Dawn Or 431f95018e
fix: include JSX related module in package (#524)
Fixes #503.
5 years ago
Shahar Dawn Or a2342e6875
style: normalize whitespace (#510) 5 years ago