* feat: allow the hiding of top picks * feat: allow the hiding of default fonts * refactor: rename to compactMode * feat: introduce layout (incomplete) * tweak icons * do not show border * lint * add isTouchMobile to device * add isTouchMobile to device * refactor to use showCompactSidebar instead * hide library label in compact * fix icon color in dark theme * fix library and share btns getting hidden in smaller tablet widths * update tests * use a smaller gap between shapes * proper fix of range * quicker switching between different popovers * to not show properties panel at all when editing text * fix switching between different popovers for texts * fix popover not closable and font search auto focus * change properties for a new or editing text * change icon for more style settings * use bolt icon for extra actions * fix breakpoints * use rem for icon sizes * fix tests * improve switching between triggers (incomplete) * improve trigger switching (complete) * clean up code * put compact into app state * fix button size * remove redundant PanelComponentProps["compactMode"] * move fontSize UI on top * mobile detection (breakpoints incomplete) * tweak compact mode detection * rename appState prop & values * update snapshots --------- Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
96 lines
2.5 KiB
TypeScript
96 lines
2.5 KiB
TypeScript
export { actionDeleteSelected } from "./actionDeleteSelected";
|
|
export {
|
|
actionBringForward,
|
|
actionBringToFront,
|
|
actionSendBackward,
|
|
actionSendToBack,
|
|
} from "./actionZindex";
|
|
export { actionSelectAll } from "./actionSelectAll";
|
|
export { actionDuplicateSelection } from "./actionDuplicateSelection";
|
|
export {
|
|
actionChangeStrokeColor,
|
|
actionChangeBackgroundColor,
|
|
actionChangeStrokeWidth,
|
|
actionChangeFillStyle,
|
|
actionChangeSloppiness,
|
|
actionChangeOpacity,
|
|
actionChangeFontSize,
|
|
actionChangeFontFamily,
|
|
actionChangeTextAlign,
|
|
actionChangeVerticalAlign,
|
|
actionChangeArrowProperties,
|
|
} from "./actionProperties";
|
|
|
|
export {
|
|
actionChangeViewBackgroundColor,
|
|
actionClearCanvas,
|
|
actionZoomIn,
|
|
actionZoomOut,
|
|
actionResetZoom,
|
|
actionZoomToFit,
|
|
actionToggleTheme,
|
|
} from "./actionCanvas";
|
|
|
|
export { actionSetEmbeddableAsActiveTool } from "./actionEmbeddable";
|
|
|
|
export { actionFinalize } from "./actionFinalize";
|
|
|
|
export {
|
|
actionChangeProjectName,
|
|
actionChangeExportBackground,
|
|
actionSaveToActiveFile,
|
|
actionSaveFileToDisk,
|
|
actionLoadScene,
|
|
} from "./actionExport";
|
|
|
|
export { actionCopyStyles, actionPasteStyles } from "./actionStyles";
|
|
export {
|
|
actionToggleCanvasMenu,
|
|
actionToggleEditMenu,
|
|
actionShortcuts,
|
|
} from "./actionMenu";
|
|
|
|
export { actionGroup, actionUngroup } from "./actionGroup";
|
|
|
|
export { actionGoToCollaborator } from "./actionNavigate";
|
|
|
|
export { actionAddToLibrary } from "./actionAddToLibrary";
|
|
|
|
export {
|
|
actionAlignTop,
|
|
actionAlignBottom,
|
|
actionAlignLeft,
|
|
actionAlignRight,
|
|
actionAlignVerticallyCentered,
|
|
actionAlignHorizontallyCentered,
|
|
} from "./actionAlign";
|
|
|
|
export {
|
|
distributeHorizontally,
|
|
distributeVertically,
|
|
} from "./actionDistribute";
|
|
|
|
export { actionFlipHorizontal, actionFlipVertical } from "./actionFlip";
|
|
|
|
export {
|
|
actionCopy,
|
|
actionCut,
|
|
actionCopyAsPng,
|
|
actionCopyAsSvg,
|
|
copyText,
|
|
} from "./actionClipboard";
|
|
|
|
export { actionToggleGridMode } from "./actionToggleGridMode";
|
|
export { actionToggleZenMode } from "./actionToggleZenMode";
|
|
export { actionToggleObjectsSnapMode } from "./actionToggleObjectsSnapMode";
|
|
|
|
export { actionToggleStats } from "./actionToggleStats";
|
|
export { actionUnbindText, actionBindText } from "./actionBoundText";
|
|
export { actionLink } from "./actionLink";
|
|
export { actionToggleElementLock } from "./actionElementLock";
|
|
export { actionToggleLinearEditor } from "./actionLinearEditor";
|
|
|
|
export { actionToggleSearchMenu } from "./actionToggleSearchMenu";
|
|
|
|
export { actionToggleCropEditor } from "./actionCropEditor";
|