-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #357 from dhis2/DHIS2-14656-small-improvements
* fix(edit de): allow removing nested values * fix(searchable single selects): add posibility to deselect * fix(color and icon picker): add remove icon btn & adjust styles according to specs * feat(de form): add aggregation level intro text * feat(de edit and new): handle loading and error states correctly * fix(searchable single selects): use old-app default labels * fix(form): fix render 0 when empty custom attributes * feat(custom attributes): add "No value" option to optionset attributes * fix(de form fields): make text translatable * fix(custom attributes optionsets): add no-value-option only when not required
- Loading branch information
Showing
19 changed files
with
237 additions
and
211 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
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,41 @@ | ||
export const AVAILABLE_COLORS = [ | ||
[ | ||
'#ffcdd2', | ||
'#e57373', | ||
'#d32f2f', | ||
'#f06292', | ||
'#c2185b', | ||
'#880e4f', | ||
'#f50057', | ||
], | ||
[ | ||
'#e1bee7', | ||
'#ba68c8', | ||
'#8e24aa', | ||
'#aa00ff', | ||
'#7e57c2', | ||
'#4527a0', | ||
'#7c4dff', | ||
'#6200ea', | ||
], | ||
['#c5cae9', '#7986cb', '#3949ab', '#304ffe'], | ||
['#e3f2fd', '#64b5f6', '#1976d2', '#0288d1'], | ||
['#40c4ff', '#00b0ff', '#80deea'], | ||
['#00acc1', '#00838f', '#006064'], | ||
['#e0f2f1', '#80cbc4', '#00695c', '#64ffda'], | ||
['#c8e6c9', '#66bb6a', '#2e7d32', '#1b5e20'], | ||
['#00e676', '#aed581', '#689f38', '#33691e'], | ||
['#76ff03', '#64dd17', '#cddc39', '#9e9d24', '#827717'], | ||
[ | ||
'#fff9c4', | ||
'#fbc02d', | ||
'#f57f17', | ||
'#ffff00', | ||
'#ffcc80', | ||
'#ffccbc', | ||
'#ffab91', | ||
], | ||
['#bcaaa4', '#8d6e63', '#4e342e'], | ||
['#fafafa', '#bdbdbd', '#757575', '#424242'], | ||
['#cfd8dc', '#b0bec5', '#607d8b', '#37474f'], | ||
] |
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.