axidio-styleguide-library1-v2 0.6.12 → 0.6.14

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.
@@ -8070,7 +8070,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8070
8070
  else if (labelCount >= 3) {
8071
8071
  // For more than 3 labels, use vertical alignment
8072
8072
  textNodes
8073
- .style('writing-mode', 'sideways-lr') // Vertical text
8073
+ // .style('writing-mode', 'sideways-lr') // Vertical text
8074
8074
  .classed('mobile-xaxis-override', true) // Add vertical class
8075
8075
  .attr('text-anchor', 'middle') // Center align
8076
8076
  .attr('y', 30) // Adjust vertical position
@@ -8105,9 +8105,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8105
8105
  xAxisLabels.each(function (d) {
8106
8106
  const isDateLabel = /^(\d{2,4}[-\/])?\d{2,4}[-\/]\d{2,4}$/.test(d.trim());
8107
8107
  const isWeekLabel = /week|wk|w\d+/i.test(d);
8108
- if (subgroups.length > 1 && self.isZoomedOut && data.length > 8 && isDateLabel && !isWeekLabel) {
8109
- d3.select(this).style('writing-mode', 'sideways-lr');
8110
- }
8108
+ // if (subgroups.length > 1 && self.isZoomedOut && data.length > 8 && isDateLabel && !isWeekLabel) {
8109
+ // d3.select(this).style('writing-mode', 'sideways-lr');
8110
+ // }
8111
8111
  });
8112
8112
  // Add second line for non-date labels on desktop
8113
8113
  if (!isMobile) {
@@ -8826,7 +8826,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8826
8826
  text.append('tspan')
8827
8827
  .text(line)
8828
8828
  .attr('x', 0)
8829
- .attr('dy', idx === 0 ? '1em' : '1.1em');
8829
+ .attr('dy', idx === 0 ? '0.5em' : '1em');
8830
8830
  });
8831
8831
  }
8832
8832
  else {