anki/ts
Hikaru Y a32c7a8e63
Fix CodeMirror not properly sized when opening editor (#2426)
* Revert "Fix open editors getting carried over to different notetypes (#2393)"

This reverts commit bf5bcd3f52.

* Fix CodeMirror not properly sized when opening editor

If the initial value of a tweened store is 'undefined' or 'null', the
first value change will take effect immediately. Therefore, by setting
the initial value of 'size' to 'undefined', 'collpased' will be set to
'false' with no transition time if 'false' is passed to 'collapse' prop,
ensuring that CodeMirror is properly sized.
2023-03-08 19:46:50 +10:00
..
card-info Show custom data in stats screen 2023-02-07 12:27:43 +10:00
change-notetype Fix non-Latin text wrapping in deck options dropdown (#2334) 2023-01-19 20:59:27 +10:00
components Fix CodeMirror not properly sized when opening editor (#2426) 2023-03-08 19:46:50 +10:00
congrats Add some left/right margins to congrats page 2022-12-04 13:58:50 +10:00
deck-options Fix black on grey deck options on KDE (#2415) 2023-03-06 19:43:04 +10:00
domlib Fix overwrite surround (#2247) 2022-12-09 10:10:58 +10:00
editable Fix and refactor image size constraints (#2318) 2023-01-13 23:18:25 +10:00
editor Improved fix for open editors getting carried to different notetypes (#2422) 2023-03-08 19:22:02 +10:00
fields Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
graphs Fix incorrect added total/average 2023-01-10 09:45:54 +10:00
html-filter Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00
icons Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
import-csv Fix double scrollbars in deck options (#2406) 2023-02-28 15:57:06 +10:00
lib Rework spinner buttons (#2230) 2022-12-04 13:18:49 +10:00
mathjax Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
patches Protobufjs fixed the relative path issue 2023-02-03 09:31:42 +10:00
reviewer Fix type box losing focus when switching IMEs (#2390) 2023-02-22 11:32:16 +10:00
sql_format Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
sveltelib Adjust lifecycleHooks.setup to allow async callbacks (#2388) 2023-02-22 11:38:58 +10:00
tag-editor Simplify NoteEditor by replacing Pane components with Collapsible (#2395) 2023-02-27 16:23:19 +10:00
.gitignore Update eslint to 4.22.0 2021-04-22 19:19:39 +02:00
bundle_svelte.mjs Add env var to enable sourcemaps 2022-12-04 11:37:16 +10:00
bundle_ts.mjs Add env var to enable sourcemaps 2022-12-04 11:37:16 +10:00
esbuild_jest.mjs Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
jest.config.js Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
licenses.json Protobufjs fixed the relative path issue 2023-02-03 09:31:42 +10:00
page.html Load page script after body created (#1802) 2022-04-19 17:16:56 +10:00
README.md add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
transform_ts.mjs Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
tsconfig.json Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
yarn.sh Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00

Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.

To update all dependencies:

./update.sh

To add a new dev dependency, use something like:

./add.sh -D @rollup/plugin-alias