intergalactic 15.52.0-prerelease.0-prerelease-15fe9f5e → 15.53.0-prerelease-dfe34e97

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 (215) hide show
  1. package/CHANGELOG.md +31 -4
  2. package/accordion/lib/cjs/Accordion.js +7 -6
  3. package/accordion/lib/cjs/Accordion.js.map +1 -1
  4. package/accordion/lib/cjs/style/accordion.shadow.css +2 -2
  5. package/accordion/lib/es6/Accordion.js +7 -6
  6. package/accordion/lib/es6/Accordion.js.map +1 -1
  7. package/accordion/lib/es6/style/accordion.shadow.css +2 -2
  8. package/components.json +12 -12
  9. package/d3-chart/Pattern.d.ts +336 -0
  10. package/d3-chart/Plot.d.ts +4 -0
  11. package/d3-chart/RadialTree.d.ts +7 -2
  12. package/d3-chart/component/Chart/AbstractChart.type.d.ts +3 -0
  13. package/d3-chart/component/ChartLegend/BaseLegend.type.d.ts +3 -0
  14. package/d3-chart/component/ChartLegend/LegendItem/LegendItem.type.d.ts +7 -1
  15. package/d3-chart/index.d.ts +3 -0
  16. package/d3-chart/lib/cjs/Area.js +25 -13
  17. package/d3-chart/lib/cjs/Area.js.map +1 -1
  18. package/d3-chart/lib/cjs/Axis.js +14 -14
  19. package/d3-chart/lib/cjs/Bar.js +23 -12
  20. package/d3-chart/lib/cjs/Bar.js.map +1 -1
  21. package/d3-chart/lib/cjs/Bubble.js +25 -13
  22. package/d3-chart/lib/cjs/Bubble.js.map +1 -1
  23. package/d3-chart/lib/cjs/Donut.js +28 -12
  24. package/d3-chart/lib/cjs/Donut.js.map +1 -1
  25. package/d3-chart/lib/cjs/Dots.js +55 -28
  26. package/d3-chart/lib/cjs/Dots.js.map +1 -1
  27. package/d3-chart/lib/cjs/GroupBar.js +4 -2
  28. package/d3-chart/lib/cjs/GroupBar.js.map +1 -1
  29. package/d3-chart/lib/cjs/HorizontalBar.js +23 -12
  30. package/d3-chart/lib/cjs/HorizontalBar.js.map +1 -1
  31. package/d3-chart/lib/cjs/Hover.js +9 -6
  32. package/d3-chart/lib/cjs/Hover.js.map +1 -1
  33. package/d3-chart/lib/cjs/Line.js +23 -15
  34. package/d3-chart/lib/cjs/Line.js.map +1 -1
  35. package/d3-chart/lib/cjs/Pattern.js +540 -0
  36. package/d3-chart/lib/cjs/Pattern.js.map +1 -0
  37. package/d3-chart/lib/cjs/Plot.js +7 -5
  38. package/d3-chart/lib/cjs/Plot.js.map +1 -1
  39. package/d3-chart/lib/cjs/Radar.js +126 -83
  40. package/d3-chart/lib/cjs/Radar.js.map +1 -1
  41. package/d3-chart/lib/cjs/RadialTree.js +126 -100
  42. package/d3-chart/lib/cjs/RadialTree.js.map +1 -1
  43. package/d3-chart/lib/cjs/ReferenceLine.js +9 -9
  44. package/d3-chart/lib/cjs/ScatterPlot.js +22 -10
  45. package/d3-chart/lib/cjs/ScatterPlot.js.map +1 -1
  46. package/d3-chart/lib/cjs/StackBar.js +8 -4
  47. package/d3-chart/lib/cjs/StackBar.js.map +1 -1
  48. package/d3-chart/lib/cjs/StackedArea.js +4 -1
  49. package/d3-chart/lib/cjs/StackedArea.js.map +1 -1
  50. package/d3-chart/lib/cjs/Tooltip.js +21 -11
  51. package/d3-chart/lib/cjs/Tooltip.js.map +1 -1
  52. package/d3-chart/lib/cjs/Venn.js +28 -12
  53. package/d3-chart/lib/cjs/Venn.js.map +1 -1
  54. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
  55. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
  56. package/d3-chart/lib/cjs/component/Chart/AbstractChart.js +7 -3
  57. package/d3-chart/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
  58. package/d3-chart/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
  59. package/d3-chart/lib/cjs/component/ChartLegend/BaseLegend.js +4 -2
  60. package/d3-chart/lib/cjs/component/ChartLegend/BaseLegend.js.map +1 -1
  61. package/d3-chart/lib/cjs/component/ChartLegend/BaseLegend.type.js.map +1 -1
  62. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  63. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +80 -53
  64. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  65. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js +1 -1
  66. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
  67. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/legend-item.shadow.css +17 -3
  68. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  69. package/d3-chart/lib/cjs/index.js +19 -0
  70. package/d3-chart/lib/cjs/index.js.map +1 -1
  71. package/d3-chart/lib/cjs/style/area.shadow.css +6 -1
  72. package/d3-chart/lib/cjs/style/bar.shadow.css +7 -1
  73. package/d3-chart/lib/cjs/style/bubble.shadow.css +8 -1
  74. package/d3-chart/lib/cjs/style/donut.shadow.css +7 -1
  75. package/d3-chart/lib/cjs/style/dot.shadow.css +2 -2
  76. package/d3-chart/lib/cjs/style/radar.shadow.css +7 -1
  77. package/d3-chart/lib/cjs/style/radial-tree.shadow.css +5 -0
  78. package/d3-chart/lib/cjs/style/scatterplot.shadow.css +8 -1
  79. package/d3-chart/lib/cjs/style/tooltip.shadow.css +6 -6
  80. package/d3-chart/lib/cjs/style/venn.shadow.css +11 -0
  81. package/d3-chart/lib/cjs/types/Plot.d.js.map +1 -1
  82. package/d3-chart/lib/cjs/types/index.d.js +12 -0
  83. package/d3-chart/lib/cjs/types/index.d.js.map +1 -1
  84. package/d3-chart/lib/es6/Area.js +25 -13
  85. package/d3-chart/lib/es6/Area.js.map +1 -1
  86. package/d3-chart/lib/es6/Axis.js +14 -14
  87. package/d3-chart/lib/es6/Bar.js +23 -12
  88. package/d3-chart/lib/es6/Bar.js.map +1 -1
  89. package/d3-chart/lib/es6/Bubble.js +25 -13
  90. package/d3-chart/lib/es6/Bubble.js.map +1 -1
  91. package/d3-chart/lib/es6/Donut.js +28 -12
  92. package/d3-chart/lib/es6/Donut.js.map +1 -1
  93. package/d3-chart/lib/es6/Dots.js +56 -29
  94. package/d3-chart/lib/es6/Dots.js.map +1 -1
  95. package/d3-chart/lib/es6/GroupBar.js +4 -2
  96. package/d3-chart/lib/es6/GroupBar.js.map +1 -1
  97. package/d3-chart/lib/es6/HorizontalBar.js +23 -12
  98. package/d3-chart/lib/es6/HorizontalBar.js.map +1 -1
  99. package/d3-chart/lib/es6/Hover.js +9 -6
  100. package/d3-chart/lib/es6/Hover.js.map +1 -1
  101. package/d3-chart/lib/es6/Line.js +24 -16
  102. package/d3-chart/lib/es6/Line.js.map +1 -1
  103. package/d3-chart/lib/es6/Pattern.js +534 -0
  104. package/d3-chart/lib/es6/Pattern.js.map +1 -0
  105. package/d3-chart/lib/es6/Plot.js +7 -5
  106. package/d3-chart/lib/es6/Plot.js.map +1 -1
  107. package/d3-chart/lib/es6/Radar.js +126 -83
  108. package/d3-chart/lib/es6/Radar.js.map +1 -1
  109. package/d3-chart/lib/es6/RadialTree.js +127 -101
  110. package/d3-chart/lib/es6/RadialTree.js.map +1 -1
  111. package/d3-chart/lib/es6/ReferenceLine.js +9 -9
  112. package/d3-chart/lib/es6/ScatterPlot.js +22 -10
  113. package/d3-chart/lib/es6/ScatterPlot.js.map +1 -1
  114. package/d3-chart/lib/es6/StackBar.js +8 -4
  115. package/d3-chart/lib/es6/StackBar.js.map +1 -1
  116. package/d3-chart/lib/es6/StackedArea.js +4 -1
  117. package/d3-chart/lib/es6/StackedArea.js.map +1 -1
  118. package/d3-chart/lib/es6/Tooltip.js +22 -11
  119. package/d3-chart/lib/es6/Tooltip.js.map +1 -1
  120. package/d3-chart/lib/es6/Venn.js +28 -12
  121. package/d3-chart/lib/es6/Venn.js.map +1 -1
  122. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
  123. package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
  124. package/d3-chart/lib/es6/component/Chart/AbstractChart.js +7 -3
  125. package/d3-chart/lib/es6/component/Chart/AbstractChart.js.map +1 -1
  126. package/d3-chart/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
  127. package/d3-chart/lib/es6/component/ChartLegend/BaseLegend.js +4 -2
  128. package/d3-chart/lib/es6/component/ChartLegend/BaseLegend.js.map +1 -1
  129. package/d3-chart/lib/es6/component/ChartLegend/BaseLegend.type.js.map +1 -1
  130. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  131. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +80 -53
  132. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js.map +1 -1
  133. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js +1 -1
  134. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.type.js.map +1 -1
  135. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/legend-item.shadow.css +17 -3
  136. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  137. package/d3-chart/lib/es6/index.js +1 -0
  138. package/d3-chart/lib/es6/index.js.map +1 -1
  139. package/d3-chart/lib/es6/style/area.shadow.css +6 -1
  140. package/d3-chart/lib/es6/style/bar.shadow.css +7 -1
  141. package/d3-chart/lib/es6/style/bubble.shadow.css +8 -1
  142. package/d3-chart/lib/es6/style/donut.shadow.css +7 -1
  143. package/d3-chart/lib/es6/style/dot.shadow.css +2 -2
  144. package/d3-chart/lib/es6/style/radar.shadow.css +7 -1
  145. package/d3-chart/lib/es6/style/radial-tree.shadow.css +5 -0
  146. package/d3-chart/lib/es6/style/scatterplot.shadow.css +8 -1
  147. package/d3-chart/lib/es6/style/tooltip.shadow.css +6 -6
  148. package/d3-chart/lib/es6/style/venn.shadow.css +11 -0
  149. package/d3-chart/lib/es6/types/Plot.d.js.map +1 -1
  150. package/d3-chart/lib/es6/types/index.d.js +3 -0
  151. package/d3-chart/lib/es6/types/index.d.js.map +1 -1
  152. package/d3-chart/lib/types/Pattern.d.ts +336 -0
  153. package/d3-chart/lib/types/Plot.d.ts +4 -0
  154. package/d3-chart/lib/types/RadialTree.d.ts +7 -2
  155. package/d3-chart/lib/types/component/Chart/AbstractChart.type.d.ts +3 -0
  156. package/d3-chart/lib/types/component/ChartLegend/BaseLegend.type.d.ts +3 -0
  157. package/d3-chart/lib/types/component/ChartLegend/LegendItem/LegendItem.type.d.ts +7 -1
  158. package/d3-chart/lib/types/index.d.ts +3 -0
  159. package/date-picker/lib/cjs/components/RangePickerAbstract.js +8 -4
  160. package/date-picker/lib/cjs/components/RangePickerAbstract.js.map +1 -1
  161. package/date-picker/lib/es6/components/RangePickerAbstract.js +8 -4
  162. package/date-picker/lib/es6/components/RangePickerAbstract.js.map +1 -1
  163. package/drag-and-drop/index.d.ts +13 -2
  164. package/drag-and-drop/lib/cjs/DragAndDrop.js +96 -44
  165. package/drag-and-drop/lib/cjs/DragAndDrop.js.map +1 -1
  166. package/drag-and-drop/lib/cjs/index.d.js.map +1 -1
  167. package/drag-and-drop/lib/cjs/translations/de.json +5 -0
  168. package/drag-and-drop/lib/cjs/translations/en.json +5 -0
  169. package/drag-and-drop/lib/cjs/translations/es.json +5 -0
  170. package/drag-and-drop/lib/cjs/translations/fr.json +5 -0
  171. package/drag-and-drop/lib/cjs/translations/it.json +5 -0
  172. package/drag-and-drop/lib/cjs/translations/ja.json +5 -0
  173. package/drag-and-drop/lib/cjs/translations/ko.json +5 -0
  174. package/drag-and-drop/lib/cjs/translations/nl.json +5 -0
  175. package/drag-and-drop/lib/cjs/translations/pl.json +5 -0
  176. package/drag-and-drop/lib/cjs/translations/pt.json +5 -0
  177. package/drag-and-drop/lib/cjs/translations/sv.json +5 -0
  178. package/drag-and-drop/lib/cjs/translations/tr.json +5 -0
  179. package/drag-and-drop/lib/cjs/translations/vi.json +5 -0
  180. package/drag-and-drop/lib/cjs/translations/zh.json +5 -0
  181. package/drag-and-drop/lib/es6/DragAndDrop.js +96 -44
  182. package/drag-and-drop/lib/es6/DragAndDrop.js.map +1 -1
  183. package/drag-and-drop/lib/es6/index.d.js.map +1 -1
  184. package/drag-and-drop/lib/es6/translations/de.json +5 -0
  185. package/drag-and-drop/lib/es6/translations/en.json +5 -0
  186. package/drag-and-drop/lib/es6/translations/es.json +5 -0
  187. package/drag-and-drop/lib/es6/translations/fr.json +5 -0
  188. package/drag-and-drop/lib/es6/translations/it.json +5 -0
  189. package/drag-and-drop/lib/es6/translations/ja.json +5 -0
  190. package/drag-and-drop/lib/es6/translations/ko.json +5 -0
  191. package/drag-and-drop/lib/es6/translations/nl.json +5 -0
  192. package/drag-and-drop/lib/es6/translations/pl.json +5 -0
  193. package/drag-and-drop/lib/es6/translations/pt.json +5 -0
  194. package/drag-and-drop/lib/es6/translations/sv.json +5 -0
  195. package/drag-and-drop/lib/es6/translations/tr.json +5 -0
  196. package/drag-and-drop/lib/es6/translations/vi.json +5 -0
  197. package/drag-and-drop/lib/es6/translations/zh.json +5 -0
  198. package/drag-and-drop/lib/types/index.d.ts +13 -2
  199. package/package.json +3 -3
  200. package/pills/lib/cjs/Pills.js +44 -57
  201. package/pills/lib/cjs/Pills.js.map +1 -1
  202. package/pills/lib/cjs/style/pills.shadow.css +3 -9
  203. package/pills/lib/es6/Pills.js +44 -57
  204. package/pills/lib/es6/Pills.js.map +1 -1
  205. package/pills/lib/es6/style/pills.shadow.css +3 -9
  206. package/utils/lib/enhances/a11yEnhance.d.ts +9 -3
  207. package/utils/lib/enhances/a11yEnhance.js +11 -11
  208. package/utils/lib/enhances/a11yEnhance.js.map +1 -1
  209. package/utils/lib/enhances/a11yEnhance.mjs +11 -11
  210. package/utils/lib/enhances/a11yEnhance.mjs.map +1 -1
  211. package/utils/lib/themes/auto.css +3 -3
  212. package/utils/lib/themes/dark.css +2 -2
  213. package/utils/lib/themes/dark.json +1 -1
  214. package/utils/lib/themes/default.css +1 -1
  215. package/utils/lib/themes/light.css +1 -1
@@ -18,18 +18,20 @@ import assignProps from 'intergalactic/utils/lib/assignProps';
18
18
  import getOriginChildren from 'intergalactic/utils/lib/getOriginChildren';
19
19
  import canUseDOM from 'intergalactic/utils/lib/canUseDOM';
20
20
  import createElement from './createElement';
21
- import { measureText } from './utils';
21
+ import { getChartDefaultColorName, measureText } from './utils';
22
+ import { PatternSymbol, getPatternSymbolSize } from './Pattern';
22
23
  /*__reshadow-styles__:"./style/radial-tree.shadow.css"*/
23
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_botil_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_botil_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_botil_gg_.__color_botil_gg_{stroke:var(--color_botil)}.___SCap_botil_gg_.__transparent_botil_gg_,.___SIcon_botil_gg_.__transparent_botil_gg_,.___SLabel_botil_gg_.__transparent_botil_gg_,.___SLine_botil_gg_.__transparent_botil_gg_{opacity:.3}.___SCap_botil_gg_{transition:r .1s}.___SLabel_botil_gg_{fill:var(--color_botil)}@media (hover:hover){.___SRadian_botil_gg_:hover .___SLabel_botil_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_botil_gg_{transition:none}}" /*__inner_css_end__*/, "botil_gg_") /*__reshadow_css_end__*/, {
24
- "__SRadian": "___SRadian_botil_gg_",
25
- "__SLine": "___SLine_botil_gg_",
26
- "_color": "__color_botil_gg_",
27
- "--color": "--color_botil",
28
- "_transparent": "__transparent_botil_gg_",
29
- "__SCap": "___SCap_botil_gg_",
30
- "__SIcon": "___SIcon_botil_gg_",
31
- "__SLabel": "___SLabel_botil_gg_",
32
- "__SLineCap": "___SLineCap_botil_gg_"
24
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SRadian_15kkv_gg_{cursor:pointer;fill:var(--intergalactic-text-large-info, #008ff8)}.___SLine_15kkv_gg_{stroke:var(--intergalactic-text-large-info, #008ff8)}.___SLine_15kkv_gg_.__color_15kkv_gg_{stroke:var(--color_15kkv)}.___SLine_15kkv_gg_.__transparent_15kkv_gg_{opacity:.3}.___SCap_15kkv_gg_{transition:r .1s}.___SCap_15kkv_gg_.__pattern_15kkv_gg_{stroke:var(--intergalactic-chart-grid-border, #ffffff);stroke-width:1px}.___SCap_15kkv_gg_.__transparent_15kkv_gg_,.___SIcon_15kkv_gg_.__transparent_15kkv_gg_,.___SLabel_15kkv_gg_.__transparent_15kkv_gg_{opacity:.3}.___SLabel_15kkv_gg_{fill:var(--color_15kkv)}@media (hover:hover){.___SRadian_15kkv_gg_:hover .___SLabel_15kkv_gg_{cursor:pointer;filter:brightness(.6)}}@media (prefers-reduced-motion){.___SLineCap_15kkv_gg_{transition:none}}" /*__inner_css_end__*/, "15kkv_gg_") /*__reshadow_css_end__*/, {
25
+ "__SRadian": "___SRadian_15kkv_gg_",
26
+ "__SLine": "___SLine_15kkv_gg_",
27
+ "_color": "__color_15kkv_gg_",
28
+ "--color": "--color_15kkv",
29
+ "_transparent": "__transparent_15kkv_gg_",
30
+ "__SCap": "___SCap_15kkv_gg_",
31
+ "_pattern": "__pattern_15kkv_gg_",
32
+ "__SIcon": "___SIcon_15kkv_gg_",
33
+ "__SLabel": "___SLabel_15kkv_gg_",
34
+ "__SLineCap": "___SLineCap_15kkv_gg_"
33
35
  });
34
36
  var baseAngle = -Math.PI / 2; // The top vertical line
35
37
  var RadialTreeBase = /*#__PURE__*/function (_Component) {
@@ -193,8 +195,8 @@ var RadialTreeBase = /*#__PURE__*/function (_Component) {
193
195
  var _this$asProps2 = this.asProps,
194
196
  data = _this$asProps2.data,
195
197
  textSize = _this$asProps2.textSize;
196
- var widths = data.map(function (_ref9) {
197
- var label = _ref9.label;
198
+ var widths = data.map(function (_ref10) {
199
+ var label = _ref10.label;
198
200
  return measureText(label, textSize);
199
201
  });
200
202
  return Math.max.apply(Math, _toConsumableArray(widths));
@@ -274,9 +276,9 @@ var RadialTreeRadian = /*#__PURE__*/function (_Component2) {
274
276
  }
275
277
  _createClass(RadialTreeRadian, [{
276
278
  key: "getInteractiveAreaProps",
277
- value: function getInteractiveAreaProps(_ref11, index) {
279
+ value: function getInteractiveAreaProps(_ref12, index) {
278
280
  var _$rootProps$data;
279
- var $rootProps = _ref11.$rootProps;
281
+ var $rootProps = _ref12.$rootProps;
280
282
  var data = (_$rootProps$data = $rootProps.data) === null || _$rootProps$data === void 0 ? void 0 : _$rootProps$data[index];
281
283
  var _this$computeRadianPo = this.computeRadianPosition(data, index),
282
284
  xStart = _this$computeRadianPo.xStart,
@@ -294,9 +296,9 @@ var RadialTreeRadian = /*#__PURE__*/function (_Component2) {
294
296
  }
295
297
  }, {
296
298
  key: "getLineProps",
297
- value: function getLineProps(_ref12, index) {
298
- var _$rootProps$data2, _color, _ref13;
299
- var $rootProps = _ref12.$rootProps;
299
+ value: function getLineProps(_ref13, index) {
300
+ var _$rootProps$data2, _color, _ref14;
301
+ var $rootProps = _ref13.$rootProps;
300
302
  var data = (_$rootProps$data2 = $rootProps.data) === null || _$rootProps$data2 === void 0 ? void 0 : _$rootProps$data2[index];
301
303
  var _this$computeRadianPo2 = this.computeRadianPosition(data, index),
302
304
  xStart = _this$computeRadianPo2.xStart,
@@ -308,7 +310,7 @@ var RadialTreeRadian = /*#__PURE__*/function (_Component2) {
308
310
  transparent = _this$asProps5.transparent,
309
311
  resolveColor = _this$asProps5.resolveColor;
310
312
  var color = (_color = data.color) !== null && _color !== void 0 ? _color : this.asProps.color;
311
- return _ref13 = {
313
+ return _ref14 = {
312
314
  x1: xStart,
313
315
  y1: yStart,
314
316
  x2: xEnd,
@@ -316,13 +318,13 @@ var RadialTreeRadian = /*#__PURE__*/function (_Component2) {
316
318
  stroke: color,
317
319
  resolveColor: resolveColor,
318
320
  transparent: transparent
319
- }, _defineProperty(_ref13, 'data-x1', xStart), _defineProperty(_ref13, 'data-y1', yStart), _defineProperty(_ref13, 'data-x2', xEnd), _defineProperty(_ref13, 'data-y2', yEnd), _defineProperty(_ref13, 'data-radial-animation', "".concat(uid, "-line")), _defineProperty(_ref13, 'data-radian-index', index), _ref13;
321
+ }, _defineProperty(_ref14, 'data-x1', xStart), _defineProperty(_ref14, 'data-y1', yStart), _defineProperty(_ref14, 'data-x2', xEnd), _defineProperty(_ref14, 'data-y2', yEnd), _defineProperty(_ref14, 'data-radial-animation', "".concat(uid, "-line")), _defineProperty(_ref14, 'data-radian-index', index), _ref14;
320
322
  }
321
323
  }, {
322
324
  key: "getCapProps",
323
- value: function getCapProps(_ref14, index) {
324
- var _$rootProps$data3, _color2, _ref15;
325
- var $rootProps = _ref14.$rootProps;
325
+ value: function getCapProps(_ref15, index) {
326
+ var _$rootProps$data3, _color2, _ref16;
327
+ var $rootProps = _ref15.$rootProps;
326
328
  var data = (_$rootProps$data3 = $rootProps.data) === null || _$rootProps$data3 === void 0 ? void 0 : _$rootProps$data3[index];
327
329
  var _this$computeRadianPo3 = this.computeRadianPosition(data, index),
328
330
  xEnd = _this$computeRadianPo3.xEnd,
@@ -331,18 +333,19 @@ var RadialTreeRadian = /*#__PURE__*/function (_Component2) {
331
333
  var _this$asProps6 = this.asProps,
332
334
  uid = _this$asProps6.uid,
333
335
  transparent = _this$asProps6.transparent,
334
- resolveColor = _this$asProps6.resolveColor;
336
+ resolveColor = _this$asProps6.resolveColor,
337
+ patterns = _this$asProps6.patterns;
335
338
  var color = (_color2 = data.color) !== null && _color2 !== void 0 ? _color2 : this.asProps.color;
336
- return _ref15 = {
339
+ return _ref16 = {
337
340
  x: xEnd,
338
341
  y: yEnd
339
- }, _defineProperty(_ref15, 'data-cx', xEnd), _defineProperty(_ref15, 'data-cy', yEnd), _defineProperty(_ref15, "radius", capSize), _defineProperty(_ref15, "color", color), _defineProperty(_ref15, "resolveColor", resolveColor), _defineProperty(_ref15, "transparent", transparent), _defineProperty(_ref15, 'data-radial-animation', "".concat(uid, "-cap-circle")), _defineProperty(_ref15, 'data-radian-index', index), _ref15;
342
+ }, _defineProperty(_ref16, 'data-cx', xEnd), _defineProperty(_ref16, 'data-cy', yEnd), _defineProperty(_ref16, "radius", capSize), _defineProperty(_ref16, "color", color), _defineProperty(_ref16, "resolveColor", resolveColor), _defineProperty(_ref16, "transparent", transparent), _defineProperty(_ref16, "patterns", patterns), _defineProperty(_ref16, "uid", "".concat(uid, "-cap-").concat(index)), _defineProperty(_ref16, 'data-radial-animation', "".concat(uid, "-cap-circle")), _defineProperty(_ref16, 'data-radian-index', index), _ref16;
340
343
  }
341
344
  }, {
342
345
  key: "getIconProps",
343
- value: function getIconProps(_ref16, index) {
344
- var _$rootProps$data4, _iconColor, _iconSize, _icon, _ref17;
345
- var $rootProps = _ref16.$rootProps;
346
+ value: function getIconProps(_ref17, index) {
347
+ var _$rootProps$data4, _iconColor, _iconSize, _icon, _ref18;
348
+ var $rootProps = _ref17.$rootProps;
346
349
  var data = (_$rootProps$data4 = $rootProps.data) === null || _$rootProps$data4 === void 0 ? void 0 : _$rootProps$data4[index];
347
350
  var _this$computeRadianPo4 = this.computeRadianPosition(data, index),
348
351
  xEnd = _this$computeRadianPo4.xEnd,
@@ -356,16 +359,16 @@ var RadialTreeRadian = /*#__PURE__*/function (_Component2) {
356
359
  var icon = (_icon = data.icon) !== null && _icon !== void 0 ? _icon : this.asProps.icon;
357
360
  var x = xEnd - iconSize / 2;
358
361
  var y = yEnd - iconSize / 2;
359
- return _ref17 = {
362
+ return _ref18 = {
360
363
  x: x,
361
364
  y: y
362
- }, _defineProperty(_ref17, 'data-x', x), _defineProperty(_ref17, 'data-y', y), _defineProperty(_ref17, "iconSize", iconSize), _defineProperty(_ref17, "color", iconColor !== null && iconColor !== void 0 ? iconColor : '#fff'), _defineProperty(_ref17, "resolveColor", resolveColor), _defineProperty(_ref17, 'data-radial-animation', "".concat(uid, "-cap-icon")), _defineProperty(_ref17, 'data-radian-index', index), _defineProperty(_ref17, "icon", icon), _defineProperty(_ref17, "tag", icon), _defineProperty(_ref17, "isActive", isActive), _ref17;
365
+ }, _defineProperty(_ref18, 'data-x', x), _defineProperty(_ref18, 'data-y', y), _defineProperty(_ref18, "iconSize", iconSize), _defineProperty(_ref18, "color", iconColor !== null && iconColor !== void 0 ? iconColor : '#fff'), _defineProperty(_ref18, "resolveColor", resolveColor), _defineProperty(_ref18, 'data-radial-animation', "".concat(uid, "-cap-icon")), _defineProperty(_ref18, 'data-radian-index', index), _defineProperty(_ref18, "icon", icon), _defineProperty(_ref18, "tag", icon), _defineProperty(_ref18, "isActive", isActive), _ref18;
363
366
  }
364
367
  }, {
365
368
  key: "getLabelProps",
366
- value: function getLabelProps(_ref18, index) {
367
- var _$rootProps$data5, _color3, _ref20;
368
- var $rootProps = _ref18.$rootProps;
369
+ value: function getLabelProps(_ref19, index) {
370
+ var _$rootProps$data5, _color3, _ref21;
371
+ var $rootProps = _ref19.$rootProps;
369
372
  var data = (_$rootProps$data5 = $rootProps.data) === null || _$rootProps$data5 === void 0 ? void 0 : _$rootProps$data5[index];
370
373
  var _this$computeRadianPo5 = this.computeRadianPosition(data, index),
371
374
  xLabelCenter = _this$computeRadianPo5.xLabelCenter,
@@ -377,14 +380,14 @@ var RadialTreeRadian = /*#__PURE__*/function (_Component2) {
377
380
  textSize = _this$asProps8.textSize,
378
381
  transparent = _this$asProps8.transparent,
379
382
  resolveColor = _this$asProps8.resolveColor;
380
- var _ref19 = data,
381
- label = _ref19.label;
383
+ var _ref20 = data,
384
+ label = _ref20.label;
382
385
  var color = (_color3 = data.color) !== null && _color3 !== void 0 ? _color3 : this.asProps.color;
383
- return _ref20 = {
386
+ return _ref21 = {
384
387
  x: xLabelCenter,
385
388
  y: yLabelCenter,
386
389
  angle: labelAngle
387
- }, _defineProperty(_ref20, 'data-radial-animation', "".concat(uid, "-label")), _defineProperty(_ref20, 'data-radian-index', index), _defineProperty(_ref20, "label", label), _defineProperty(_ref20, "color", color), _defineProperty(_ref20, "resolveColor", resolveColor), _defineProperty(_ref20, "isHorizontal", isHorizontal), _defineProperty(_ref20, "textSize", textSize), _defineProperty(_ref20, "transparent", transparent), _ref20;
390
+ }, _defineProperty(_ref21, 'data-radial-animation', "".concat(uid, "-label")), _defineProperty(_ref21, 'data-radian-index', index), _defineProperty(_ref21, "label", label), _defineProperty(_ref21, "color", color), _defineProperty(_ref21, "resolveColor", resolveColor), _defineProperty(_ref21, "isHorizontal", isHorizontal), _defineProperty(_ref21, "textSize", textSize), _defineProperty(_ref21, "transparent", transparent), _ref21;
388
391
  }
389
392
  }, {
390
393
  key: "getRadianKey",
@@ -494,10 +497,10 @@ _defineProperty(RadialTreeRadian, "defaultProps", {
494
497
  iconSize: 16,
495
498
  textSize: 14
496
499
  });
497
- var InteractiveArea = function InteractiveArea(_ref21) {
500
+ var InteractiveArea = function InteractiveArea(_ref22) {
498
501
  var _ref4;
499
- var SInteractiveArea = _ref21.Element,
500
- styles = _ref21.styles;
502
+ var SInteractiveArea = _ref22.Element,
503
+ styles = _ref22.styles;
501
504
  return _ref4 = sstyled(styles), /*#__PURE__*/React.createElement(SInteractiveArea, _ref4.cn("SInteractiveArea", {
502
505
  "stroke": 'transparent',
503
506
  "render": 'line'
@@ -506,13 +509,13 @@ var InteractiveArea = function InteractiveArea(_ref21) {
506
509
 
507
510
  /** @deprecated */
508
511
 
509
- var Line = function Line(_ref22) {
512
+ var Line = function Line(_ref23) {
510
513
  var _ref5;
511
- var SLine = _ref22.Element,
512
- styles = _ref22.styles,
513
- stroke = _ref22.stroke,
514
- resolveColor = _ref22.resolveColor,
515
- transparent = _ref22.transparent;
514
+ var SLine = _ref23.Element,
515
+ styles = _ref23.styles,
516
+ stroke = _ref23.stroke,
517
+ resolveColor = _ref23.resolveColor,
518
+ transparent = _ref23.transparent;
516
519
  return _ref5 = sstyled(styles), /*#__PURE__*/React.createElement(SLine, _ref5.cn("SLine", {
517
520
  "render": 'line',
518
521
  "stroke": resolveColor(stroke),
@@ -522,42 +525,65 @@ var Line = function Line(_ref22) {
522
525
 
523
526
  /** @deprecated */
524
527
 
525
- var Cap = function Cap(_ref23) {
526
- var _ref6;
527
- var SCap = _ref23.Element,
528
- styles = _ref23.styles,
529
- x = _ref23.x,
530
- y = _ref23.y,
531
- radius = _ref23.radius,
532
- color = _ref23.color,
533
- resolveColor = _ref23.resolveColor,
534
- transparent = _ref23.transparent;
535
- return _ref6 = sstyled(styles), /*#__PURE__*/React.createElement(SCap, _ref6.cn("SCap", {
536
- "render": 'circle',
537
- "cx": x,
538
- "cy": y,
539
- "r": radius,
528
+ var Cap = function Cap(_ref24) {
529
+ var _ref7;
530
+ var SCap = _ref24.Element,
531
+ styles = _ref24.styles,
532
+ _ref24$x = _ref24.x,
533
+ x = _ref24$x === void 0 ? 0 : _ref24$x,
534
+ _ref24$y = _ref24.y,
535
+ y = _ref24$y === void 0 ? 0 : _ref24$y,
536
+ radius = _ref24.radius,
537
+ color = _ref24.color,
538
+ resolveColor = _ref24.resolveColor,
539
+ transparent = _ref24.transparent,
540
+ patterns = _ref24.patterns;
541
+ if (!patterns) {
542
+ var _ref6;
543
+ return _ref6 = sstyled(styles), /*#__PURE__*/React.createElement(SCap, _ref6.cn("SCap", {
544
+ "render": 'circle',
545
+ "cx": x,
546
+ "cy": y,
547
+ "r": radius,
548
+ "fill": resolveColor(color),
549
+ "transparent": transparent
550
+ }));
551
+ }
552
+ var patternKey = color || getChartDefaultColorName(0);
553
+ var _getPatternSymbolSize = getPatternSymbolSize({
554
+ patternKey: patternKey,
555
+ patterns: patterns
556
+ }),
557
+ _getPatternSymbolSize2 = _slicedToArray(_getPatternSymbolSize, 2),
558
+ width = _getPatternSymbolSize2[0],
559
+ height = _getPatternSymbolSize2[1];
560
+ return _ref7 = sstyled(styles), /*#__PURE__*/React.createElement(SCap, _ref7.cn("SCap", {
561
+ "render": PatternSymbol,
562
+ "patternKey": color,
563
+ "x": x - (width || 0) / 2,
564
+ "y": y - (height || 0) / 2,
540
565
  "fill": resolveColor(color),
541
- "transparent": transparent
566
+ "transparent": transparent,
567
+ "pattern": true
542
568
  }));
543
569
  };
544
570
 
545
571
  /** @deprecated */
546
572
 
547
- var Icon = function Icon(_ref24) {
548
- var _ref7;
549
- var SIcon = _ref24.Element,
550
- styles = _ref24.styles,
551
- isActive = _ref24.isActive,
552
- tag = _ref24.tag,
553
- x = _ref24.x,
554
- y = _ref24.y,
555
- iconSize = _ref24.iconSize,
556
- transparent = _ref24.transparent;
573
+ var Icon = function Icon(_ref25) {
574
+ var _ref8;
575
+ var SIcon = _ref25.Element,
576
+ styles = _ref25.styles,
577
+ isActive = _ref25.isActive,
578
+ tag = _ref25.tag,
579
+ x = _ref25.x,
580
+ y = _ref25.y,
581
+ iconSize = _ref25.iconSize,
582
+ transparent = _ref25.transparent;
557
583
  if (!(isActive && tag)) return null;
558
584
  var width = iconSize;
559
585
  var height = iconSize;
560
- return _ref7 = sstyled(styles), /*#__PURE__*/React.createElement(SIcon, _ref7.cn("SIcon", {
586
+ return _ref8 = sstyled(styles), /*#__PURE__*/React.createElement(SIcon, _ref8.cn("SIcon", {
561
587
  "x": x,
562
588
  "y": y,
563
589
  "width": width,
@@ -569,19 +595,19 @@ var Icon = function Icon(_ref24) {
569
595
 
570
596
  /** @deprecated */
571
597
 
572
- var Label = function Label(_ref25) {
573
- var SLabel = _ref25.Element,
574
- Children = _ref25.Children,
575
- styles = _ref25.styles,
576
- label = _ref25.label,
577
- color = _ref25.color,
578
- resolveColor = _ref25.resolveColor,
579
- isHorizontal = _ref25.isHorizontal,
580
- x = _ref25.x,
581
- y = _ref25.y,
582
- textSize = _ref25.textSize,
583
- angle = _ref25.angle,
584
- transparent = _ref25.transparent;
598
+ var Label = function Label(_ref26) {
599
+ var SLabel = _ref26.Element,
600
+ Children = _ref26.Children,
601
+ styles = _ref26.styles,
602
+ label = _ref26.label,
603
+ color = _ref26.color,
604
+ resolveColor = _ref26.resolveColor,
605
+ isHorizontal = _ref26.isHorizontal,
606
+ x = _ref26.x,
607
+ y = _ref26.y,
608
+ textSize = _ref26.textSize,
609
+ angle = _ref26.angle,
610
+ transparent = _ref26.transparent;
585
611
  var lines = String(label).split('\n');
586
612
  var linesCount = lines.length;
587
613
  var SLabelLine = 'tspan';
@@ -622,22 +648,22 @@ var Radian = createElement(RadialTreeRadian, {
622
648
 
623
649
  /** @deprecated */
624
650
 
625
- var Title = function Title(_ref26) {
626
- var _ref8;
627
- var STitle = _ref26.Element,
628
- Children = _ref26.Children,
629
- children = _ref26.children,
630
- styles = _ref26.styles,
631
- textSize = _ref26.textSize,
632
- color = _ref26.color,
633
- resolveColor = _ref26.resolveColor,
634
- x = _ref26.x,
635
- y = _ref26.y,
636
- dataHintsHandler = _ref26.dataHintsHandler;
651
+ var Title = function Title(_ref27) {
652
+ var _ref9;
653
+ var STitle = _ref27.Element,
654
+ Children = _ref27.Children,
655
+ children = _ref27.children,
656
+ styles = _ref27.styles,
657
+ textSize = _ref27.textSize,
658
+ color = _ref27.color,
659
+ resolveColor = _ref27.resolveColor,
660
+ x = _ref27.x,
661
+ y = _ref27.y,
662
+ dataHintsHandler = _ref27.dataHintsHandler;
637
663
  if (typeof children === 'string') {
638
664
  dataHintsHandler.setTitle('vertical', children);
639
665
  }
640
- return _ref8 = sstyled(styles), /*#__PURE__*/React.createElement(STitle, _ref8.cn("STitle", {
666
+ return _ref9 = sstyled(styles), /*#__PURE__*/React.createElement(STitle, _ref9.cn("STitle", {
641
667
  "aria-hidden": true,
642
668
  "render": 'text',
643
669
  "textAnchor": 'middle',
@@ -646,7 +672,7 @@ var Title = function Title(_ref26) {
646
672
  "fill": resolveColor(color),
647
673
  "x": x,
648
674
  "y": y
649
- }), /*#__PURE__*/React.createElement(Children, _ref8.cn("Children", {})));
675
+ }), /*#__PURE__*/React.createElement(Children, _ref9.cn("Children", {})));
650
676
  };
651
677
  var RadialTree = createElement(RadialTreeBase, {
652
678
  Title: Title,