-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new trigger * add `subtitle` in ConceptLabels to override some title * refine new css of Trigger * fix an unsafe prop visit * fix eslint import path * move styles to 'triggerStyles.ts' * use lodash.get in Trigger.tsx * add subtitle in form editor (#1662) * Final changes * Remove unnecessary guard * enable debug when running tests * fix ci: BreadCrumb * fix ci: CreateNewBot * revert BreadCrumb * delete data.json before each e2e test * More labeling * Fix e2e test * fix visual designer spec * use findAllBy for breadcrumb spec sometimes more than one breadcrumb is found. this will use the last one found * use debug logger * pipe server output to log file and print after tests are run * fix up e2e script * run headless * pipe server logs to file * only invoke cleanup function once * fix visual designer spec again * display server logs * add more debug logging * always print e2e logs * Base leileizh's e2e fixes * update the node env
- Loading branch information
Showing
24 changed files
with
280 additions
and
128 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
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
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
43 changes: 43 additions & 0 deletions
43
Composer/packages/extensions/visual-designer/src/components/nodes/triggerStyles.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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License | ||
|
||
import { TriggerSize } from '../../constants/ElementSizes'; | ||
|
||
export const triggerContainerStyle: any = { | ||
...TriggerSize, | ||
display: 'flex', | ||
flexDirection: 'row', | ||
justifyContent: 'center', | ||
alignItems: 'flex-end', | ||
paddingBottom: '5px', | ||
boxSizing: 'border-box', | ||
}; | ||
|
||
export const triggerContentStyle: any = { | ||
wordBreak: 'break-all', | ||
display: 'flex', | ||
flexDirection: 'column', | ||
alignItems: 'center', | ||
}; | ||
|
||
export const titleStyle: any = { | ||
whiteSpace: 'nowrap', | ||
color: '#333333', | ||
fontFamily: 'Segoe UI', | ||
fontSize: '18px', | ||
lineHeight: '24px', | ||
fontWeight: 600, | ||
}; | ||
|
||
export const subtitleStyle: any = { | ||
whiteSpace: 'nowrap', | ||
color: '#4f4f4f', | ||
fontFamily: 'Segoe UI', | ||
fontSize: '12px', | ||
lineHeight: '14px', | ||
}; | ||
|
||
export const triggerIconStyle = { | ||
lineHeight: '24px', | ||
marginRight: '5px', | ||
}; |
Oops, something went wrong.