anki/ts
Matthias Metelka e059aab184
Improve Select component and add it back to Change Notetype screen (#2239)
* Do not include oldIdx in Select change event

I included it due to confusion about the variable names in the Change Notetype components.

* Remove redundant on:change listener from NotetypeSelector

* Use Select component in Change Notetype MapperRow (again)

* Remove redundant --cols and --col-size definitions

Bootstrap divides rows into columns of equal width by default.

* Add highlight to active DropdownItem

* Remove bootstrap dropdown item styling

* Fix JS error on dropdown accept action

cause: When closing the dropdown, buttonRef was removed before the callback in setTimeout was run.
2022-12-07 15:31:37 +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 Improve Select component and add it back to Change Notetype screen (#2239) 2022-12-07 15:31:37 +10:00
congrats Add some left/right margins to congrats page 2022-12-04 13:58:50 +10:00
deck-options Improve Select component and add it back to Change Notetype screen (#2239) 2022-12-07 15:31:37 +10:00
domlib Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00
editable Exempt MathJax images from image shrinking 2022-12-04 20:03:27 +10:00
editor Improve Select component and add it back to Change Notetype screen (#2239) 2022-12-07 15:31:37 +10:00
fields Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
graphs Tweak graph margins again 2022-12-04 21:50:58 +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 Re-enable formatting for .ts files 2022-11-28 09:33:04 +10:00
sql_format Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
sveltelib Fix glitchy animation of floating elements (#2224) 2022-12-01 15:45:52 +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
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