-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a new dist version 0.0.9 (#23)
Collecting: - Fix [Wizard] remove hasSteps logic (#18) - add isOpen prop in FormSelect (#19) - Impl [Models] Add `FormKeyValueTable` component (#20) - Update form.util.js (#21) - Fix [FormKeyValue] fix last row (#22)
- Loading branch information
1 parent
5a545d8
commit 8fe1c6f
Showing
14 changed files
with
724 additions
and
240 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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
|
||
|
||
Create a new dist version 0.0.8 | ||
Create a new dist version 0.0.9 | ||
|
||
Collecting: | ||
- Fix [Form] wizard and form input (#16) | ||
- Fix [Wizard] remove hasSteps logic (#18) | ||
- add isOpen prop in FormSelect (#19) | ||
- Impl [Models] Add `FormKeyValueTable` component (#20) | ||
- Update form.util.js (#21) | ||
- Fix [FormKeyValue] fix last row (#22) |
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
Large diffs are not rendered by default.
Oops, something went wrong.
117 changes: 117 additions & 0 deletions
117
dist/components/FormKeyValueTable/formKeyValueTable.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 |
---|---|---|
@@ -0,0 +1,117 @@ | ||
@import '../../scss/borders'; | ||
@import '../../scss/colors'; | ||
$actionsBlockWidth: 72px; | ||
|
||
.form-key-value-table { | ||
max-height: 280px; | ||
overflow: hidden; | ||
overflow-y: auto; | ||
background-color: $white; | ||
|
||
&__btn { | ||
visibility: hidden; | ||
} | ||
|
||
&__body { | ||
background-color: inherit; | ||
} | ||
|
||
.table-row { | ||
display: flex; | ||
align-items: center; | ||
min-height: 56px; | ||
border-bottom: $primaryBorder; | ||
|
||
&:not(.no-hover):hover { | ||
background-color: $alabaster; | ||
|
||
.key-value-table__btn { | ||
visibility: visible; | ||
} | ||
} | ||
|
||
&__last { | ||
position: sticky; | ||
bottom: 0; | ||
z-index: 3; | ||
background-color: inherit; | ||
border: 0; | ||
} | ||
} | ||
|
||
.table-row__header { | ||
position: sticky; | ||
top: 0; | ||
z-index: 3; | ||
font-weight: bold; | ||
font-size: 18px; | ||
background-color: inherit; | ||
border-top: $primaryBorder; | ||
} | ||
|
||
.table-cell { | ||
display: flex; | ||
align-items: center; | ||
padding: 8px 5px 8px 10px; | ||
color: $primary; | ||
} | ||
|
||
.table-cell__inputs-wrapper { | ||
display: flex; | ||
width: calc(100% - #{$actionsBlockWidth}); | ||
} | ||
|
||
.table-cell__key { | ||
width: 50%; | ||
} | ||
|
||
.table-cell__value { | ||
width: 50%; | ||
} | ||
|
||
.table-cell__actions { | ||
justify-content: flex-end; | ||
min-width: $actionsBlockWidth; | ||
padding: 0; | ||
|
||
& > * { | ||
margin: 0 5px 0 0; | ||
} | ||
} | ||
|
||
.add-new-item-btn { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
min-width: 44px; | ||
padding: 10px; | ||
color: $cornflowerBlue; | ||
font-size: 15px; | ||
line-height: 18px; | ||
|
||
svg { | ||
width: 20px; | ||
height: 20px; | ||
|
||
rect { | ||
fill: $cornflowerBlue; | ||
} | ||
} | ||
} | ||
|
||
.input-wrapper { | ||
width: 100%; | ||
|
||
.input { | ||
width: 100%; | ||
|
||
&_edit { | ||
border: $primaryBorder; | ||
} | ||
|
||
&_invalid { | ||
border: $errorBorder; | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
.wizard-form { | ||
&__with-steps { | ||
.modal__body { | ||
display: flex; | ||
flex-flow: row nowrap; | ||
overflow: hidden; | ||
padding-right: 0; | ||
} | ||
.modal__body { | ||
display: flex; | ||
flex-flow: row nowrap; | ||
overflow: hidden; | ||
padding-right: 0; | ||
} | ||
|
||
.wizard-form__content { | ||
overflow-y: auto; | ||
height: 100%; | ||
width: 100%; | ||
padding-right: 2rem; | ||
} | ||
.wizard-form__content { | ||
overflow-y: auto; | ||
height: 100%; | ||
width: 100%; | ||
padding-right: 2rem; | ||
} | ||
} |
Oops, something went wrong.