Skip to content

Commit 0d92f73

Browse files
Portugal, MarceloPortugal, Marcelo
Portugal, Marcelo
authored and
Portugal, Marcelo
committed
v4.0.4
1 parent d5eac7e commit 0d92f73

14 files changed

+1194
-470
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<a name="v4.0.4"></a>
2+
### v4.0.4 (2017-04-04)
3+
4+
5+
#### Bug Fixes
6+
7+
* **6123:** Allowing selection and tree-base to build columns. ([2ea9a06e](http://github.com/angular-ui/ng-grid/commit/2ea9a06e594601cc44947a997f08bce628e813f4))
8+
* **flatEntityAccess:** getCellDisplayValue now returns the correct value. ([ba77c875](http://github.com/angular-ui/ng-grid/commit/ba77c8750431236ff4f729fe8a77eb44cbbfc9b7))
9+
10+
11+
#### Features
12+
13+
* **japanese:** Update japanese translation. ([47e78d1](https://github.com/angular-ui/ui-grid/commit/47e78d16710a96033c692f800c5bb4874f694fc8))
14+
115
<a name="v4.0.3"></a>
216
### v4.0.3 (2017-03-24)
317

bower.json

+3-11
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,12 @@
22
"name": "angular-ui-grid",
33
"description": "A data grid for Angular",
44
"main": [
5-
"3.2.11",
6-
"less",
7-
"ui-grid.css",
8-
"ui-grid.eot",
9-
"ui-grid.js",
10-
"ui-grid.min.css",
11-
"ui-grid.min.js",
12-
"ui-grid.svg",
13-
"ui-grid.ttf",
14-
"ui-grid.woff"
5+
"./ui-grid.css",
6+
"./ui-grid.js"
157
],
168
"ignore": [],
179
"dependencies": {
18-
"angular": ">=1.2.16 1.4.x"
10+
"angular": ">=1.4.0 1.5.x"
1911
},
2012
"repository": {
2113
"type": "git",

less/body.less

+2-5
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
overflow-y: scroll;
1919
-webkit-overflow-scrolling: touch;
2020

21-
// overflow-anchor is a new feature/bug in chrome 56. See https://www.chromestatus.com/feature/5700102471548928
22-
// It causes ui-grid-viewport to scroll indefinitely. See https://github.com/angular-ui/ui-grid/issues/6017
23-
overflow-anchor: none;
24-
2521
&:focus {
2622
outline: none !important;
2723
}
@@ -35,6 +31,7 @@
3531
.ui-grid-row {
3632
//position: absolute;
3733
// border-bottom: 1px solid @borderColor;
34+
clear: both; //prevent columns mixing after expand
3835

3936
&:nth-child(odd) .ui-grid-cell {
4037
background-color: @rowColorOdd; //rgb(253, 253, 253);
@@ -77,4 +74,4 @@
7774
right: 0;
7875
opacity: 0.66;
7976
}
80-
}
77+
}

less/icons.less

+104-11
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
font-family: 'ui-grid';
33
src: url('@{font-path}ui-grid.eot');
44
src: url('@{font-path}ui-grid.eot#iefix') format('embedded-opentype'),
5-
url('@{font-path}ui-grid.woff') format('woff'),
6-
url('@{font-path}ui-grid.ttf') format('truetype'),
7-
url('@{font-path}ui-grid.svg?#ui-grid') format('svg');
5+
url('@{font-path}ui-grid.woff') format('woff'),
6+
url('@{font-path}ui-grid.ttf') format('truetype'),
7+
url('@{font-path}ui-grid.svg?#ui-grid') format('svg');
88
font-weight: normal;
99
font-style: normal;
1010
}
11+
1112
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
1213
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
1314
/*
@@ -18,34 +19,34 @@
1819
}
1920
}
2021
*/
21-
22-
[class^="ui-grid-icon"]:before, [class*=" ui-grid-icon"]:before {
22+
23+
[class^="ui-grid-icon"]:before, [class*=" ui-grid-icon"]:before {
2324
font-family: "ui-grid";
2425
font-style: normal;
2526
font-weight: normal;
2627
speak: none;
27-
28+
2829
display: inline-block;
2930
text-decoration: inherit;
3031
width: 1em;
3132
margin-right: .2em;
3233
text-align: center;
3334
/* opacity: .8; */
34-
35+
3536
/* For safety - reset parent styles, that can break glyph codes*/
3637
font-variant: normal;
3738
text-transform: none;
38-
39+
3940
/* fix buttons height, for twitter bootstrap */
4041
line-height: 1em;
41-
42+
4243
/* Animation center compensation - margins should be symmetric */
4344
/* remove if not needed */
4445
margin-left: .2em;
45-
46+
4647
/* you can be more comfortable with increased icons size */
4748
/* font-size: 120%; */
48-
49+
4950
/* Uncomment for 3D effect */
5051
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
5152
}
@@ -54,3 +55,95 @@
5455
width: 1em;
5556
content: ' ';
5657
}
58+
59+
.ui-grid-icon-plus-squared:before {
60+
content: '\c350'
61+
}
62+
63+
.ui-grid-icon-minus-squared:before {
64+
content: '\c351'
65+
}
66+
67+
.ui-grid-icon-search:before {
68+
content: '\c352'
69+
}
70+
71+
.ui-grid-icon-cancel:before {
72+
content: '\c353'
73+
}
74+
75+
.ui-grid-icon-info-circled:before {
76+
content: '\c354'
77+
}
78+
79+
.ui-grid-icon-lock:before {
80+
content: '\c355'
81+
}
82+
83+
.ui-grid-icon-lock-open:before {
84+
content: '\c356'
85+
}
86+
87+
.ui-grid-icon-pencil:before {
88+
content: '\c357'
89+
}
90+
91+
.ui-grid-icon-down-dir:before {
92+
content: '\c358'
93+
}
94+
95+
.ui-grid-icon-up-dir:before {
96+
content: '\c359'
97+
}
98+
99+
.ui-grid-icon-left-dir:before {
100+
content: '\c35a'
101+
}
102+
103+
.ui-grid-icon-right-dir:before {
104+
content: '\c35b'
105+
}
106+
107+
.ui-grid-icon-left-open:before {
108+
content: '\c35c'
109+
}
110+
111+
.ui-grid-icon-right-open:before {
112+
content: '\c35d'
113+
}
114+
115+
.ui-grid-icon-angle-down:before {
116+
content: '\c35e'
117+
}
118+
119+
.ui-grid-icon-filter:before {
120+
content: '\c35f'
121+
}
122+
123+
.ui-grid-icon-sort-alt-up:before {
124+
content: '\c360'
125+
}
126+
127+
.ui-grid-icon-sort-alt-down:before {
128+
content: '\c361'
129+
}
130+
131+
.ui-grid-icon-ok:before {
132+
content: '\c362'
133+
}
134+
135+
.ui-grid-icon-menu:before {
136+
content: '\c363'
137+
}
138+
139+
.ui-grid-icon-indent-left:before {
140+
content: '\e800'
141+
}
142+
143+
.ui-grid-icon-indent-right:before {
144+
content: '\e801'
145+
}
146+
147+
.ui-grid-icon-spin5:before {
148+
content: '\ea61'
149+
}

less/menu.less

-14
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,6 @@
3838

3939
.rounded(@gridBorderRadius);
4040
.box-shadow(e("0 10px 20px rgba(0, 0, 0, 0.2), inset 0 12px 12px -14px rgba(0, 0, 0, 0.2)"));
41-
42-
// Small hidden close button that only appears when focused.
43-
.ui-grid-menu-close-button {
44-
position: absolute;
45-
right: 0px;
46-
top: 0px;
47-
#ui-grid-twbs > .btn();
48-
#ui-grid-twbs > .button-size(1px; 1px; 10px; 1; 2px);
49-
#ui-grid-twbs > .button-variant(transparent, transparent, transparent);
50-
> i {
51-
opacity: 0.75;
52-
color: black;
53-
}
54-
}
5541
}
5642

5743
.ui-grid-menu .ui-grid-menu-inner ul {

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "angular-ui-grid",
33
"description": "A data grid for Angular",
4-
"main": "ui-grid.js",
4+
"main": "index.js",
55
"ignore": [],
66
"dependencies": {
7-
"angular": ">=1.2.16 1.4.x"
7+
"angular": ">=1.4.0 1.5.x"
88
},
99
"repository": {
1010
"type": "git",
@@ -27,9 +27,8 @@
2727
"data grid"
2828
],
2929
"license": "MIT",
30-
"version": "3.2.11",
30+
"version": "4.0.4",
3131
"files": [
32-
"3.2.11",
3332
"less",
3433
"ui-grid.css",
3534
"ui-grid.eot",

0 commit comments

Comments
 (0)