axidio-styleguide-library1-v2 0.2.75 → 0.2.77

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.
@@ -7957,10 +7957,10 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7957
7957
  // Mobile handling: keep date labels intact for single-series charts (do not trim)
7958
7958
  if (isMobile) {
7959
7959
  const isDateLabel = /\d{2,4}[-\/]\d{1,2}[-\/]\d{1,4}/.test(d) || !isNaN(Date.parse(d));
7960
- if (isDateLabel && subgroups && subgroups.length < 3) {
7961
- // For single-series charts on mobile, show full date labels (no trimming)
7962
- return d;
7963
- }
7960
+ // if (isDateLabel && subgroups && subgroups.length < 3) {
7961
+ // // For single-series charts on mobile, show full date labels (no trimming)
7962
+ // return d;
7963
+ // }
7964
7964
  // If header is hidden (compact mobile), trim non-date labels as before
7965
7965
  if (!self.isHeaderVisible) {
7966
7966
  const firstPart = d.split(/[\s\-]+/)[0];
@@ -8587,7 +8587,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8587
8587
  // Minimum width per bar group based on device and number of subgroups
8588
8588
  const minWidthPerGroup = (() => {
8589
8589
  if (subgroupsCount > 2) {
8590
- return isMobile ? 80 : isTablet ? 100 : 120; // Wider for multiple subgroups
8590
+ return isMobile ? 100 : isTablet ? 100 : 120; // Wider for multiple subgroups
8591
8591
  }
8592
8592
  return isMobile ? 40 : isTablet ? 60 : 80; // Normal width for 1-2 subgroups
8593
8593
  })();