anki/ts
Henrik Giesel ab6a68ec49
Introduce our own Container, Row, and Col components (#1495)
* Refactor out Placeholder from CardInfo.svelte

* Add breakpoint parameter for Container

- Use `Container` component inside `TitledContainer`

* Build Item into Row

- Use Row in DeckOptionsPage instead of just Item

* Reengineer Container/Row/Col CSS

* Inline Badges next to Labels when Lable spans multiple rows

* Adjust margins for mobile

* Implement Col component breakpoints

* Move card-info to use new Container and Row components

* Join StickyHeader and StickyFooter to StickyContainer

* Remove default middle vertical-alignment for Badges again

* Satisfy tests

* Restore inline gutters in change-notetype Mapper

* Add some comment to Col and Container

* Fix breaking behavior in DeckOptionsPage when multi-column

* Add back toolbar left padding to counter-act buttongroup right margins

* Make Label in SwitchRow take more of available space
2021-11-17 13:49:52 +10:00
..
card-info Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
change-notetype Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
components Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
congrats revert congrats h3 style change from #1470 2021-11-01 12:55:31 +10:00
deck-options Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
domlib Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00
editable Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00
editor Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
graphs Garbage collect unused Fluent strings (#1482) 2021-11-12 18:19:01 +10:00
html-filter Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
lib Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00
patches update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
reviewer Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
sql_format use absolute path for sql_format 2021-10-31 11:13:38 +10:00
svelte another external workspace fix for sass 2021-11-12 15:02:17 +10:00
sveltelib Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
.eslintrc.js Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
.gitignore Update eslint to 4.22.0 2021-04-22 19:19:39 +02:00
BUILD.bazel add aliases to run vendored python and node from command line 2021-10-18 19:50:41 +10:00
compile_sass.bzl Put sass into repo directory (#1409) 2021-10-09 10:25:03 +10:00
copy.bzl include sourcemaps for pages/* in dev builds 2021-04-20 17:33:46 +10:00
esbuild.bzl update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
eslint.bzl use absolute package paths in eslint.bzl 2021-11-02 13:49:19 +10:00
format.sh //ts:format now runs on current working directory, instead of entire repo 2021-10-23 15:48:33 +10:00
jest.bzl update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
jest.config.js update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
licenses.json update js deps 2021-10-26 08:30:13 +10:00
prettier.bzl include subfolders in eslint/prettier checks 2021-11-02 12:50:27 +10:00
proto.bzl update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
protobuf-no-long.js add a hack to avoid Long.js in Jest tests 2021-04-17 17:05:48 +10:00
protobuf.bzl force number in protobuf generation 2021-04-12 14:33:20 +10:00
README.md add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
tsconfig.json Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
typescript.bzl Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
update-licenses.sh move node_modules into root folder [action required] 2021-10-07 11:42:27 +10:00
update.sh add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
vendor.bzl add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10:00
yarn.sh Replace individual d3 libraries with encompassing d3 2021-01-30 00:00:22 +01: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