Skip to content

Commit c98420a

Browse files
committed
v4.12.5
1 parent 32f56a7 commit c98420a

File tree

112 files changed

+8748
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+8748
-106
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [4.12.5](https://github.com/angular-ui/ui-grid/compare/v4.12.4...v4.12.5) (2024-04-11)
7+
8+
9+
### Bug Fixes
10+
11+
* **core:** make scrollToIfNecessary bottom scroll work with bottom pixel of the row. ([c8405a7](https://github.com/angular-ui/ui-grid/commit/c8405a704ad1f0546c290b572dd5b4899e25635f))
12+
13+
14+
15+
16+
617
## [4.12.4](https://github.com/angular-ui/ui-grid/compare/v4.12.3...v4.12.4) (2023-08-17)
718

819

css/ui-grid.core.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
2-
* ui-grid - v4.12.4 - 2023-08-17
2+
* ui-grid - v4.12.5 - 2024-04-11
33
* http://ui-grid.info/
4-
* Copyright (c) 2023 ; License: MIT
4+
* Copyright (c) 2024 ; License: MIT
55
*/
66
.ui-grid {
77
border: 1px solid #d4d4d4;

css/ui-grid.core.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"data grid"
2828
],
2929
"license": "MIT",
30-
"version": "4.12.4",
30+
"version": "4.12.5",
3131
"files": [
3232
"css",
3333
"fonts",
@@ -54,6 +54,70 @@
5454
"ui-grid.infinite-scroll.js",
5555
"ui-grid.infinite-scroll.min.js",
5656
"ui-grid.js",
57+
"ui-grid.language.all.js",
58+
"ui-grid.language.all.min.js",
59+
"ui-grid.language.ar.js",
60+
"ui-grid.language.ar.min.js",
61+
"ui-grid.language.bg.js",
62+
"ui-grid.language.bg.min.js",
63+
"ui-grid.language.cs.js",
64+
"ui-grid.language.cs.min.js",
65+
"ui-grid.language.da.js",
66+
"ui-grid.language.da.min.js",
67+
"ui-grid.language.de.js",
68+
"ui-grid.language.de.min.js",
69+
"ui-grid.language.es-ct.js",
70+
"ui-grid.language.es-ct.min.js",
71+
"ui-grid.language.es.js",
72+
"ui-grid.language.es.min.js",
73+
"ui-grid.language.fa.js",
74+
"ui-grid.language.fa.min.js",
75+
"ui-grid.language.fi.js",
76+
"ui-grid.language.fi.min.js",
77+
"ui-grid.language.fr.js",
78+
"ui-grid.language.fr.min.js",
79+
"ui-grid.language.he.js",
80+
"ui-grid.language.he.min.js",
81+
"ui-grid.language.hy.js",
82+
"ui-grid.language.hy.min.js",
83+
"ui-grid.language.is.js",
84+
"ui-grid.language.is.min.js",
85+
"ui-grid.language.it.js",
86+
"ui-grid.language.it.min.js",
87+
"ui-grid.language.ja.js",
88+
"ui-grid.language.ja.min.js",
89+
"ui-grid.language.ko.js",
90+
"ui-grid.language.ko.min.js",
91+
"ui-grid.language.nl.js",
92+
"ui-grid.language.nl.min.js",
93+
"ui-grid.language.no.js",
94+
"ui-grid.language.no.min.js",
95+
"ui-grid.language.pl.js",
96+
"ui-grid.language.pl.min.js",
97+
"ui-grid.language.pt-br.js",
98+
"ui-grid.language.pt-br.min.js",
99+
"ui-grid.language.pt.js",
100+
"ui-grid.language.pt.min.js",
101+
"ui-grid.language.ro.js",
102+
"ui-grid.language.ro.min.js",
103+
"ui-grid.language.rs-lat.js",
104+
"ui-grid.language.rs-lat.min.js",
105+
"ui-grid.language.ru.js",
106+
"ui-grid.language.ru.min.js",
107+
"ui-grid.language.sk.js",
108+
"ui-grid.language.sk.min.js",
109+
"ui-grid.language.sv.js",
110+
"ui-grid.language.sv.min.js",
111+
"ui-grid.language.ta.js",
112+
"ui-grid.language.ta.min.js",
113+
"ui-grid.language.tr.js",
114+
"ui-grid.language.tr.min.js",
115+
"ui-grid.language.ua.js",
116+
"ui-grid.language.ua.min.js",
117+
"ui-grid.language.zh-cn.js",
118+
"ui-grid.language.zh-cn.min.js",
119+
"ui-grid.language.zh-tw.js",
120+
"ui-grid.language.zh-tw.min.js",
57121
"ui-grid.min.css",
58122
"ui-grid.min.js",
59123
"ui-grid.move-columns.js",

ui-grid.auto-resize.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
2-
* ui-grid - v4.12.4 - 2023-08-17
2+
* ui-grid - v4.12.5 - 2024-04-11
33
* http://ui-grid.info/
4-
* Copyright (c) 2023 ; License: MIT
4+
* Copyright (c) 2024 ; License: MIT
55
*/
66

77
(function() {

ui-grid.auto-resize.min.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
2-
* ui-grid - v4.12.4 - 2023-08-17
2+
* ui-grid - v4.12.5 - 2024-04-11
33
* http://ui-grid.info/
4-
* Copyright (c) 2023 ; License: MIT
4+
* Copyright (c) 2024 ; License: MIT
55
*/
66
!function(){"use strict";angular.module("ui.grid.autoResize",["ui.grid"]).directive("uiGridAutoResize",["gridUtil",function(n){return{require:"uiGrid",scope:!1,link:function(i,r,e,u){var t;t=n.debounce(function(i,e,t,n){null!==r[0].offsetParent&&(u.grid.gridWidth=t,u.grid.gridHeight=n,u.grid.queueGridRefresh().then(function(){u.grid.api.core.raise.gridDimensionChanged(e,i,n,t)}))},400),i.$watchCollection(function(){return{width:n.elementWidth(r),height:n.elementHeight(r)}},function(i,e){angular.equals(i,e)||t(e.width,e.height,i.width,i.height)})}}}])}();

ui-grid.cellnav.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
2-
* ui-grid - v4.12.4 - 2023-08-17
2+
* ui-grid - v4.12.5 - 2024-04-11
33
* http://ui-grid.info/
4-
* Copyright (c) 2023 ; License: MIT
4+
* Copyright (c) 2024 ; License: MIT
55
*/
66

77
(function () {

ui-grid.cellnav.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui-grid.core.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
2-
* ui-grid - v4.12.4 - 2023-08-17
2+
* ui-grid - v4.12.5 - 2024-04-11
33
* http://ui-grid.info/
4-
* Copyright (c) 2023 ; License: MIT
4+
* Copyright (c) 2024 ; License: MIT
55
*/
66

77
(function() {
@@ -6328,13 +6328,15 @@ angular.module('ui.grid')
63286328
scrollEvent.y = getScrollY(scrollPixels, scrollLength, self.renderContainers.body.prevScrolltopPercentage);
63296329
}
63306330
// Otherwise if the scroll position we need to see the row is MORE than the bottom boundary, i.e. obscured below the bottom of the self...
6331-
else if (pixelsToSeeRow > Math.ceil(bottomBound)) {
6331+
// add the height of one row since scrollPixels points to the top pixel of the row
6332+
else if ((pixelsToSeeRow + self.options.rowHeight) > Math.ceil(bottomBound)) {
63326333
// Get the different between the bottom boundary and the required scroll position and add it to the current scroll position
6333-
// to get the full position we need
6334-
scrollPixels = pixelsToSeeRow - bottomBound + self.renderContainers.body.prevScrollTop;
6334+
// plus the height of one row since scrollPixels points to the top pixel of the row
6335+
// to get the full position we need
6336+
scrollPixels = (pixelsToSeeRow + self.options.rowHeight) - bottomBound + self.renderContainers.body.prevScrollTop;
63356337

6336-
// Scroll to full position plus the height of one row since scrollPixels points to the top pixel of the row
6337-
scrollEvent.y = getScrollY(scrollPixels + self.options.rowHeight, scrollLength, self.renderContainers.body.prevScrolltopPercentage);
6338+
// Scroll to full position
6339+
scrollEvent.y = getScrollY(scrollPixels, scrollLength, self.renderContainers.body.prevScrolltopPercentage);
63386340
}
63396341
}
63406342

ui-grid.core.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)