@shival99/z-ui 2.6.1 → 2.6.2

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/.npmignore CHANGED
@@ -11,33 +11,35 @@ components/z-avatar/package.json
11
11
  components/z-badge/package.json
12
12
  components/z-breadcrumb/package.json
13
13
  components/z-button/package.json
14
- components/z-calendar/package.json
15
14
  components/z-button-group/package.json
15
+ components/z-calendar/package.json
16
16
  components/z-card/package.json
17
17
  components/z-chat/package.json
18
18
  components/z-checkbox/package.json
19
- components/z-command/package.json
20
19
  components/z-code/package.json
21
- components/z-dropdown-menu/package.json
20
+ components/z-command/package.json
22
21
  components/z-drawer/package.json
22
+ components/z-dropdown-menu/package.json
23
+ components/z-editor/package.json
23
24
  components/z-empty/package.json
24
25
  components/z-filter/package.json
25
26
  components/z-gallery/package.json
26
- components/z-editor/package.json
27
27
  components/z-hover-glide/package.json
28
28
  components/z-icon/package.json
29
29
  components/z-input/package.json
30
30
  components/z-kanban/package.json
31
+ components/z-loading/package.json
31
32
  components/z-marquee/package.json
32
33
  components/z-media-player/package.json
33
34
  components/z-menu/package.json
34
35
  components/z-metric-card/package.json
35
36
  components/z-modal/package.json
37
+ components/z-number-ticker/package.json
36
38
  components/z-overlay/package.json
37
39
  components/z-pagination/package.json
38
- components/z-loading/package.json
39
40
  components/z-popover/package.json
40
41
  components/z-qrcode/package.json
42
+ components/z-radio/package.json
41
43
  components/z-scrollarea/package.json
42
44
  components/z-select/package.json
43
45
  components/z-show-more/package.json
@@ -45,14 +47,12 @@ components/z-skeleton/package.json
45
47
  components/z-skeleton-auto/package.json
46
48
  components/z-steps/package.json
47
49
  components/z-switch/package.json
48
- components/z-number-ticker/package.json
49
50
  components/z-table/package.json
50
- components/z-radio/package.json
51
51
  components/z-tabs/package.json
52
+ components/z-tags/package.json
52
53
  components/z-timeline/package.json
53
54
  components/z-toast/package.json
54
55
  components/z-tooltip/package.json
55
56
  components/z-upload/package.json
56
- components/z-tags/package.json
57
57
  services/excel/package.json
58
58
  services/office/package.json
@@ -4467,7 +4467,10 @@ class ZTableCellPinPipe {
4467
4467
  return [cell];
4468
4468
  }
4469
4469
  const columnConfig = findColumnConfig(cell.column.id, columns);
4470
- const colSpan = getBodyColSpan(columnConfig, cell.getContext()) ?? 1;
4470
+ // Must use the EFFECTIVE (pinning-shrunk) colSpan, not the raw configured one — otherwise a
4471
+ // cell whose colSpan run pinning already broke up still "covers" cells further away that
4472
+ // happen to be the true last-pinned column, duplicating the sticky boundary shadow/border.
4473
+ const colSpan = calculateCellColSpan(cell, columnConfig, bodyCells) ?? 1;
4471
4474
  return bodyCells.slice(cellIndex, cellIndex + Math.max(colSpan, 1));
4472
4475
  }
4473
4476
  _pinDirection(header) {
@@ -5071,8 +5074,11 @@ class ZTablePinningStylesPipe {
5071
5074
  _cellWidthWithColspan(cell, allCells, cellIndex, columns, domWidthMap) {
5072
5075
  const getW = (c) => this._colWidth(c.column.id, c.column, domWidthMap);
5073
5076
  const config = findColumnConfig(cell.column.id, columns);
5074
- const colSpan = getBodyColSpan(config, cell.getContext());
5075
- if (colSpan && colSpan > 1) {
5077
+ // Must use the EFFECTIVE (pinning-shrunk) colSpan, not the raw configured one — otherwise this
5078
+ // sums widths for sibling cells that pinning has moved elsewhere, rendering the cell wider than
5079
+ // its actual `colspan` attribute and overlapping/pushing whatever now sits next to it.
5080
+ const colSpan = calculateCellColSpan(cell, config, allCells) ?? 1;
5081
+ if (colSpan > 1) {
5076
5082
  let w = getW(cell);
5077
5083
  for (let j = 1; j < colSpan && cellIndex + j < allCells.length; j++) {
5078
5084
  w += getW(allCells[cellIndex + j]);