de2cc20c59
* Add ResizableImage.svelte in ts/editable * Set image constrained via attributes instead of managed style sheet * Implement new constrained size method * Turn WithImageConstrained.svelte into normal ts file * Introduce removeStyleProperties Removes "style" attribute if all style properties were cleared * Avoid --editor-width and use one variable set on container * Disable shrinking if already smaller than shrunken size * Add button to restore image to original size * Don't allow restoring original size if no custom width set * Bottom-center HandleLabel * Satisfy svelte-check
10 lines
607 B
TypeScript
10 lines
607 B
TypeScript
// Copyright: Ankitects Pty Ltd and contributors
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
export { default as floatLeftIcon } from "@mdi/svg/svg/format-float-left.svg";
|
|
export { default as floatNoneIcon } from "@mdi/svg/svg/format-float-none.svg";
|
|
export { default as floatRightIcon } from "@mdi/svg/svg/format-float-right.svg";
|
|
export { default as sizeClear } from "@mdi/svg/svg/image-remove.svg";
|
|
export { default as sizeActual } from "@mdi/svg/svg/image-size-select-actual.svg";
|
|
export { default as sizeMinimized } from "@mdi/svg/svg/image-size-select-large.svg";
|