Anki/ts/components
Matthias Metelka 68fa661b53
Finish #2070: Single overlay instead of per field (#2144)
* Move up MathjaxOverlay to be initialized only once

* Move ImageOverlay to NoteEditor root

* Move Symbols Overlay to NoteEditor root

* Refactor image overlay to not require second mutation observer

* Use elevation + overflow:hidden  in Editorfield

* Make it possible to show input next to each other again

* Set handle background color to code bg

* Make Collapsible unmount the component

* Simplify how decorated elements are mounted

* Set RichTextInput background to frame-bg again

* Strip out FocusTrap code

* Revert "Make Collapsible unmount the component"

This reverts commit 52722065ea.

* Allow clicking on label container to unfocus field

* Fix mathjax overlay resetting too its api too soon

* Allow scrolling on overlays

* Set focus-border border-color in focused field

* Fix background color of fields

* Add back grid-gap

removed it during merge to see if margin-top would behave any differently - which is not the case.

* Fix double border issue within Collapsible.svelte

* Format

* Edit appearance of focused fields a bit

* Remove unused properties

* Include elevation in button_mixins_lib

* Give label-container a background color

Co-authored-by: Henrik Giesel <hengiesel@gmail.com>
2022-10-27 09:11:36 +10:00
..
Absolute.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
Badge.svelte Insert symbols overlay (#2051) 2022-09-10 18:46:59 +10:00
BUILD.bazel Make tags editor resizable using Henrik's components (#2046) 2022-09-28 14:02:32 +10:00
ButtonGroup.svelte Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
ButtonGroupItem.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
ButtonToolbar.svelte Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
CheckBox.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
Col.svelte Redesign deck options screen, swap tooltips for help modals (#2139) 2022-10-25 16:18:50 +10:00
Collapsible.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
Container.svelte Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
context-keys.ts Live theme changes (#1497) 2021-11-25 07:17:41 +10:00
DropdownDivider.svelte WIP: Use our components in deckoptions sticky bar 2021-05-18 16:32:29 +02:00
DropdownItem.svelte Finish #2070: Single overlay instead of per field (#2144) 2022-10-27 09:11:36 +10:00
DynamicallySlottable.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
FloatingArrow.svelte fix --frame-bg renamed to --canvas-elevated (#2107) 2022-10-10 13:15:07 +10:00
helpers.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
HorizontalResizer.svelte Make resizer snap to closest end and improve toggle (#2129) 2022-10-13 10:13:19 +10:00
IconButton.svelte Redesign deck options inputs (#2082) 2022-09-27 12:16:45 +10:00
IconConstrain.svelte Redesign deck options inputs (#2082) 2022-09-27 12:16:45 +10:00
icons.ts Make tags editor resizable using Henrik's components (#2046) 2022-09-28 14:02:32 +10:00
Item.svelte Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
LabelButton.svelte Redesign deck options inputs (#2082) 2022-09-27 12:16:45 +10:00
Pane.svelte Make resizer snap to closest end and improve toggle (#2129) 2022-10-13 10:13:19 +10:00
PaneContent.svelte Make tags editor resizable using Henrik's components (#2046) 2022-09-28 14:02:32 +10:00
Popover.svelte Redesign deck options inputs (#2082) 2022-09-27 12:16:45 +10:00
resizable.ts Make tags editor resizable using Henrik's components (#2046) 2022-09-28 14:02:32 +10:00
Row.svelte Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
Select.svelte Set floating shift value to fit area occupied by box-shadow (#2116) 2022-10-10 13:53:13 +10:00
SelectOption.svelte Redesign deck options inputs (#2082) 2022-09-27 12:16:45 +10:00
Shortcut.svelte Allow using keyup with registerShortcut (#1755) 2022-03-29 09:28:44 +10:00
Spacer.svelte Space out Sticky Bottom with Spacer component 2021-09-09 15:37:58 +02:00
SpinBox.svelte Fix SpinBox initially neglecting passed value (#2125) 2022-10-12 14:31:54 +10:00
StickyContainer.svelte Redesign deck options inputs (#2082) 2022-09-27 12:16:45 +10:00
Switch.svelte Improve hover feedback on various widgets (#2079) 2022-09-20 16:34:15 +10:00
tsconfig.json update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
types.ts Make tags editor resizable using Henrik's components (#2046) 2022-09-28 14:02:32 +10:00
VerticalResizer.svelte Make tags editor resizable using Henrik's components (#2046) 2022-09-28 14:02:32 +10:00
WithContext.svelte Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
WithFloating.svelte Set floating shift value to fit area occupied by box-shadow (#2116) 2022-10-10 13:53:13 +10:00
WithOverlay.svelte Redesign deck options inputs (#2082) 2022-09-27 12:16:45 +10:00
WithState.svelte Use WithFloating for MathjaxOverlay (#2011) 2022-09-05 17:20:00 +10:00
WithTooltip.svelte Default input setting in fields dialog (#1987) 2022-08-18 12:30:18 +10:00