@astrato-io/visualizations 0.11.0 → 0.12.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.
Files changed (135) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +129 -4
  3. package/VISUALIZATION_DEFINITIONS.md +3 -1
  4. package/chunks/{Button-CPG4WX8X.js → Button-CQdoKSXX.js} +3 -3
  5. package/chunks/{CircularProgress-PSLW8HmD.js → CircularProgress-DpT1lwWw.js} +18 -18
  6. package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
  7. package/chunks/{LinearProgress-KQ2EQlGL.js → LinearProgress-B7S0Q26A.js} +8 -8
  8. package/chunks/{MenuOption-B-6K7kks.js → MenuOption-DpKFJxmo.js} +133 -133
  9. package/chunks/{Title-BmvwZYkh.js → Title-m5damhc0.js} +10 -10
  10. package/chunks/{_createAggregator-CFmH6gUN.js → _createAggregator-BA8_iU9q.js} +7 -7
  11. package/chunks/{app-filter-bar.compiler-BY5-T16I.js → app-filter-bar.compiler--T4Qz3Wu.js} +3 -3
  12. package/chunks/{bar-layout-BNou0dZF.js → bar-layout-OFhxn2Go.js} +2 -2
  13. package/chunks/{bar.compiler-BkhO7sDd.js → bar.compiler-hWZBYYvV.js} +62 -62
  14. package/chunks/{builder-CNjuqD2z.js → builder-7w_bgV_h.js} +31 -31
  15. package/chunks/{coloring-BOiP0rmn.js → coloring-Cd6p0GQJ.js} +88 -83
  16. package/chunks/{createSimplePaletteValueFilter-BkgQ7MFE.js → createSimplePaletteValueFilter-CiJT8s1s.js} +55 -55
  17. package/chunks/defaults-CMFqXvaJ.js +3 -0
  18. package/chunks/{definitions-AS9GcavE.js → definitions-DTauTjIX.js} +412 -406
  19. package/chunks/{escobar-cQ1eQ64G.js → escobar-CMvphKSK.js} +4787 -4717
  20. package/chunks/{extend-preset-BlCbcXKR.js → extend-preset-BpXttHFk.js} +371 -372
  21. package/chunks/{filter.compiler-CI7dDNM1.js → filter.compiler-DOGFweJz.js} +4 -4
  22. package/chunks/{filtering-Dwi7hDPZ.js → filtering-NOnDcGbo.js} +183 -183
  23. package/chunks/handlers-CyYFSfhM.js +15393 -0
  24. package/chunks/{icon-picker-styles-CBlxEu3s.js → icon-picker-styles-DuSERhBU.js} +2 -2
  25. package/chunks/{isEqual-BdHo6wqq.js → isEqual-4f8yUUtC.js} +1 -1
  26. package/chunks/{isFocusVisible-C1nlVUwL.js → isFocusVisible-Czm70MGc.js} +1 -1
  27. package/chunks/line.compiler-B-4H55_T.js +203 -0
  28. package/chunks/{logger-Bc-DqDM_.js → logger-Cioob-QV.js} +71 -70
  29. package/chunks/{map.compiler-CRO6XpdI.js → map.compiler-Cv5V6EhF.js} +13 -13
  30. package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
  31. package/chunks/{measure-format-default-B6ghxih7.js → measure-format-default-B_kuGSzi.js} +7 -3
  32. package/chunks/{metadata-CtkvZEhS.js → metadata-dGSe5UWy.js} +5 -5
  33. package/chunks/{number.compiler-kV4lobCZ.js → number.compiler-D7nMcEMv.js} +8 -8
  34. package/chunks/{operations-COl9wgqi.js → operations-CgfehCad.js} +11462 -11223
  35. package/chunks/{range-CMJ5yc5Z.js → range-Dmwp9kVB.js} +2 -2
  36. package/chunks/{react-dom-BjsCbYHq.js → react-dom-CfuL-m78.js} +24 -24
  37. package/chunks/{render-wrappers-DFHi3Wkr.js → render-wrappers--g-zPFBW.js} +1 -1
  38. package/chunks/{requirements-C5YLmHKe.js → requirements-DHayNJ2C.js} +83 -83
  39. package/chunks/{shared-DyqxOie0.js → shared-DoEN9nNM.js} +282 -277
  40. package/chunks/standalone-B3hRGgYi.js +773 -0
  41. package/chunks/{standalone-BYK2U0Vd.js → standalone-BPNXgFft.js} +380 -380
  42. package/chunks/standalone-BPTT8XEu.js +424 -0
  43. package/chunks/standalone-BgAeHROc.js +2 -0
  44. package/chunks/{standalone-I5kRIsp8.js → standalone-BkQxag7M.js} +81 -81
  45. package/chunks/{standalone-DYVYccmY.js → standalone-Bxa3x6dg.js} +913 -913
  46. package/chunks/standalone-C0If-V6O.js +773 -0
  47. package/chunks/standalone-C1TOyflX.js +287 -0
  48. package/chunks/{standalone-DaNxWIKn.js → standalone-CE5PwJN0.js} +21 -21
  49. package/chunks/{standalone-K2OvRAQM.js → standalone-CG7IFN6n.js} +121 -121
  50. package/chunks/{standalone-Db_HNuWx.js → standalone-CKlgGu80.js} +44 -44
  51. package/chunks/standalone-CNf-oA2U.js +355 -0
  52. package/chunks/{standalone-9jrQ3zJT.js → standalone-CXPdWFlw.js} +10 -10
  53. package/chunks/{standalone-c4CPN6ug.js → standalone-Cf0_5tbu.js} +5783 -5785
  54. package/chunks/{standalone-Bp4G3MDx.js → standalone-DMi4-Vp3.js} +118 -118
  55. package/chunks/{standalone-BrjtMIdd.js → standalone-DTEX67C8.js} +108 -108
  56. package/chunks/{standalone-iOnJhCvA.js → standalone-DU46-kYv.js} +181 -181
  57. package/chunks/standalone-Dbn3jSH6.js +690 -0
  58. package/chunks/{standalone-CS5VGoja.js → standalone-DdcAL_k_.js} +833 -837
  59. package/chunks/standalone-DwCIA0UG.js +1057 -0
  60. package/chunks/standalone-Dz13tl3P.js +357 -0
  61. package/chunks/{standalone-CIjNYyya.js → standalone-H9GFzFk_.js} +937 -938
  62. package/chunks/{standalone-ChfEHb28.js → standalone-MduR0qre.js} +1279 -1279
  63. package/chunks/standalone-ejTz66P3.js +2 -0
  64. package/chunks/{standalone-D9k5SCd8.js → standalone-keB-0wK3.js} +189 -189
  65. package/chunks/{standalone-Bsfz5vnJ.js → standalone-nnkuQd0K.js} +35 -35
  66. package/chunks/standalone-vGGR6Vcn.js +6 -0
  67. package/chunks/{table.compiler-CMH_dtYs.js → table.compiler-mS4UvhLT.js} +12 -12
  68. package/chunks/theme-MYp6Rj1J.js +232 -0
  69. package/chunks/{useFieldName-BfxBzhhH.js → useFieldName-AdSak4Ch.js} +1 -1
  70. package/chunks/{utils-BdJrEeIQ.js → utils-CUKgR7it.js} +3265 -3133
  71. package/chunks/{view-Q-_XIrWE.js → view-BeYwpcVD.js} +478 -478
  72. package/chunks/{visualization-filters-BwS0xUqs.js → visualization-filters-B9qik5_K.js} +2706 -2384
  73. package/chunks/{with-html-element-D_ooGNWI.js → with-html-element-1GSeLT59.js} +3888 -3870
  74. package/definitions.js +2 -2
  75. package/docs/operations/astrato-app-filter-bar.md +1 -1
  76. package/docs/operations/bar.md +115 -32
  77. package/docs/operations/combo.md +50 -17
  78. package/docs/operations/date-picker.md +4 -4
  79. package/docs/operations/distribution-gauge.md +18 -16
  80. package/docs/operations/dot.md +107 -24
  81. package/docs/operations/filter.md +10 -8
  82. package/docs/operations/gauge.md +20 -18
  83. package/docs/operations/heatMap.md +73 -21
  84. package/docs/operations/histogram.md +45 -12
  85. package/docs/operations/iframe.md +1 -1
  86. package/docs/operations/image.md +1 -1
  87. package/docs/operations/index.md +11 -11
  88. package/docs/operations/line.md +57 -24
  89. package/docs/operations/map.md +16 -16
  90. package/docs/operations/number.md +10 -9
  91. package/docs/operations/pie.md +23 -21
  92. package/docs/operations/radar.md +13 -11
  93. package/docs/operations/sankey.md +19 -17
  94. package/docs/operations/scatter.md +111 -28
  95. package/docs/operations/shape.md +5 -5
  96. package/docs/operations/simpleTextObject.md +4 -4
  97. package/docs/operations/slider.md +1 -1
  98. package/docs/operations/table.md +27 -25
  99. package/docs/operations/tree.md +5 -3
  100. package/docs/operations/treemap.md +70 -18
  101. package/docs/operations/waterfall.md +40 -7
  102. package/docs/operations/word-cloud.md +69 -17
  103. package/getters.js +2 -2
  104. package/index.js +474 -525
  105. package/metadata.js +2 -2
  106. package/operations.js +24 -17
  107. package/package.json +71 -72
  108. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1 -1
  109. package/src/definitions/model/definitions/schema-registry.d.ts +13 -12
  110. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +2 -2
  111. package/src/definitions/model/definitions/schemas/common.schema.d.ts +5 -4
  112. package/src/definitions/model/definitions/schemas/line.schema.d.ts +3 -2
  113. package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
  114. package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
  115. package/src/index.d.ts +1 -1
  116. package/src/operations/index.d.ts +11 -1
  117. package/src/types.d.ts +166 -1
  118. package/chunks/FieldTypeIcon-5k2bkqd0.js +0 -22
  119. package/chunks/category-axis-D1OVyMrr.js +0 -20
  120. package/chunks/color-rules-DYJL4fIW.js +0 -15
  121. package/chunks/color-settings-DJFoFTip.js +0 -5
  122. package/chunks/defaults-B5_8S-J-.js +0 -3
  123. package/chunks/handlers-C63NVo7i.js +0 -15433
  124. package/chunks/line.compiler-DCv3h42f.js +0 -198
  125. package/chunks/standalone-06i1wmIX.js +0 -6
  126. package/chunks/standalone-B6zUvxNQ.js +0 -357
  127. package/chunks/standalone-Be5APcVv.js +0 -762
  128. package/chunks/standalone-BuXpKMnc.js +0 -2
  129. package/chunks/standalone-CUGt2FUF.js +0 -2
  130. package/chunks/standalone-CnF2OYLQ.js +0 -355
  131. package/chunks/standalone-CznEEiq3.js +0 -422
  132. package/chunks/standalone-DcuE8KBa.js +0 -287
  133. package/chunks/standalone-pCrzBiTy.js +0 -773
  134. package/chunks/standalone-qrZaimgC.js +0 -689
  135. package/chunks/standalone-yqDJ8h3K.js +0 -1012
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `pie` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.11.0`.
5
+ Reference for `@astrato-io/visualizations@0.12.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -165,7 +165,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
165
165
  },
166
166
  "color": {
167
167
  "type": "string",
168
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
168
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
169
169
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
170
170
  },
171
171
  "operator": {
@@ -202,7 +202,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
202
202
  },
203
203
  "color": {
204
204
  "type": "string",
205
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
205
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
206
206
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
207
207
  },
208
208
  "operator": {
@@ -243,7 +243,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
243
243
  },
244
244
  "color": {
245
245
  "type": "string",
246
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
246
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
247
247
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
248
248
  },
249
249
  "operator": {
@@ -306,7 +306,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
306
306
  },
307
307
  "color": {
308
308
  "type": "string",
309
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
309
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
310
310
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
311
311
  },
312
312
  "operator": {
@@ -343,7 +343,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
343
343
  },
344
344
  "color": {
345
345
  "type": "string",
346
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
346
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
347
347
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
348
348
  },
349
349
  "operator": {
@@ -384,7 +384,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
384
384
  },
385
385
  "color": {
386
386
  "type": "string",
387
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
387
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
388
388
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
389
389
  },
390
390
  "operator": {
@@ -1653,13 +1653,13 @@ Set the color of pie slice borders
1653
1653
  "anyOf": [
1654
1654
  {
1655
1655
  "type": "string",
1656
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1656
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1657
1657
  },
1658
1658
  {
1659
1659
  "type": "null"
1660
1660
  }
1661
1661
  ],
1662
- "description": "Border color (hex, with optional alpha)",
1662
+ "description": "Border color (hex with optional alpha, or a theme color reference such as theme:primary)",
1663
1663
  "title": "Pie chart stroke color schema"
1664
1664
  }
1665
1665
  ```
@@ -1704,7 +1704,7 @@ Adjust the thickness of pie slice borders
1704
1704
 
1705
1705
  Chart palette
1706
1706
 
1707
- Apply an existing palette using a built-in palette name or a theme palette label like "theme palette 2". Built-in categorical palettes: astrato, classic, spectrum, flat, neon, instant, brewer, alternate, dark, bright. Built-in gradient palettes (gradient coloring): viridis, instant, coral, yellowred, greenblue, bluepurple, redpurple. Requires a palette-based coloring type. Your own colors are set with setCustomPaletteColors or setCustomGradientColors, on charts that offer them
1707
+ Apply an existing palette using a built-in palette name or a theme palette label like "theme palette 2". Built-in categorical palettes: astrato, classic, spectrum, flat, neon, instant, brewer, alternate, dark, bright. Built-in gradient palettes (gradient coloring): viridis, instant, coral, yellowred, greenblue, bluepurple, redpurple. Built-in diverging palettes (diverging gradient coloring): redblue, purplegreen, browngreen. Requires a palette-based coloring type. Your own colors are set with setCustomPaletteColors or setCustomGradientColors, on charts that offer them
1708
1708
 
1709
1709
  **Payload schema**
1710
1710
 
@@ -1731,13 +1731,13 @@ Set the base color for pie slices
1731
1731
  "anyOf": [
1732
1732
  {
1733
1733
  "type": "string",
1734
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1734
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1735
1735
  },
1736
1736
  {
1737
1737
  "type": "null"
1738
1738
  }
1739
1739
  ],
1740
- "description": "Color code (hex, with optional alpha)",
1740
+ "description": "Color code (hex with optional alpha, or a theme color reference such as theme:primary)",
1741
1741
  "title": "Coloring color schema"
1742
1742
  }
1743
1743
  ```
@@ -1780,7 +1780,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1780
1780
  },
1781
1781
  "color": {
1782
1782
  "type": "string",
1783
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1783
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1784
1784
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1785
1785
  },
1786
1786
  "operator": {
@@ -1826,7 +1826,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1826
1826
  },
1827
1827
  "color": {
1828
1828
  "type": "string",
1829
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1829
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1830
1830
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1831
1831
  },
1832
1832
  "operator": {
@@ -1867,7 +1867,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1867
1867
  },
1868
1868
  "color": {
1869
1869
  "type": "string",
1870
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1870
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1871
1871
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1872
1872
  },
1873
1873
  "operator": {
@@ -1958,7 +1958,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1958
1958
  },
1959
1959
  "color": {
1960
1960
  "type": "string",
1961
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1961
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1962
1962
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1963
1963
  },
1964
1964
  "operator": {
@@ -1995,7 +1995,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1995
1995
  },
1996
1996
  "color": {
1997
1997
  "type": "string",
1998
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1998
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1999
1999
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
2000
2000
  },
2001
2001
  "operator": {
@@ -2036,7 +2036,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
2036
2036
  },
2037
2037
  "color": {
2038
2038
  "type": "string",
2039
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
2039
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
2040
2040
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
2041
2041
  },
2042
2042
  "operator": {
@@ -2165,7 +2165,7 @@ Replace the whole custom categorical palette with a provided list of colors and
2165
2165
  "type": "array",
2166
2166
  "items": {
2167
2167
  "type": "string",
2168
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2168
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
2169
2169
  }
2170
2170
  }
2171
2171
  },
@@ -2262,6 +2262,7 @@ Set the display format type used by a dimension. This changes label formatting o
2262
2262
  "abbreviationNoDecimal",
2263
2263
  "abbreviation1Decimal",
2264
2264
  "abbreviation2Decimal",
2265
+ "abbreviationCompact",
2265
2266
  "percentageNoDecimal",
2266
2267
  "percentage1Decimal",
2267
2268
  "percentage2Decimal",
@@ -2513,7 +2514,7 @@ Change the color of legend text labels
2513
2514
  "anyOf": [
2514
2515
  {
2515
2516
  "type": "string",
2516
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2517
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
2517
2518
  },
2518
2519
  {
2519
2520
  "type": "null"
@@ -4586,6 +4587,7 @@ Set the format type used by a measure
4586
4587
  "abbreviationNoDecimal",
4587
4588
  "abbreviation1Decimal",
4588
4589
  "abbreviation2Decimal",
4590
+ "abbreviationCompact",
4589
4591
  "percentageNoDecimal",
4590
4592
  "percentage1Decimal",
4591
4593
  "percentage2Decimal",
@@ -4777,7 +4779,7 @@ Set the color of a pie measure label
4777
4779
  "anyOf": [
4778
4780
  {
4779
4781
  "type": "string",
4780
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
4782
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
4781
4783
  },
4782
4784
  {
4783
4785
  "type": "null"
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `radar` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.11.0`.
5
+ Reference for `@astrato-io/visualizations@0.12.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -125,7 +125,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
125
125
  },
126
126
  "color": {
127
127
  "type": "string",
128
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
128
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
129
129
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
130
130
  },
131
131
  "operator": {
@@ -162,7 +162,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
162
162
  },
163
163
  "color": {
164
164
  "type": "string",
165
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
165
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
166
166
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
167
167
  },
168
168
  "operator": {
@@ -203,7 +203,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
203
203
  },
204
204
  "color": {
205
205
  "type": "string",
206
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
206
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
207
207
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
208
208
  },
209
209
  "operator": {
@@ -1157,7 +1157,7 @@ Turn the chart animations on or off. They are on by default; the host can still
1157
1157
 
1158
1158
  Chart palette
1159
1159
 
1160
- Apply an existing palette using a built-in palette name or a theme palette label like "theme palette 2". Built-in categorical palettes: astrato, classic, spectrum, flat, neon, instant, brewer, alternate, dark, bright. Built-in gradient palettes (gradient coloring): viridis, instant, coral, yellowred, greenblue, bluepurple, redpurple. Requires a palette-based coloring type. Your own colors are set with setCustomPaletteColors or setCustomGradientColors, on charts that offer them
1160
+ Apply an existing palette using a built-in palette name or a theme palette label like "theme palette 2". Built-in categorical palettes: astrato, classic, spectrum, flat, neon, instant, brewer, alternate, dark, bright. Built-in gradient palettes (gradient coloring): viridis, instant, coral, yellowred, greenblue, bluepurple, redpurple. Built-in diverging palettes (diverging gradient coloring): redblue, purplegreen, browngreen. Requires a palette-based coloring type. Your own colors are set with setCustomPaletteColors or setCustomGradientColors, on charts that offer them
1161
1161
 
1162
1162
  **Payload schema**
1163
1163
 
@@ -1182,7 +1182,7 @@ Set the single color used by the chart
1182
1182
  {
1183
1183
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1184
1184
  "type": "string",
1185
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1185
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1186
1186
  "title": "Coloring color schema"
1187
1187
  }
1188
1188
  ```
@@ -1225,7 +1225,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1225
1225
  },
1226
1226
  "color": {
1227
1227
  "type": "string",
1228
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1228
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1229
1229
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1230
1230
  },
1231
1231
  "operator": {
@@ -1271,7 +1271,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1271
1271
  },
1272
1272
  "color": {
1273
1273
  "type": "string",
1274
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1274
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1275
1275
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1276
1276
  },
1277
1277
  "operator": {
@@ -1312,7 +1312,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1312
1312
  },
1313
1313
  "color": {
1314
1314
  "type": "string",
1315
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1315
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1316
1316
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1317
1317
  },
1318
1318
  "operator": {
@@ -1417,7 +1417,7 @@ Replace the whole custom categorical palette with a provided list of colors and
1417
1417
  "type": "array",
1418
1418
  "items": {
1419
1419
  "type": "string",
1420
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1420
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1421
1421
  }
1422
1422
  }
1423
1423
  },
@@ -1514,6 +1514,7 @@ Set the display format type used by a dimension. This changes label formatting o
1514
1514
  "abbreviationNoDecimal",
1515
1515
  "abbreviation1Decimal",
1516
1516
  "abbreviation2Decimal",
1517
+ "abbreviationCompact",
1517
1518
  "percentageNoDecimal",
1518
1519
  "percentage1Decimal",
1519
1520
  "percentage2Decimal",
@@ -1733,7 +1734,7 @@ Change the color of legend text labels
1733
1734
  "anyOf": [
1734
1735
  {
1735
1736
  "type": "string",
1736
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1737
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1737
1738
  },
1738
1739
  {
1739
1740
  "type": "null"
@@ -3806,6 +3807,7 @@ Set the format type used by a measure
3806
3807
  "abbreviationNoDecimal",
3807
3808
  "abbreviation1Decimal",
3808
3809
  "abbreviation2Decimal",
3810
+ "abbreviationCompact",
3809
3811
  "percentageNoDecimal",
3810
3812
  "percentage1Decimal",
3811
3813
  "percentage2Decimal",
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `sankey` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.11.0`.
5
+ Reference for `@astrato-io/visualizations@0.12.0`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -93,7 +93,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
93
93
  },
94
94
  "color": {
95
95
  "type": "string",
96
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
96
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
97
97
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
98
98
  },
99
99
  "operator": {
@@ -130,7 +130,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
130
130
  },
131
131
  "color": {
132
132
  "type": "string",
133
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
133
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
134
134
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
135
135
  },
136
136
  "operator": {
@@ -171,7 +171,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
171
171
  },
172
172
  "color": {
173
173
  "type": "string",
174
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
174
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
175
175
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
176
176
  },
177
177
  "operator": {
@@ -234,7 +234,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
234
234
  },
235
235
  "color": {
236
236
  "type": "string",
237
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
237
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
238
238
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
239
239
  },
240
240
  "operator": {
@@ -271,7 +271,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
271
271
  },
272
272
  "color": {
273
273
  "type": "string",
274
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
274
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
275
275
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
276
276
  },
277
277
  "operator": {
@@ -312,7 +312,7 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
312
312
  },
313
313
  "color": {
314
314
  "type": "string",
315
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
315
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
316
316
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
317
317
  },
318
318
  "operator": {
@@ -1086,7 +1086,7 @@ Turn the chart animations on or off. They are on by default; the host can still
1086
1086
 
1087
1087
  Chart palette
1088
1088
 
1089
- Apply an existing palette using a built-in palette name or a theme palette label like "theme palette 2". Built-in categorical palettes: astrato, classic, spectrum, flat, neon, instant, brewer, alternate, dark, bright. Built-in gradient palettes (gradient coloring): viridis, instant, coral, yellowred, greenblue, bluepurple, redpurple. Requires a palette-based coloring type. Your own colors are set with setCustomPaletteColors or setCustomGradientColors, on charts that offer them
1089
+ Apply an existing palette using a built-in palette name or a theme palette label like "theme palette 2". Built-in categorical palettes: astrato, classic, spectrum, flat, neon, instant, brewer, alternate, dark, bright. Built-in gradient palettes (gradient coloring): viridis, instant, coral, yellowred, greenblue, bluepurple, redpurple. Built-in diverging palettes (diverging gradient coloring): redblue, purplegreen, browngreen. Requires a palette-based coloring type. Your own colors are set with setCustomPaletteColors or setCustomGradientColors, on charts that offer them
1090
1090
 
1091
1091
  **Payload schema**
1092
1092
 
@@ -1111,7 +1111,7 @@ Set the single color used by the chart
1111
1111
  {
1112
1112
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1113
1113
  "type": "string",
1114
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1114
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1115
1115
  "title": "Coloring color schema"
1116
1116
  }
1117
1117
  ```
@@ -1154,7 +1154,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1154
1154
  },
1155
1155
  "color": {
1156
1156
  "type": "string",
1157
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1157
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1158
1158
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1159
1159
  },
1160
1160
  "operator": {
@@ -1200,7 +1200,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1200
1200
  },
1201
1201
  "color": {
1202
1202
  "type": "string",
1203
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1203
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1204
1204
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1205
1205
  },
1206
1206
  "operator": {
@@ -1241,7 +1241,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1241
1241
  },
1242
1242
  "color": {
1243
1243
  "type": "string",
1244
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1244
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1245
1245
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1246
1246
  },
1247
1247
  "operator": {
@@ -1315,7 +1315,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1315
1315
  },
1316
1316
  "color": {
1317
1317
  "type": "string",
1318
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1318
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1319
1319
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1320
1320
  },
1321
1321
  "operator": {
@@ -1352,7 +1352,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1352
1352
  },
1353
1353
  "color": {
1354
1354
  "type": "string",
1355
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1355
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1356
1356
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1357
1357
  },
1358
1358
  "operator": {
@@ -1393,7 +1393,7 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1393
1393
  },
1394
1394
  "color": {
1395
1395
  "type": "string",
1396
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1396
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$",
1397
1397
  "description": "Color applied when the condition matches, as #RRGGBB or #RRGGBBAA"
1398
1398
  },
1399
1399
  "operator": {
@@ -1464,7 +1464,7 @@ Replace the whole custom categorical palette with a provided list of colors and
1464
1464
  "type": "array",
1465
1465
  "items": {
1466
1466
  "type": "string",
1467
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1467
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
1468
1468
  }
1469
1469
  }
1470
1470
  },
@@ -1561,6 +1561,7 @@ Set the display format type used by a dimension. This changes label formatting o
1561
1561
  "abbreviationNoDecimal",
1562
1562
  "abbreviation1Decimal",
1563
1563
  "abbreviation2Decimal",
1564
+ "abbreviationCompact",
1564
1565
  "percentageNoDecimal",
1565
1566
  "percentage1Decimal",
1566
1567
  "percentage2Decimal",
@@ -2167,6 +2168,7 @@ Set the format type used by a measure
2167
2168
  "abbreviationNoDecimal",
2168
2169
  "abbreviation1Decimal",
2169
2170
  "abbreviation2Decimal",
2171
+ "abbreviationCompact",
2170
2172
  "percentageNoDecimal",
2171
2173
  "percentage1Decimal",
2172
2174
  "percentage2Decimal",
@@ -2480,7 +2482,7 @@ Set the backdrop color behind Sankey node labels
2480
2482
  "anyOf": [
2481
2483
  {
2482
2484
  "type": "string",
2483
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2485
+ "pattern": "^(#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})|theme:[a-z][a-zA-Z0-9]*(\\.[a-zA-Z0-9]+)*)$"
2484
2486
  },
2485
2487
  {
2486
2488
  "type": "null"