-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Inspector Hybrid Field (#820)
* feat: Use new dropdown UI component * feat: Update Option component to have a minWidth based on the options * fix: Remove unused method * feat: Add HybridField component * fix: Update TextField type prop * feat: Update dropdown styles * fix: Option Styles * fix: Dropdown dynamic width * fix: Dropdown width * fix: Dropdown disabled and empty styles
- Loading branch information
Showing
14 changed files
with
216 additions
and
38 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
20 changes: 20 additions & 0 deletions
20
packages/@dcl/inspector/src/components/ui/HybridField/HybridField.css
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,20 @@ | ||
.HybridField { | ||
display: flex; | ||
flex-direction: column; | ||
flex: 1; | ||
gap: 4px; | ||
} | ||
|
||
.HybridField .InputContainer { | ||
display: flex; | ||
align-items: center; | ||
flex-grow: 1; | ||
gap: 4px; | ||
} | ||
|
||
.HybridField .ErrorMessage { | ||
display: flex; | ||
align-items: center; | ||
gap: 4px; | ||
color: var(--error-main); | ||
} |
Oops, something went wrong.