anki/ts/lib
Henrik Giesel 88217c5e7d
Replace (some) Bootstrap dropdowns with Floating UI (#1695)
* Implement a first version of WithFloating and Portal

* Add outside slot for Portal

* Execute computePosition from WithFloating

* Set up a first example of new WithFloating with the Latex menu

* Use autoUpdate in WithFloating

* Create sveltelib/position

* Add event-store

* Use event-store in close-on-click

* Implement subscribeToUpdates

* Introduce sass/elevation

* Split close-on-click to closing-click and subscribe-trigger

* Have closing-* stores return a symbol

- This way they act more of an EventEmitter than a store

* Allow passing show store

* Remove styling on float on updatePosition removal

* Implement a nice border for dropdowns

* Apply different border and box-shadow to Popover in dark/light theme

* Fix Ctrl+Shift+T not working

* Satisfy formatters and tests

* Add copyright header

* move copyright header to top (dae)
2022-03-02 14:21:19 +10:00
..
i18n Consider using --force-message for ts/protobuf.bzl (#1694) 2022-02-27 17:35:07 +10:00
bridgecommand.ts Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
BUILD.bazel Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
cards.ts fix inverted SchedBuried and UserBuried in cards.ts 2021-12-20 12:57:35 +10:00
children-access.ts Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
context-keys.ts Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
cross-browser.ts Fix bug when selecting text next to frame by clicking three times (#1604) 2022-01-19 10:15:53 +10:00
dom.ts Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
events.ts Replace (some) Bootstrap dropdowns with Floating UI (#1695) 2022-03-02 14:21:19 +10:00
functional.ts Fix some Mathjax issues (#1547) 2022-01-08 11:46:01 +10:00
genfluent.py Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
globals.ts Split/Merge editor.py for its three use cases (#1581) 2022-01-12 14:51:43 +10:00
helpers.ts Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
image-import.d.ts update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
keys.ts Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
nightmode.ts Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
node.ts Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
platform.ts use different toolbar size on Mac 2021-06-05 11:28:36 +10:00
postrequest.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
promise.ts Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
proto.ts Add support for proto3 optional scalars 2022-02-27 19:42:06 +10:00
runtime-require.ts Fix plain text (#1689) 2022-02-25 11:14:26 +10:00
shadow-dom.d.ts Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
shortcuts.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
time.test.ts add missing copyright headers to *.ts 2021-04-13 18:57:08 +10:00
time.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
tsconfig.json Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +10:00
typing.ts Replace (some) Bootstrap dropdowns with Floating UI (#1695) 2022-03-02 14:21:19 +10:00
ui.ts Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
uuid.ts Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
wrap.ts Fix setting of caret when creating clozes (#1688) 2022-02-25 11:07:44 +10:00