This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FLOW-808 FLOW-809 FLOW-804 bug fixes (#86)
* FLOW-808 FLOW-809 FLOW-804 bug fixes * FLOW-808 readme updated
- Loading branch information
1 parent
1004329
commit 1f0fc2d
Showing
39 changed files
with
4,767 additions
and
4,606 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,82 @@ | ||
@import "./../../mixins/scss/mixins"; | ||
|
||
$states: ( | ||
"default": ( | ||
"color": var(--color-surface-tertiary), | ||
), | ||
"primary": ( | ||
"color": var(--color-primary-default), | ||
), | ||
"success": ( | ||
"color": var(--color-success-default), | ||
), | ||
"warning": ( | ||
"color": var(--color-warning-default), | ||
), | ||
"danger": ( | ||
"color": var(--color-danger-default), | ||
), | ||
"default": ( | ||
"color": var(--color-surface-tertiary) | ||
), | ||
"primary": ( | ||
"color": var(--color-primary-default) | ||
), | ||
"success": ( | ||
"color": var(--color-success-default) | ||
), | ||
"warning": ( | ||
"color": var(--color-warning-default) | ||
), | ||
"danger": ( | ||
"color": var(--color-danger-default) | ||
) | ||
); | ||
|
||
$sizes: ( | ||
"medium": 16px, | ||
"small": 12px, | ||
"medium": 16px, | ||
"small": 12px | ||
); | ||
|
||
:host { | ||
.f-field-wrapper { | ||
overflow: visible; | ||
.f-field { | ||
@include base(); | ||
display: flex; | ||
gap: 12px; | ||
flex: 1 1; | ||
flex-direction: column; | ||
width: 100%; | ||
height: 100%; | ||
.f-field-wrapper { | ||
overflow: visible; | ||
.f-field { | ||
@include base(); | ||
display: flex; | ||
gap: 12px; | ||
flex: 1 1; | ||
flex-direction: column; | ||
width: 100%; | ||
height: 100%; | ||
|
||
&[validation-state="danger"] { | ||
--color-subtext-default: var(--color-danger-default) !important; | ||
--color-input-default: var(--color-danger-default) !important; | ||
--color-input-border-default: var(--color-danger-default) !important; | ||
} | ||
&[validation-state="danger"] { | ||
--color-subtext-default: var(--color-danger-default) !important; | ||
--color-input-default: var(--color-danger-default) !important; | ||
--color-input-border-default: var(--color-danger-default) !important; | ||
} | ||
|
||
@each $state, $value in $states { | ||
&[state^="#{$state}"] { | ||
// include mixin for inheritance rules | ||
@include subtext-color($state); | ||
@include input-color($state); | ||
} | ||
} | ||
@each $state, $value in $states { | ||
&[state^="#{$state}"] { | ||
// include mixin for inheritance rules | ||
@include subtext-color($state); | ||
@include input-color($state); | ||
} | ||
} | ||
|
||
@each $size, $value in $sizes { | ||
&[size="#{$size}"] { | ||
@include inherit-size($size); | ||
} | ||
} | ||
@each $size, $value in $sizes { | ||
&[size="#{$size}"] { | ||
@include inherit-size($size); | ||
} | ||
} | ||
|
||
&[variant="inline"] { | ||
display: inline-flex; | ||
flex-direction: row; | ||
width: fit-content; | ||
gap: 12px; | ||
} | ||
&[variant="inline"] { | ||
display: inline-flex; | ||
flex-direction: row; | ||
width: fit-content; | ||
gap: 12px; | ||
} | ||
|
||
&[disabled] { | ||
@include disabled(); | ||
} | ||
} | ||
} | ||
&[disabled] { | ||
@include disabled(); | ||
} | ||
} | ||
} | ||
} | ||
|
||
f-field { | ||
width: 100%; | ||
&[variant="inline"] { | ||
flex: 0 0 auto; | ||
width: fit-content; | ||
} | ||
// flex: 1 0 auto; | ||
width: 100%; | ||
&[variant="inline"] { | ||
flex: 0 0 auto; | ||
width: fit-content; | ||
} | ||
&[disabled] { | ||
@include disabled(); | ||
} | ||
// flex: 1 0 auto; | ||
} |
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
Oops, something went wrong.