2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-15 11:59:38 +03:00
Commit Graph

226 Commits

Author SHA1 Message Date
Alexander Shabunevich 548d4e224b docs: v2 demo via codepen 2024-06-01 19:51:07 +03:00
Alexander Shabunevich 35cabff397 chore: bump deps 2024-06-01 19:51:07 +03:00
Alexander Shabunevich c659a3d585 docs: updated docs for v3 2024-05-29 22:36:46 +03:00
Alexander Shabunevich 7921676276 chore: add svelte examples 2024-05-27 22:35:48 +03:00
Alexander Shabunevich 15c6fdee68 feat: data-maska-number attribute 2024-05-27 22:34:51 +03:00
Alexander Shabunevich f6c706f1c8 feat: auto init for alpine 2024-05-22 21:21:41 +03:00
Alexander Shabunevich 3676e771f0 chore: update README for v3 2024-05-15 15:45:55 +03:00
Alexander Shabunevich c24ece2365 chore: bump deps 2024-05-12 22:51:16 +03:00
Alexander Shabunevich 9b693bf95b chore: alpine new demos 2024-05-12 22:51:16 +03:00
Alexander Shabunevich 5c5cba6e93 test: number mask tests 2024-05-12 22:51:16 +03:00
Alexander Shabunevich 3d6df57ec9 fix: cursor position
Better work with eager and number masks
2024-05-12 22:51:16 +03:00
Alexander Shabunevich ff06ea6703 feat: number mask 2024-05-12 22:51:16 +03:00
Alexander Shabunevich 7cdb78cfbf style: code format 2024-05-12 19:47:49 +03:00
Alexander Shabunevich 28079acd1c refactor: rename parseOpts to parseBool 2024-05-12 19:47:37 +03:00
Alexander Shabunevich ba05e548c0 fix(alpine): turn opts to plain object
Because evaluate returns proxy version
2024-05-08 19:04:40 +03:00
Alexander Shabunevich 89dbf2460a feat: svelte plugin 2024-04-27 20:15:16 +03:00
Alexander Shabunevich cb0b13a498 chore: bump deps 2024-04-22 20:40:31 +03:00
Alexander Shabunevich 49658fc7d6 test: alpine tests 2024-04-21 20:56:51 +03:00
Alexander Shabunevich d8d2f75446 fix: alpine directive expression check 2024-04-18 10:17:20 +03:00
Alexander Shabunevich 29d9a24f35 test: change SpyInstance to MockInstance 2024-04-17 22:32:40 +03:00
Alexander Shabunevich 0123433573 chore: remove vue keyword from package.json 2024-04-17 21:24:41 +03:00
Alexander Shabunevich 4558d9a2e3 chore: format taskfile 2024-04-17 21:24:20 +03:00
Alexander Shabunevich 9accb8e4c4 feat: add alpine plugin 2024-04-17 21:24:08 +03:00
Alexander Shabunevich c60c26b18b refactor: always update value inside init
To universal process of value change not only in v-model,
but in all cases
2024-04-17 21:02:55 +03:00
Alexander Shabunevich 4de44ef888 feat!: separate packages 2024-04-17 19:31:22 +03:00
Alexander Shabunevich 685f477fe1 style: code format 2024-04-14 14:13:15 +03:00
Alexander Shabunevich b80fb27838 build: remove type module from package.json
To generate UMD CJS by default with .js extension (for CDN link)
and ESM with .mjs extension (for bundlers)
2024-04-14 14:11:24 +03:00
Alexander Shabunevich 3fa2b02efa build: add package-lock to git 2024-04-14 13:11:25 +03:00
Alexander Shabunevich 6f4836345c chore: update dependencies and package.json for v3 2024-04-14 12:54:18 +03:00
Alexander Shabunevich bdcdecc301 chore: move docs demo app to root folder 2024-04-14 12:54:18 +03:00
Alexander Shabunevich 88d92b2753 fix: change event abort to manual event removing
Because happy-dom can't handle event abortion and test do not passing
2024-04-14 12:54:18 +03:00
Alexander Shabunevich 04bd6b249c fix: correct binding.value check in vue directive 2024-04-14 12:54:18 +03:00
Alexander Shabunevich 9257950422 chore: rename mask-input.ts to input.ts 2024-04-14 12:09:36 +03:00
Alexander Shabunevich 2fb8e9b460 test: add BindModel component 2024-04-11 22:41:55 +03:00
Alexander Shabunevich 9b6f964d59 chore: demo app 2024-04-11 22:41:45 +03:00
Alexander Shabunevich f01cacb046 style: code format 2024-04-11 22:13:16 +03:00
Alexander Shabunevich 500fd1d6cf test: warning about input type 2024-04-11 21:49:14 +03:00
Alexander Shabunevich 9943a17fd1 style: code format 2024-04-11 21:37:42 +03:00
Alexander Shabunevich e01e66a7c9 chore: rename directive.js to vue.js 2024-04-11 21:32:15 +03:00
Alexander Shabunevich 7159eb3460 chore: fix lint warnings 2024-04-11 21:30:28 +03:00
Alexander Shabunevich 7273dc73a4 feat: console warning on non-supported input type 2024-04-11 21:22:42 +03:00
Alexander Shabunevich 12ce5da3f5 chore: rename directive.test to vue.test 2024-04-09 22:29:57 +03:00
Alexander Shabunevich f26128d19b test: additional tests for cursor position 2024-04-09 22:29:42 +03:00
Alexander Shabunevich 9d4dfbd1bc chore: update happy-dom to 14.6.2 2024-04-09 21:24:41 +03:00
Alexander Shabunevich 1e50a2a259 refactor: MaskInput rework
- abort controller for events
- refactor onInput
- remove beforeinputEvent
- new cursor position fix
2024-04-09 21:24:41 +03:00
Alexander Shabunevich 243b8445a2 test: fix tests for new eager mode 2024-04-06 12:00:02 +03:00
Alexander Shabunevich 150ee77c48 fix: rework updating value 2024-04-06 11:59:33 +03:00
Alexander Shabunevich 81a748e891 style: code format 2024-04-06 10:17:11 +03:00
Alexander Shabunevich ce1243abcd fix!: change eager mask behavior
Now eager mask take into account a hardcoded symbols
2024-04-06 10:13:31 +03:00
Alexander Shabunevich dee8f2eaf2 test: additional check for callbacks with binding 2024-03-30 15:15:31 +03:00