Skip to content
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(theme): form field component #2238

Merged
merged 22 commits into from
Feb 27, 2020
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6b5d34e
feat: add form field component
yggg Feb 18, 2020
8fc3802
refactor: rename start and end actions to prefix and suffix
yggg Feb 24, 2020
f0d4496
fix(button): make icon button same height as regular button
yggg Feb 24, 2020
ab73456
fix(button): make icon button square
yggg Feb 24, 2020
dd3532b
fix(button): icon button height
yggg Feb 25, 2020
28e13f0
feat(form field): make icon same size as button
yggg Feb 25, 2020
7a12cb7
feat(form field): add font weight theme property
yggg Feb 25, 2020
8242e20
docs(form field): update theme properties list
yggg Feb 25, 2020
40e3a3c
refactor(form field): compare all state properties
yggg Feb 25, 2020
4717801
refactor: add form field control contract to provide field
yggg Feb 27, 2020
d11d20a
refactor: add padding at form field component theme
yggg Feb 27, 2020
2ac7274
refactor: move form control state interface
yggg Feb 27, 2020
f41f873
refactor: remove unused property
yggg Feb 27, 2020
1dcc442
refactor: remove redundant functions
yggg Feb 27, 2020
dabe51f
refactor: add option to configure prefix and suffix support
yggg Feb 27, 2020
98ed191
docs: document form field
yggg Feb 27, 2020
0083776
fix: add addon classes only when addon shown
yggg Feb 27, 2020
3236d7e
refactor: remove unused import
yggg Feb 27, 2020
5dc82ac
refactor(select): remove unnecessary suffix styles
yggg Feb 27, 2020
9bf8dfd
fix(form control config): remove constructor parameters
yggg Feb 27, 2020
5fddae4
chore(spec): add missing constructor parameter
yggg Feb 27, 2020
67f1c73
chore(spec): add missing theme module import
yggg Feb 27, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs(form field): update theme properties list
  • Loading branch information
yggg committed Feb 25, 2020
commit 8242e20ffa892aca7ee1100c42b5739ed5d0dadb
20 changes: 20 additions & 0 deletions src/framework/theme/components/form-field/form-field.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,34 @@ function throwFormControlElementNotFound() {
* form-field-addon-disabled-text-color:
* form-field-addon-tiny-height:
* form-field-addon-tiny-width:
* form-field-addon-tiny-icon-size:
* form-field-addon-tiny-font-size:
* form-field-addon-tiny-line-height:
* form-field-addon-tiny-font-weight:
* form-field-addon-small-height:
* form-field-addon-small-width:
* form-field-addon-small-icon-size:
* form-field-addon-small-font-size:
* form-field-addon-small-line-height:
* form-field-addon-small-font-weight:
* form-field-addon-medium-height:
* form-field-addon-medium-width:
* form-field-addon-medium-icon-size:
* form-field-addon-medium-font-size:
* form-field-addon-medium-line-height:
* form-field-addon-medium-font-weight:
* form-field-addon-large-height:
* form-field-addon-large-width:
* form-field-addon-large-icon-size:
* form-field-addon-large-font-size:
* form-field-addon-large-line-height:
* form-field-addon-large-font-weight:
* form-field-addon-giant-height:
* form-field-addon-giant-width:
* form-field-addon-giant-icon-size:
* form-field-addon-giant-font-size:
* form-field-addon-giant-line-height:
* form-field-addon-giant-font-weight:
**/
@Component({
selector: 'nb-form-field',
Expand Down