Releases: devslab-kr/kokey
Releases · devslab-kr/kokey
Release list
v0.4.1
Docs-only republish — no code changes. Runnable examples/{vanilla,vue,react},
StackBlitz / CodeSandbox try-online links in all nine READMEs, and the numkey
sibling cross-link now appear on the npm page.
/ 문서 재배포 — 코드 무변경. examples 3종, 9개 언어 README의 원클릭 실행
링크, numkey 형제 링크가 npm 페이지에 반영됩니다.
v0.4.0 — multi-layout: ru/uk/he/el/th/ar/ka
kokey goes multilingual — 7 new keyboard layouts
kokey now restores wrong-layout text for every major language that shares the mistake, not just Korean. ghbdtn → привет, akuo → שלום, l;ylfu → สวัสดี — same engine, same round-trip guarantees.
한국어 전용이던 kokey가 같은 실수를 겪는 모든 주요 언어권으로 확장됐습니다.
Added / 추가
- 7 layouts as tree-shakeable subpath imports —
@devslab/kokey/ru(Russian ЙЦУКЕН),/uk(Ukrainian Enhanced),/he(Hebrew),/el(Greek, tonos/dialytika dead keys),/th(Thai Kedmanee, full digit-row remap),/ar(Arabic 101, lam-alef + tashkeel),/ka(Georgian QWERTY) — each verified against the Windows reference layout with round-trip tests.
서브패스 import 자판 7종 — Windows 표준 배열 기준 검증 + 왕복 테스트. register/toEn/fromEn— layout registry with per-run script auto-detection:toEn('안녕 привет')→'dkssud ghbdtn'; ru/uk disambiguated by coverage.
자판 registry + 스크립트 자동 감지.defineLayout— build your own table-driven layout ({ id, script, fromKey }); greedy multi-key matching covers dead keys and multi-code-point values.
커스텀 자판 정의 헬퍼.data-kokeyDOM attribute —data-kokey="ru"enforces a layout,data-kokey="en"self-heals any registered script back to QWERTY.data-hangulkeeps working.
DOM 레이어 일반화 (기존 속성 유지).KokeyInputcomponent (Vue & React) — converts inside the framework data flow sov-model/ controlled inputs always hold the converted value; IME-composition-safe;as="input|textarea". Plus generalizedvKokey/useKokey(legacy names kept) and exported building blocksconvert/applyToInput.
v-model/controlled 인풋용 컴포넌트 + 일반화된 디렉티브/훅.- CDN build ships every layout pre-registered —
kokey.toEn('привет안녕')works with zero setup. - Localized READMEs (9 languages) and a multilingual demo site (language auto-detection, RTL for he/ar): https://devslab-kr.github.io/kokey/
9개 언어 README + 데모 사이트 다국어화.
Changed / 변경
- npm
homepagenow points to the live demo instead of the GitHub README.
npm 홈페이지가 라이브 데모를 가리킵니다.
Out of scope by design / 설계상 제외
Chinese pinyin / Japanese kanji IMEs have a candidate-selection step — keystroke ↔ text is not deterministic there.
Full changelog: https://github.com/devslab-kr/kokey/blob/main/CHANGELOG.md