Skip to content

Commit 3ff255f

Browse files
committed
caps > word caps
1 parent cff60fb commit 3ff255f

37 files changed

+369
-369
lines changed

src/components/drawing/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ drawing.font = function(s, font) {
5353

5454
var textcase2transformOptions = {
5555
normal: 'none',
56-
caps: 'capitalize',
5756
lower: 'lowercase',
58-
upper: 'uppercase'
57+
upper: 'uppercase',
58+
'word caps': 'capitalize'
5959
};
6060

6161
function textcase2transform(textcase) {

src/plots/font_attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module.exports = function(opts) {
102102
textcase: opts.noFontTextcase ? undefined : {
103103
editType: editType,
104104
valType: 'enumerated',
105-
values: ['normal', 'caps', 'upper', 'lower'],
105+
values: ['normal', 'word caps', 'upper', 'lower'],
106106
dflt: 'normal',
107107
description: [
108108
'Sets capitalization of text.',
719 Bytes
Loading

test/image/mocks/axes_custom-ticks_log-date.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}],
1515
"layout": {
1616
"font": {
17-
"textcase": "caps",
17+
"textcase": "word caps",
1818
"decorline": "under",
1919
"shadow": "auto"
2020
},

test/image/mocks/axes_labels.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
],
5454
"layout": {
5555
"font": {
56-
"textcase": "caps",
56+
"textcase": "word caps",
5757
"decorline": "under",
5858
"shadow": "auto"
5959
},

test/image/mocks/bar-colorscale-colorbar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
],
5656
"layout": {
5757
"font": {
58-
"textcase": "caps",
58+
"textcase": "word caps",
5959
"decorline": "under",
6060
"shadow": "auto"
6161
},

test/image/mocks/bar_annotation_max_range_eq_category.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"weight": "bold",
1212
"style": "italic",
1313
"variant": "small-caps",
14-
"textcase": "caps",
14+
"textcase": "word caps",
1515
"decorline": "under",
1616
"shadow": "auto"
1717
},

test/image/mocks/bar_attrs_group_norm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"layout":{
1818
"font": {
19-
"textcase": "caps",
19+
"textcase": "word caps",
2020
"decorline": "under",
2121
"shadow": "auto"
2222
},

test/image/mocks/bar_gantt-chart.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
],
7070
"layout": {
7171
"font": {
72-
"textcase": "caps",
72+
"textcase": "word caps",
7373
"decorline": "under",
7474
"shadow": "auto"
7575
},

test/image/mocks/benchmarks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
],
310310
"layout": {
311311
"font": {
312-
"textcase": "caps",
312+
"textcase": "word caps",
313313
"decorline": "under",
314314
"shadow": "auto"
315315
},

0 commit comments

Comments
 (0)