Skip to content

Commit 3f530ff

Browse files
Update colors of the tick
1 parent 1d28eae commit 3f530ff

File tree

30 files changed

+45
-37
lines changed

30 files changed

+45
-37
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@undp-data/undp-visualization-library",
3-
"version": "1.0.33",
3+
"version": "1.0.34",
44
"main": "./dist/index.cjs",
55
"module": "./dist/index.js",
66
"browser": "./dist/index.umd.js",
@@ -88,7 +88,7 @@
8888
"math-expression-evaluator": "^2.0.6",
8989
"papaparse": "^5.4.1",
9090
"pmtiles": "^3.0.6",
91-
"rc-slider": "^11.1.5",
91+
"rc-slider": "^11.1.8",
9292
"react-csv": "^2.2.2",
9393
"react-draggable": "^4.4.6",
9494
"react-select": "^5.8.0",

src/Components/ColorPalette/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export const UNDPColorModule = {
1111
'gray-300': '#EDEFF0',
1212
'gray-400': '#D4D6D8',
1313
'gray-500': '#A9B1B7',
14+
'gray-550': '#879099',
1415
'gray-600': '#55606E',
1516
'gray-700': '#232E3D',
1617
black: '#000000',
@@ -367,6 +368,7 @@ export const UNDPColorModule = {
367368
'gray-300': '#57606D',
368369
'gray-400': '#78808A',
369370
'gray-500': '#AAB1B6',
371+
'gray-550': '#AAB1B6',
370372
'gray-600': '#D4D6D8',
371373
'gray-700': '#EAEBEC',
372374
black: '#FFFFFF',

src/Components/Dashboard/GraphEl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2838,7 +2838,7 @@ function GraphEl(props: Props) {
28382838
ariaLabel: settings?.ariaLabel,
28392839
cardTemplate: settings?.cardTemplate,
28402840
cardBackgroundColor: settings?.cardBackgroundColor,
2841-
cardFilters: settings?.cardFilters,
2841+
cardFilters: settings?.cardFilters || [],
28422842
cardSortingOptions: settings?.cardSortingOptions,
28432843
cardSearchColumns: settings?.cardSearchColumns,
28442844
cardMinWidth: settings?.cardMinWidth,

src/Components/Graphs/BarGraph/HorizontalBarGraph/AnimatedBarChart/Graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export function Graph(props: Props) {
222222
? 'Noto Sans Hebrew, sans-serif'
223223
: 'Noto Sans Arabic, sans-serif'
224224
: 'ProximaNova, proxima-nova, Helvetica Neue, Roboto, sans-serif',
225-
fill: UNDPColorModule[mode || 'light'].grays['gray-500'],
225+
fill: UNDPColorModule[mode || 'light'].grays['gray-550'],
226226
}}
227227
>
228228
{numberFormattingFunction(d, prefix, suffix)}

src/Components/Graphs/BarGraph/HorizontalBarGraph/AnimatedGroupedBarGraph/Graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export function Graph(props: Props) {
206206
? 'Noto Sans Hebrew, sans-serif'
207207
: 'Noto Sans Arabic, sans-serif'
208208
: 'ProximaNova, proxima-nova, Helvetica Neue, Roboto, sans-serif',
209-
fill: UNDPColorModule[mode || 'light'].grays['gray-500'],
209+
fill: UNDPColorModule[mode || 'light'].grays['gray-550'],
210210
}}
211211
>
212212
{numberFormattingFunction(d, prefix, suffix)}

src/Components/Graphs/BarGraph/HorizontalBarGraph/AnimatedStackedBarChart/Graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export function Graph(props: Props) {
214214
? 'Noto Sans Hebrew, sans-serif'
215215
: 'Noto Sans Arabic, sans-serif'
216216
: 'ProximaNova, proxima-nova, Helvetica Neue, Roboto, sans-serif',
217-
fill: UNDPColorModule[mode || 'light'].grays['gray-500'],
217+
fill: UNDPColorModule[mode || 'light'].grays['gray-550'],
218218
}}
219219
>
220220
{numberFormattingFunction(d, prefix, suffix)}

src/Components/Graphs/BarGraph/HorizontalBarGraph/GroupedBarGraph/Graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export function Graph(props: Props) {
178178
? 'Noto Sans Hebrew, sans-serif'
179179
: 'Noto Sans Arabic, sans-serif'
180180
: 'ProximaNova, proxima-nova, Helvetica Neue, Roboto, sans-serif',
181-
fill: UNDPColorModule[mode || 'light'].grays['gray-500'],
181+
fill: UNDPColorModule[mode || 'light'].grays['gray-550'],
182182
}}
183183
>
184184
{numberFormattingFunction(d, prefix, suffix)}

src/Components/Graphs/BarGraph/HorizontalBarGraph/SimpleBarGraph/Graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export function Graph(props: Props) {
184184
? 'Noto Sans Hebrew, sans-serif'
185185
: 'Noto Sans Arabic, sans-serif'
186186
: 'ProximaNova, proxima-nova, Helvetica Neue, Roboto, sans-serif',
187-
fill: UNDPColorModule[mode || 'light'].grays['gray-500'],
187+
fill: UNDPColorModule[mode || 'light'].grays['gray-550'],
188188
}}
189189
>
190190
{numberFormattingFunction(d, prefix, suffix)}

src/Components/Graphs/BarGraph/HorizontalBarGraph/StackedBarGraph/Graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export function Graph(props: Props) {
163163
? 'Noto Sans Hebrew, sans-serif'
164164
: 'Noto Sans Arabic, sans-serif'
165165
: 'ProximaNova, proxima-nova, Helvetica Neue, Roboto, sans-serif',
166-
fill: UNDPColorModule[mode || 'light'].grays['gray-500'],
166+
fill: UNDPColorModule[mode || 'light'].grays['gray-550'],
167167
}}
168168
>
169169
{numberFormattingFunction(d, prefix, suffix)}

0 commit comments

Comments
 (0)