anki/ts/editor/editor-toolbar
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
..
AddonButtons.svelte
BlockButtons.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
BoldButton.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
ClozeButton.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
ColorPicker.svelte Fix insert media always insert at the start (on Windows) (#1684) 2022-02-25 10:59:06 +10:00
CommandIconButton.svelte Fix CommandIconButton (#1648) 2022-02-08 14:13:18 +10:00
EditorToolbar.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
HighlightColorButton.svelte Fix insert media always insert at the start (on Windows) (#1684) 2022-02-25 10:59:06 +10:00
icons.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
index.ts Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
InlineButtons.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
ItalicButton.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
LatexButton.svelte Replace (some) Bootstrap dropdowns with Floating UI (#1695) 2022-03-02 14:21:19 +10:00
NotetypeButtons.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
RemoveFormatButton.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
SubscriptButton.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
SuperscriptButton.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
TemplateButtons.svelte Fix insert media always insert at the start (on Windows) (#1684) 2022-02-25 10:59:06 +10:00
TextColorButton.svelte Fix insert media always insert at the start (on Windows) (#1684) 2022-02-25 10:59:06 +10:00
UnderlineButton.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
WithColorHelper.svelte Fix insert media always insert at the start (on Windows) (#1684) 2022-02-25 10:59:06 +10:00