-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(input): Eva style #1343
Merged
Merged
feat(input): Eva style #1343
Changes from 63 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
93e29ef
refactor(theme): remove use of scss functions (#1256)
nnixaa 2cbb668
feat(theme): css variables support (#1257)
nnixaa f12f9db
chore: disable e2e on next branch (#1328)
yggg b9661ad
feat(icons): new `nb-icon` component, icons library, and @nebular/eva…
nnixaa 3f064e1
feat(theme): add eva palette
yggg d6a9cac
feat(theme): add file for helper classes
yggg 1cbfd0b
refactor(checkbox): add new mapping properties
yggg d5ed559
feat(checkbox): add primary, info and white statuses
yggg 749a9f9
feat(checkbox): add indeterminate input
yggg 660dd9c
feat(checkbox): add change output
yggg b91f294
test(checkbox): add checks for indeterminate and change events
yggg 4d37a4c
refactor(checkbox): use updated component properties for styles
yggg 2e626d5
refactor(theme): separate new theme tokens from old ones
yggg b5d89c1
refactor(theme): simplify font variables naming
yggg 49f491d
docs(checkbox): add new properties
yggg b695f7b
docs(checkbox): add indeterminate example
yggg 5648de1
docs(checkbox): add indeterminate and checked disable examples
yggg e01a338
docs(checkbox): add examples with new statuses
yggg 9c48227
docs(checkbox): make reset button visible
yggg 9145150
fix(theme): use proper values for typography settings
yggg 80c08b1
refactor(theme): move global styles to proper directory
yggg 33d77b8
fix(checkbox): use updated class names in tests and select
yggg d4f3625
refactor(theme): add statuses function
yggg b899234
fix(checkbox): ignore basic status
yggg db0a725
refactor(checkbox): extract statuses into enum
yggg 4b66e17
feat(theme): add new Eva theme variables
yggg 45bf9c7
refactor(checkbox): remove named inputs
yggg 4582518
refactor(checkbox): extract component statuses in shared type
yggg 3639476
refactor(theme): remove 'white' and 'basic' statuses
yggg e3f10b5
refactor(checkbox): use nb-icon
yggg f8987d4
test(checkbox): add icon module import
yggg f9c1b8d
test(checkbox): add mark touched test
yggg 83f7994
feat(checkbox): add state transition properties
yggg 178a0a5
feat(input): add eva input properties
yggg aa98c86
feat(input): add eva statuses
yggg f53c1af
refactor(theme): add common state animation property
yggg fe08fba
feat(input): add eva styling
yggg 855b507
refactor(input): use common classes format
yggg 7d1f6f4
fix(input): use proper color variable names
yggg 75f5ce0
docs(input): add new statuses examples
yggg aff5f34
docs(input): update properties reference
yggg dd2679b
refactor(input): use proper typography variables
yggg 831f224
refactor(input): remove basic status
yggg 8ab7b50
refactor(input): add statuses loop
yggg 03a3c39
refactor(input): move default variants into basic input styles
yggg e34a32b
fix(input): use existing text variable
yggg fe350a1
docs(input): update theme variables list
yggg cfa53f8
refactor(input): define size and shape types
yggg aa11ac3
refactor(input): remove named inputs
yggg e87b9db
refactor(component status): add no status value
yggg dc7b06a
refactor(input): remove unnecessary values from size and shape
yggg f972eab
test(input): use updated field styles
yggg 23645fc
docs(input): remove basic example
yggg 03680c4
Merge branch 'next' into feat/eva-input
yggg d2eb9e0
refactor: remove mixins duplicates
yggg 33ac068
feat: add shared component shape type
yggg 788ed6d
feat(input): use common size and shape
yggg d265dc3
refactor(input): move initial styling to default states
yggg 7cdaf4a
docs(input): update theme properties list
yggg 69c3580
feat(input): add border style theme property
yggg f86d70d
docs(input): add missing theme property
yggg c007df7
fix(bootstrap): remove bootstrap theme
yggg 736d965
test(input): check if size and shape set to default if no value passed
yggg 1b7213c
refactor: remove empty component status
yggg 829e8fd
test: remove checks for old status behavior
yggg fc72946
docs(input): put input in card
yggg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export type NbComponentShape = 'rectangle' | 'semi-round' | 'round'; |
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 +1 @@ | ||
export type NbComponentSize = '' | 'tiny' | 'small' | 'medium' | 'large' | 'giant'; | ||
export type NbComponentSize = 'tiny' | 'small' | 'medium' | 'large' | 'giant'; | ||
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* @license | ||
* Copyright Akveo. All Rights Reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*/ | ||
|
||
@mixin input-statuses() { | ||
@each $status in nb-get-statuses() { | ||
&:enabled.status-#{$status} { | ||
border-color: nb-theme(input-#{$status}-border-color); | ||
&:focus { | ||
border-color: nb-theme(input-#{$status}-hover-border-color); | ||
} | ||
&:hover { | ||
border-color: nb-theme(input-#{$status}-focus-border-color); | ||
} | ||
} | ||
} | ||
} |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so, no empty status after all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep. No more empty values for size, status or shape. Component which could has unset value, should add
''
as possible value. Like this:status: '' | NbComponentStatus;