-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: custom scaffold build error * fix: style * fix: style * chore: version * feat: add entry in iceworks-app * chore: changelog * fix: switch component default param Co-authored-by: luhc228 <luhengchang228@gmail.com>
- Loading branch information
Showing
14 changed files
with
110 additions
and
61 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
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
4 changes: 2 additions & 2 deletions
4
extensions/iceworks-project-creator/web/src/components/CustomSwitch/index.tsx
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,8 +1,8 @@ | ||
import React from 'react'; | ||
import { Switch } from '@alifd/next'; | ||
|
||
const SwitchComponent = ({ checked, onChange }) => ( | ||
<Switch checked={checked} onChange={onChange} /> | ||
const SwitchComponent = ({ checked, onChange, size }) => ( | ||
<Switch checked={checked} onChange={onChange} size={size || 'medium'} /> | ||
); | ||
|
||
export default SwitchComponent; |
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
2 changes: 1 addition & 1 deletion
2
...ks-project-creator/web/src/pages/CustomScaffold/components/LayoutConfig/index.module.scss
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,6 +1,6 @@ | ||
.container { | ||
.list { | ||
margin-bottom: 12px; | ||
margin-bottom: 28px; | ||
} | ||
|
||
.btns { | ||
|
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
35 changes: 27 additions & 8 deletions
35
...ks-project-creator/web/src/pages/CustomScaffold/components/ScaffoldForm/index.module.scss
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,33 +1,52 @@ | ||
.scaffoldScaffold { | ||
.scaffoldForm { | ||
position: relative; | ||
width: 100%; | ||
width: 100vw; | ||
height: calc(100vh - 160px); | ||
|
||
.content { | ||
height: calc(100vh - 220px); | ||
display: flex; | ||
flex-direction: row; | ||
|
||
.scaffoldTemplateIframe { | ||
height: 100%; | ||
width: 96%; | ||
margin-left: 30px; | ||
margin-right: 40px; | ||
flex: 1; | ||
} | ||
|
||
.drawerBtn { | ||
.configBtn { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
position: absolute; | ||
top: 40px; | ||
right: -30px; | ||
height: 48px; | ||
width: 48px; | ||
height: 40px; | ||
width: 40px; | ||
cursor: pointer; | ||
background: $color-brand1-6; | ||
top: 0; | ||
right: 0; | ||
border-radius: 4px 0 0 4px; | ||
} | ||
|
||
.closeConfigBtn { | ||
top: calc(50% - 60px); | ||
right: 300px; | ||
height: 80px; | ||
width: 16px; | ||
} | ||
.config { | ||
width: 300px; | ||
height: 100%; | ||
background-color: #2b2b2b; | ||
padding: 20px; | ||
} | ||
} | ||
|
||
.action { | ||
position: absolute; | ||
bottom: 0; | ||
right: 0; | ||
padding: 0 30px; | ||
} | ||
} |
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
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