@opendata-ai/openchart-core 9.7.0 → 9.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +33 -22
- package/dist/index.js +84 -54
- package/dist/index.js.map +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
- package/schema/chart.schema.json +9 -5
- package/schema/table.schema.json +9 -5
- package/schema/vizspec.schema.json +9 -5
package/schema/table.schema.json
CHANGED
|
@@ -664,6 +664,10 @@
|
|
|
664
664
|
},
|
|
665
665
|
"description": "Sequential palettes keyed by name. Each is an array of color stops."
|
|
666
666
|
},
|
|
667
|
+
"defaultSequential": {
|
|
668
|
+
"type": "string",
|
|
669
|
+
"description": "Default sequential ramp key. Unknown or omitted names use the first merged ramp."
|
|
670
|
+
},
|
|
667
671
|
"diverging": {
|
|
668
672
|
"type": "object",
|
|
669
673
|
"additionalProperties": {
|
|
@@ -967,7 +971,7 @@
|
|
|
967
971
|
},
|
|
968
972
|
"width": {
|
|
969
973
|
"type": "number",
|
|
970
|
-
"description": "Display width in pixels; omitted
|
|
974
|
+
"description": "Display width in pixels. When set it is used as authored (the image letterboxes inside height x width); omitted, it derives from the source aspect ratio."
|
|
971
975
|
},
|
|
972
976
|
"position": {
|
|
973
977
|
"$ref": "#/definitions/LogoPosition",
|
|
@@ -1026,13 +1030,13 @@
|
|
|
1026
1030
|
"type": "string",
|
|
1027
1031
|
"description": "Font family override for this chrome element."
|
|
1028
1032
|
},
|
|
1029
|
-
"
|
|
1030
|
-
"$ref": "#/definitions/
|
|
1033
|
+
"align": {
|
|
1034
|
+
"$ref": "#/definitions/ChromeAlign",
|
|
1031
1035
|
"description": "Horizontal alignment of this chrome element."
|
|
1032
1036
|
},
|
|
1033
1037
|
"prefix": {
|
|
1034
1038
|
"type": "string",
|
|
1035
|
-
"description": "Text prepended for display while preserving the authored text."
|
|
1039
|
+
"description": "Text prepended for display while preserving the authored text. Applies to any chrome element."
|
|
1036
1040
|
},
|
|
1037
1041
|
"color": {
|
|
1038
1042
|
"$ref": "#/definitions/TokenValue",
|
|
@@ -1054,7 +1058,7 @@
|
|
|
1054
1058
|
"additionalProperties": false,
|
|
1055
1059
|
"description": "Per-element chrome theme typography controls."
|
|
1056
1060
|
},
|
|
1057
|
-
"
|
|
1061
|
+
"ChromeAlign": {
|
|
1058
1062
|
"type": "string",
|
|
1059
1063
|
"enum": [
|
|
1060
1064
|
"left",
|
|
@@ -4865,6 +4865,10 @@
|
|
|
4865
4865
|
},
|
|
4866
4866
|
"description": "Sequential palettes keyed by name. Each is an array of color stops."
|
|
4867
4867
|
},
|
|
4868
|
+
"defaultSequential": {
|
|
4869
|
+
"type": "string",
|
|
4870
|
+
"description": "Default sequential ramp key. Unknown or omitted names use the first merged ramp."
|
|
4871
|
+
},
|
|
4868
4872
|
"diverging": {
|
|
4869
4873
|
"type": "object",
|
|
4870
4874
|
"additionalProperties": {
|
|
@@ -5168,7 +5172,7 @@
|
|
|
5168
5172
|
},
|
|
5169
5173
|
"width": {
|
|
5170
5174
|
"type": "number",
|
|
5171
|
-
"description": "Display width in pixels; omitted
|
|
5175
|
+
"description": "Display width in pixels. When set it is used as authored (the image letterboxes inside height x width); omitted, it derives from the source aspect ratio."
|
|
5172
5176
|
},
|
|
5173
5177
|
"position": {
|
|
5174
5178
|
"$ref": "#/definitions/LogoPosition",
|
|
@@ -5227,13 +5231,13 @@
|
|
|
5227
5231
|
"type": "string",
|
|
5228
5232
|
"description": "Font family override for this chrome element."
|
|
5229
5233
|
},
|
|
5230
|
-
"
|
|
5231
|
-
"$ref": "#/definitions/
|
|
5234
|
+
"align": {
|
|
5235
|
+
"$ref": "#/definitions/ChromeAlign",
|
|
5232
5236
|
"description": "Horizontal alignment of this chrome element."
|
|
5233
5237
|
},
|
|
5234
5238
|
"prefix": {
|
|
5235
5239
|
"type": "string",
|
|
5236
|
-
"description": "Text prepended for display while preserving the authored text."
|
|
5240
|
+
"description": "Text prepended for display while preserving the authored text. Applies to any chrome element."
|
|
5237
5241
|
},
|
|
5238
5242
|
"color": {
|
|
5239
5243
|
"$ref": "#/definitions/TokenValue",
|
|
@@ -5255,7 +5259,7 @@
|
|
|
5255
5259
|
"additionalProperties": false,
|
|
5256
5260
|
"description": "Per-element chrome theme typography controls."
|
|
5257
5261
|
},
|
|
5258
|
-
"
|
|
5262
|
+
"ChromeAlign": {
|
|
5259
5263
|
"type": "string",
|
|
5260
5264
|
"enum": [
|
|
5261
5265
|
"left",
|