anki/ts
Hikaru Y 604e0f46e1
Fix and refactor image size constraints (#2318)
* Remove 'ResizableImage.svelte'

Rather than having a svelte file that just sets global styles, it's
better to set those in a (s)css file.

* Fix and refactor image size constraints

- Fixes https://forums.ankiweb.net/t/2-1-56-image-size-problem-in-editor/26207
- Use :host-context() to switch image styles instead of toggling CSS
variables.

* Fix toolbar buttons for image overlay sometimes being cut off
2023-01-13 23:18:25 +10:00
..
card-info Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
change-notetype Improve Select component and add it back to Change Notetype screen (#2239) 2022-12-07 15:31:37 +10:00
components Auto-hide toolbar in Reviewer (#2262) 2023-01-09 14:39:31 +10:00
congrats Add some left/right margins to congrats page 2022-12-04 13:58:50 +10:00
deck-options Auto-hide toolbar in Reviewer (#2262) 2023-01-09 14:39:31 +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 Fix and refactor image size constraints (#2318) 2023-01-13 23:18:25 +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 Refactor Select component | Fix CSV import issue (#2227) 2022-12-01 19:24:26 +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 Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
reviewer Auto-hide toolbar in Reviewer (#2262) 2023-01-09 14:39:31 +10:00
sql_format Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
sveltelib Work around issue with entering text around MathJax via IME (#2288) 2022-12-30 13:32:41 +10:00
tag-editor Partially revert #2215 2022-12-04 11:37:16 +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 Bump Mathjax version 2022-12-04 18:01:26 +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