File tree Expand file tree Collapse file tree
src/app/component/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
2+ <a name =" 2.0.0-beta.3 " ></a >
3+ # 2.0.0-beta.3 (2018-11-26)
4+
5+ * ** Style:** Modify ` <as-split-area> ` CSS selector to act only on current split areas children and not on potential sub split areas.
6+
7+
28<a name =" 2.0.0-beta.2 " ></a >
39# 2.0.0-beta.2 (2018-11-19)
410
Original file line number Diff line number Diff line change 11{
22 "name" : " angular-split" ,
3- "version" : " 2.0.0-beta.2 " ,
4- "description" : " Angular UI library used to split views and to allow dragging to resize the split areas using CSS flexbox layout." ,
3+ "version" : " 2.0.0-beta.3 " ,
4+ "description" : " Lightweight Angular UI library to split views and allow dragging to resize areas using CSS flexbox layout." ,
55 "author" : " bertrandg" ,
66 "repository" : {
77 "type" : " git" ,
1010 "bugs" : {
1111 "url" : " https://github.com/bertrandg/angular-split/issues"
1212 },
13- "homepage" : " https://github.com/bertrandg/ angular-split" ,
13+ "homepage" : " https://bertrandg. github.io/ angular-split/ " ,
1414 "keywords" : [
1515 " angular" ,
1616 " split" ,
Original file line number Diff line number Diff line change 1616 background-color : #eeeeee ;
1717 }
1818
19- ::ng- deep as- split- area {
19+ ::ng- deep > as- split- area {
2020 flex-grow : 0 ;
2121 flex-shrink : 0 ;
2222 overflow-x : hidden ;
2323 overflow-y : auto ;
2424
25+ /* When <as-split-area [visible]="false"> force size to 0. */
26+
2527 & .is-hided {
2628 flex-basis : 0 !important ;
2729 overflow-x : hidden ;
3638 background-image : url (" data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==" );
3739 cursor : col-resize ;
3840
39- // Fix safari bug about gutter height when direction is horizontal
41+ // Fix safari bug about gutter height when direction is horizontal.
4042 height : 100% ;
4143 }
4244
43- ::ng- deep as- split- area {
45+ ::ng- deep > as- split- area {
4446 height : 100% ;
4547 }
4648 }
5557 width : 100% ;
5658 }
5759
58- ::ng- deep as- split- area {
60+ ::ng- deep > as- split- area {
5961 width : 100% ;
6062
6163 & .is-hided {
6466 }
6567 }
6668
69+ /* When disabled remove gutters background image and specific cursor. */
70+
6771 & .is-disabled {
6872
6973 & > .as-split-gutter {
7276 }
7377 }
7478
75- & .is- transition.is-init : not( .is- dragging) {
79+ /* Add transition only when transition enabled + split initialized + not currently dragging. */
7680
77- & > .as-split-gutter {
78- transition : flex-basis 0.3s ;
79- }
81+ & .is-transition.is-init :not (.is-dragging ) {
8082
81- ::ng- deep as- split- area {
83+ & > .as-split-gutter ,
84+ ::ng- deep > as- split- area {
8285 transition : flex-basis 0.3s ;
8386 }
84-
8587 }
8688}
8789
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import { AComponent } from './AComponent';
1414 <div class="container">
1515 <sp-example-title [type]="exampleEnum.NESTED"></sp-example-title>
1616 <div class="split-example" style="height: 400px;">
17- <as-split direction="horizontal">
17+ <as-split direction="horizontal" [useTransition]="true" >
1818 <as-split-area size="40">
1919 <as-split direction="vertical">
2020 <as-split-area>
You can’t perform that action at this time.
0 commit comments