-
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.
* Update validation and choice array ui * Updated string array * Updated regex pattern * Updated array styles * Style cleanup * Fixed string array test * Fixed ObjectArray tests * Updated request header object * Small change to custom object field * Fixed styling * Updated dialogs * Fix margin issue * Updated callback dependencies * Added error message * Updated callback dependencies * Fixed margin issues * Fixed styles * Fixed transparent border issue * Fixed border color
- Loading branch information
Showing
27 changed files
with
819 additions
and
332 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
138 changes: 125 additions & 13 deletions
138
Composer/packages/extensions/obiformeditor/src/Form/ArrayFieldTemplate/ObjectArray.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
72 changes: 61 additions & 11 deletions
72
Composer/packages/extensions/obiformeditor/src/Form/ArrayFieldTemplate/StringArray.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
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
48 changes: 48 additions & 0 deletions
48
Composer/packages/extensions/obiformeditor/src/Form/ArrayFieldTemplate/styles.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,48 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
import { css } from '@emotion/core'; | ||
import { NeutralColors } from '@uifabric/fluent-theme'; | ||
|
||
export const arrayItem = css` | ||
display: flex; | ||
padding: 7px 0; | ||
border-bottom: 1px solid ${NeutralColors.gray30}; | ||
&:first-type-of { | ||
border-top: 1px solid ${NeutralColors.gray30}; | ||
} | ||
`; | ||
|
||
export const arrayItemField = css` | ||
flex: 1; | ||
display: flex; | ||
`; | ||
|
||
export const arrayItemInputFieldContainer = css` | ||
display: flex; | ||
padding: 7px 0; | ||
`; | ||
|
||
export const objectItemLabel = css` | ||
border-bottom: 1px solid ${NeutralColors.gray30}; | ||
display: flex; | ||
`; | ||
|
||
export const objectItemValueLabel = css` | ||
color: ${NeutralColors.gray130}; | ||
flex: 1; | ||
font-size: 14px; | ||
margin-left: 7px; | ||
& + & { | ||
margin-left: 20px; | ||
} | ||
`; | ||
|
||
export const objectItemInputField = css` | ||
flex: 1; | ||
& + & { | ||
margin-left: 20px; | ||
} | ||
`; |
Oops, something went wrong.