[MAVEN-BUILD] Royale-asjs - Build # 832 - Still Failing
The Apache Jenkins build system has built Royale-asjs (build #832) Status: Still Failing Check console output at https://builds.apache.org/job/Royale-asjs/832/ to view the results.
[royale-asjs] branch develop updated: fix example for now
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/develop by this push: new efe141b fix example for now efe141b is described below commit efe141be9f78c9586ad6df987687f24e9ab96f12 Author: Carlos Rovira AuthorDate: Fri Jun 29 21:07:59 2018 +0200 fix example for now --- examples/royale/JewelExample/src/main/royale/MainContent.mxml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/royale/JewelExample/src/main/royale/MainContent.mxml b/examples/royale/JewelExample/src/main/royale/MainContent.mxml index d8c215c..c40e424 100644 --- a/examples/royale/JewelExample/src/main/royale/MainContent.mxml +++ b/examples/royale/JewelExample/src/main/royale/MainContent.mxml @@ -35,7 +35,7 @@ limitations under the License. - + - +
[royale-asjs] branch develop updated: Drawer components and partial example in JewelExample
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/develop by this push: new 403b970 Drawer components and partial example in JewelExample 403b970 is described below commit 403b9701bd1049aeb4e438c3f128a7da752e4a5e Author: Carlos Rovira AuthorDate: Fri Jun 29 21:03:24 2018 +0200 Drawer components and partial example in JewelExample --- .../JewelExample/src/main/royale/MainContent.mxml | 22 +++ .../projects/Jewel/src/main/resources/defaults.css | 64 - .../Jewel/src/main/resources/jewel-manifest.xml| 6 + .../apache/royale/jewel/{Drawer.as => Divider.as} | 63 +--- .../main/royale/org/apache/royale/jewel/Drawer.as | 55 ++- .../royale/jewel/{Drawer.as => DrawerContent.as} | 63 +--- .../royale/jewel/{Drawer.as => DrawerHeader.as}| 63 +--- .../royale/jewel/{Drawer.as => Navigation.as} | 64 ++--- .../itemRenderers/NavigationLinkItemRenderer.as| 160 + .../{_itemRenderer.sass => _divider.sass} | 18 ++- .../Jewel/src/main/sass/components/_drawer.sass| 39 - .../src/main/sass/components/_itemRenderer.sass| 13 +- .../Jewel/src/main/sass/components/_list.sass | 13 ++ .../{_itemRenderer.sass => _navigation.sass} | 13 +- .../projects/Jewel/src/main/sass/defaults.sass | 2 + .../JewelTheme/src/main/resources/defaults.css | 19 ++- .../src/main/sass/components-primary/_drawer.sass | 33 +++-- 17 files changed, 443 insertions(+), 267 deletions(-) diff --git a/examples/royale/JewelExample/src/main/royale/MainContent.mxml b/examples/royale/JewelExample/src/main/royale/MainContent.mxml index 9b85ab0..d8c215c 100644 --- a/examples/royale/JewelExample/src/main/royale/MainContent.mxml +++ b/examples/royale/JewelExample/src/main/royale/MainContent.mxml @@ -31,6 +31,28 @@ limitations under the License. + + + + + + + + + + + + + + + + diff --git a/frameworks/projects/Jewel/src/main/resources/defaults.css b/frameworks/projects/Jewel/src/main/resources/defaults.css index de530ac..144929f 100644 --- a/frameworks/projects/Jewel/src/main/resources/defaults.css +++ b/frameworks/projects/Jewel/src/main/resources/defaults.css @@ -247,7 +247,7 @@ j|ControlBar { content: ""; opacity: 0; } -.jewel.drawer .jewel.navigation { +.jewel.drawer .drawermain { position: absolute; display: flex; flex-direction: column; @@ -262,8 +262,35 @@ j|ControlBar { opacity: 1; } +.jewel.drawerheader { + position: relative; +} +.jewel.drawerheader::before { + display: block; + padding-top: 56.25%; + content: ""; +} +.jewel.drawerheader div { + display: flex; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + align-items: flex-end; +} + +.jewel.drawercontent { + flex-grow: 1; + margin: 0; + overflow-x: hidden; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + touch-action: pan-y; +} + @media (min-width: 768px) { - .jewel.drawer .jewel.navigation { + .jewel.drawer .drawermain { width: calc(100% - 60px); max-width: 310px; } @@ -271,6 +298,16 @@ j|ControlBar { .remove-app-scroll { overflow: hidden; } + +.jewel.divider { + height: 0; + margin: 0; + border: none; + border-bottom-color: rgba(0, 0, 0, 0.12); + border-bottom-width: 1px; + border-bottom-style: solid; +} + @media -royale-swf { j|DropDownList { IBeadModel: ClassReference("org.apache.royale.core.beads.models.ArraySelectionModel"); @@ -294,6 +331,17 @@ j|ListItemRenderer { IBeadController: ClassReference("org.apache.royale.jewel.beads.controllers.ItemRendererMouseController"); } +.jewel.navigationlink { + text-decoration: none; + margin: 0; + padding: 16px 0px; + vertical-align: middle; + font-size: 14px; + font-weight: 400; + line-height: 24px; + letter-spacing: 0; +} + .jewel.label { white-space: nowrap; } @@ -2388,6 +2436,18 @@ j|List { IDataProviderItemRendererMapper: ClassReference("org.apache.royale.jewel.beads.DataItemRendererFactoryForCollectionView"); } +j|Navigation { + IBeadView: ClassReference("org.apache.royale.jewel.beads.views.ListView"); + IBeadController: ClassReference("org.apache.royale.jewel.beads.controllers.ListSingleSelectionMouseController"); + IBeadLayout: ClassReference("org.apache.royale.jewel.beads.layouts.VerticalLayout"); + IItemRendererClassFactory: ClassReference("org.apache.royale.core.ItemRendererClassFactory"); + IItemRenderer: ClassReference("org.apache.royale.jewel.itemRenderers.NavigationLinkItemRenderer"); + IViewport:
[royale-compiler] branch develop updated: add header and main html element names
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git The following commit(s) were added to refs/heads/develop by this push: new b0ae578 add header and main html element names b0ae578 is described below commit b0ae578de1cbb2af907acb4bbf3c7da85477d0d7 Author: Carlos Rovira AuthorDate: Fri Jun 29 20:58:06 2018 +0200 add header and main html element names --- .../compiler/internal/driver/js/royale/JSCSSCompilationSession.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java index 27d3eb5..24b1a5a 100644 --- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java +++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java @@ -304,12 +304,14 @@ public class JSCSSCompilationSession extends CSSCompilationSession "h4", "h5", "h6", +"header", "hr", "i", "img", "input", "label", "li", +"main", "menu", "nav", "ol",
[MAVEN-BUILD] Royale-asjs - Build # 831 - Still Failing
The Apache Jenkins build system has built Royale-asjs (build #831) Status: Still Failing Check console output at https://builds.apache.org/job/Royale-asjs/831/ to view the results.
[royale-compiler] branch develop updated: add "aside" and "nav" to htmlElementNames
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git The following commit(s) were added to refs/heads/develop by this push: new 8438390 add "aside" and "nav" to htmlElementNames 8438390 is described below commit 84383902d14505a6b5572eb439cfea89f012977a Author: Carlos Rovira AuthorDate: Fri Jun 29 18:39:48 2018 +0200 add "aside" and "nav" to htmlElementNames --- .../compiler/internal/driver/js/royale/JSCSSCompilationSession.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java index 3c8f8be..27d3eb5 100644 --- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java +++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/driver/js/royale/JSCSSCompilationSession.java @@ -283,6 +283,7 @@ public class JSCSSCompilationSession extends CSSCompilationSession List htmlElementNames = Arrays.asList( "a", +"aside", "b", "br", "body", @@ -310,6 +311,7 @@ public class JSCSSCompilationSession extends CSSCompilationSession "label", "li", "menu", +"nav", "ol", "option", "p",
[royale-asjs] branch develop updated: Make positioner returns _postiioner in StyledUIBase components
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/develop by this push: new 41ac999 Make positioner returns _postiioner in StyledUIBase components 41ac999 is described below commit 41ac99912fbb15401187a2e1c09c3156c611fe3e Author: Carlos Rovira AuthorDate: Fri Jun 29 17:34:02 2018 +0200 Make positioner returns _postiioner in StyledUIBase components --- .../royale/org/apache/royale/core/StyledUIBase.as| 20 .../main/royale/org/apache/royale/jewel/Button.as| 3 +++ .../main/royale/org/apache/royale/jewel/CheckBox.as | 17 + .../royale/org/apache/royale/jewel/DropDownList.as | 1 + .../src/main/royale/org/apache/royale/jewel/Label.as | 2 ++ .../royale/org/apache/royale/jewel/RadioButton.as| 17 + .../main/royale/org/apache/royale/jewel/Slider.as| 17 + .../main/royale/org/apache/royale/jewel/TextArea.as | 17 + .../main/royale/org/apache/royale/jewel/TextInput.as | 17 + 9 files changed, 31 insertions(+), 80 deletions(-) diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyledUIBase.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyledUIBase.as index 0e10e72..b546053 100644 --- a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyledUIBase.as +++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyledUIBase.as @@ -20,6 +20,11 @@ package org.apache.royale.core { import org.apache.royale.utils.ClassSelectorList; +COMPILE::JS +{ +import org.apache.royale.core.WrappedHTMLElement; +} + /** * The StyledUIBase is the base class for UIBase components that makes * heavy use of styles @@ -45,6 +50,21 @@ package org.apache.royale.core classSelectorList = new ClassSelectorList(this); } +COMPILE::JS + private var _positioner:WrappedHTMLElement; + + COMPILE::JS + override public function get positioner():WrappedHTMLElement + { + return _positioner; + } + + COMPILE::JS + override public function set positioner(value:WrappedHTMLElement):void + { + _positioner = value; + } + protected var classSelectorList:ClassSelectorList; COMPILE::JS diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Button.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Button.as index a06b9ab..1630850 100644 --- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Button.as +++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Button.as @@ -444,6 +444,9 @@ package org.apache.royale.jewel var impl:Object = org.apache.royale.core.ValuesManager.valuesImpl. getValue(this, 'iStatesImpl'); }*/ +positioner = element; + + return element; } } diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/CheckBox.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/CheckBox.as index b1d19ea..f0d4488 100644 --- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/CheckBox.as +++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/CheckBox.as @@ -191,21 +191,6 @@ package org.apache.royale.jewel COMPILE::JS protected var label:HTMLLabelElement; - -COMPILE::JS - private var _positioner:WrappedHTMLElement; - - COMPILE::JS - override public function get positioner():WrappedHTMLElement - { - return _positioner; - } - - COMPILE::JS - override public function set positioner(value:WrappedHTMLElement):void - { - _positioner = value; - } /** * @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement @@ -227,7 +212,7 @@ package org.apache.royale.jewel label.appendChild(checkbox); positioner = label as WrappedHTMLElement; -_positioner.royale_wrapper = this; +positioner.royale_wrapper = this; //(input as WrappedHTMLElement).royale_wrapper = this; //(checkbox as WrappedHTMLElement).royale_wrapper = this; return element; diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/DropDownList.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/DropDownList.as index ea273bb..5091738 100644
[MAVEN-BUILD] Royale-asjs - Build # 830 - Still Failing
The Apache Jenkins build system has built Royale-asjs (build #830) Status: Still Failing Check console output at https://builds.apache.org/job/Royale-asjs/830/ to view the results.
[MAVEN-BUILD] Royale-asjs - Build # 829 - Failure
The Apache Jenkins build system has built Royale-asjs (build #829) Status: Failure Check console output at https://builds.apache.org/job/Royale-asjs/829/ to view the results.
[royale-asjs] branch develop updated: jewel theme update with drawer
This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/develop by this push: new d4bf00b jewel theme update with drawer d4bf00b is described below commit d4bf00bd0df191d1d95ebc6b09f609f28f29e4be Author: Carlos Rovira AuthorDate: Fri Jun 29 09:22:44 2018 +0200 jewel theme update with drawer --- .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + .../src/main/resources/defaults.css| 29 +- .../src/main/sass/defaults.sass| 1 + 48 files changed, 696 insertions(+), 24 deletions(-) diff --git a/frameworks/themes/Jewel-Dark-NoFlat-Primary-Amethyst-Theme/src/main/resources/defaults.css b/frameworks/themes/Jewel-Dark-NoFlat-Primary-Amethyst-Theme/src/main/resources/defaults.css index b9bdf4a..30a6bbb 100644 --- a/frameworks/themes/Jewel-Dark-NoFlat-Primary-Amethyst-Theme/src/main/resources/defaults.css +++ b/frameworks/themes/Jewel-Dark-NoFlat-Primary-Amethyst-Theme/src/main/resources/defaults.css @@ -230,6 +230,32 @@ j|Card { font-size: 16px; } +.jewel.drawer { + color: rgba(0, 0, 0, 0.8); +} +.jewel.drawer::before { + background-color: rgba(0, 0, 0, 0.65); + will-change: opacity; + transition: opacity 0.4s 0ms; +} +.jewel.drawer .jewel.navigation { + border-right: 1px solid #262626; + box-shadow: 0px 0px 6px 1px rgba(1, 1, 1, 0.7); + transform: translateX(-104%); + will-change: transform; + width: calc(100% - 54px); + max-width: 280px; + background-color: #595959; + transition: transform 250ms 0ms; +} +.jewel.drawer.open .jewel.navigation { + transform: none; + transition: transform 300ms 0ms; +} +.jewel.drawer > * { + padding-left: 40px; +} + .jewel.item