-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3665 from illacloud/beta
Release/4.4.3
- Loading branch information
Showing
28 changed files
with
365 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
"private": true, | ||
"author": "ILLA Cloud <[email protected]>", | ||
"license": "Apache-2.0", | ||
"version": "4.4.2", | ||
"version": "4.4.3", | ||
"scripts": { | ||
"dev": "vite --strictPort --force", | ||
"build-cloud": "NODE_OPTIONS=--max-old-space-size=12288 vite build --mode cloud", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 43 additions & 10 deletions
53
apps/builder/src/page/App/components/ScaleSquare/components/InnerResizingContainer/style.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,47 @@ | ||
import { css } from "@emotion/react" | ||
import { getWrapperBorder } from "../../style" | ||
|
||
export const resizingContainerStyle = ( | ||
width: number, | ||
height: number, | ||
minWidth: number, | ||
minHeight: number, | ||
) => css` | ||
width: ${width}px; | ||
height: ${height}px; | ||
min-width: ${minWidth}px; | ||
min-height: ${minHeight}px; | ||
position: relative; | ||
shapeInfo: { | ||
width: number | ||
height: number | ||
minWidth: number | ||
minHeight: number | ||
}, | ||
borderInfo: { | ||
isLikeProductionMode: boolean | ||
isSelected: boolean | ||
hasEditors: boolean | ||
isHover: boolean | ||
isDragging: boolean | ||
}, | ||
) => { | ||
const { width, height, minHeight, minWidth } = shapeInfo | ||
const { | ||
isLikeProductionMode: isLikProductionMode, | ||
isSelected, | ||
hasEditors, | ||
isHover, | ||
isDragging, | ||
} = borderInfo | ||
return css` | ||
width: ${width}px; | ||
height: ${height}px; | ||
min-width: ${minWidth}px; | ||
min-height: ${minHeight}px; | ||
position: relative; | ||
${getWrapperBorder( | ||
isLikProductionMode, | ||
isSelected, | ||
hasEditors, | ||
isHover, | ||
isDragging, | ||
)} | ||
` | ||
} | ||
|
||
export const resizingPlaceholderStyle = css` | ||
background-color: rgba(101, 74, 236, 0.1); | ||
width: 100%; | ||
height: 100%; | ||
` |
Oops, something went wrong.