diff --git a/contributing.md b/contributing.md new file mode 100644 index 0000000..18a7fa5 --- /dev/null +++ b/contributing.md @@ -0,0 +1,23 @@ + +Contributions of all kinds are welcome! + +**Reporting Issues** + +\* Please use [ZK tracker](https://tracker.zkoss.org/projects/ZK) to report issues. + +\* Before creating an issue, please review open issues to avoid a duplicate. + +\* If you have a question, not an issue, please discuss it in [ZK Forum](https://forum.zkoss.org/questions/). + +**Contributing codes** + +If you wish to contribute code, please create a corresponding issue [in tracker](https://tracker.zkoss.org/projects/ZK) and a pull request containing the ID of the issue from the tracker with your comments. Your request will be reviewed before being merged. + +**License and Copyright** + +This project is created and maintained by Potix Corporation. + +Any contributed content is licensed under the same license and terms as the project license. By contributing your code, you certify that you created the content and agree to surrender your copyright of the contributed code to Potix. + + +For any inquiries and questions, please contact us at info@zkoss.org. diff --git a/package-lock.json b/package-lock.json index 0559942..633aa96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -235,9 +235,9 @@ } }, "node_modules/glob-parent": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", - "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dependencies": { "is-glob": "^4.0.1" }, @@ -382,9 +382,9 @@ } }, "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, "node_modules/ms": { "version": "2.1.2", @@ -456,9 +456,9 @@ } }, "node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "optional": true, "bin": { "semver": "bin/semver" @@ -749,9 +749,9 @@ "optional": true }, "glob-parent": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", - "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "requires": { "is-glob": "^4.0.1" } @@ -852,9 +852,9 @@ } }, "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, "ms": { "version": "2.1.2", @@ -908,9 +908,9 @@ } }, "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "optional": true }, "socket.io": { diff --git a/pom.xml b/pom.xml index 3416fce..606b04a 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.zkoss.theme atlantic - 9.6.3-SNAPSHOT + 9.6.5-SNAPSHOT 9.6.0-Eval yyyy-MM-dd diff --git a/src/archive/metainfo/zk/config.xml b/src/archive/metainfo/zk/config.xml index 2303b41..b08b80e 100644 --- a/src/archive/metainfo/zk/config.xml +++ b/src/archive/metainfo/zk/config.xml @@ -5,7 +5,7 @@ zul org.zkoss.theme.atlantic.Version - 9.6.3 + 9.6.5 diff --git a/src/archive/metainfo/zk/lang-addon.xml b/src/archive/metainfo/zk/lang-addon.xml index 8cf671d..2ecaf7c 100644 --- a/src/archive/metainfo/zk/lang-addon.xml +++ b/src/archive/metainfo/zk/lang-addon.xml @@ -5,6 +5,6 @@ org.zkoss.theme.atlantic.Version - 9.6.3 + 9.6.5 diff --git a/src/archive/web/js/zul/layout/less/borderlayout.less b/src/archive/web/js/zul/layout/less/borderlayout.less index 0ff880a..91a9d56 100644 --- a/src/archive/web/js/zul/layout/less/borderlayout.less +++ b/src/archive/web/js/zul/layout/less/borderlayout.less @@ -87,6 +87,10 @@ .z-west, .z-east { height: 100%; // Fixed for B30-1902533.zul + &-title { + .transform('rotate(90deg)'); + .applyCSS3('transform-origin', 'left bottom'); + } } .z-west, @@ -154,9 +158,6 @@ overflow: hidden; line-height: @iconHeight; position: absolute; - - .transform('rotate(90deg)'); - .applyCSS3('transform-origin', 'left bottom'); } } .z-north-splitter, diff --git a/src/archive/web/zul/less/_reset.less b/src/archive/web/zul/less/_reset.less index cc10a0a..388248c 100644 --- a/src/archive/web/zul/less/_reset.less +++ b/src/archive/web/zul/less/_reset.less @@ -6,26 +6,27 @@ // Display in IE6-9 and FF3 // ------------------------- - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { +@browserDefault: "'org.zkoss.zul.theme.browserDefault'"; +@browserDefaultPrefix: e('${".z-page "}'); +@{browserDefaultPrefix}article, +@{browserDefaultPrefix}aside, +@{browserDefaultPrefix}details, +@{browserDefaultPrefix}figcaption, +@{browserDefaultPrefix}figure, +@{browserDefaultPrefix}footer, +@{browserDefaultPrefix}header, +@{browserDefaultPrefix}hgroup, +@{browserDefaultPrefix}nav, +@{browserDefaultPrefix}section { display: block; } // Display block in IE6-9 and FF3 // ------------------------- -audio, -canvas, -video { +@{browserDefaultPrefix}audio, +@{browserDefaultPrefix}canvas, +@{browserDefaultPrefix}video { display: inline-block; *display: inline; *zoom: 1; @@ -34,51 +35,53 @@ video { // Prevents modern browsers from displaying 'audio' without controls // ------------------------- -audio:not([controls]) { - display: none; +@{browserDefaultPrefix}audio:not([controls]) { + display: none; } // Base settings // ------------------------- +e(''); html { font-size: 100%; -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; } +e(''); // Focus states -a:focus { +@{browserDefaultPrefix}a:focus { outline: none; // Disable for Potix on 5/29/2013 //.tab-focus(); } // Hover & Active -a:hover, -a:active { +@{browserDefaultPrefix}a:hover, +@{browserDefaultPrefix}a:active { outline: 0; } // Prevents sub and sup affecting line-height in all browsers // ------------------------- -sub, -sup { +@{browserDefaultPrefix}sub, +@{browserDefaultPrefix}sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; } -sup { +@{browserDefaultPrefix}sup { top: -0.5em; } -sub { +@{browserDefaultPrefix}sub { bottom: -0.25em; } // Img border in a's and image quality // ------------------------- -img { +@{browserDefaultPrefix}img { /* Responsive images (ensure images don't scale beyond their parents) */ // Potix: this style will make img invisible in ie8 @@ -92,8 +95,8 @@ img { } // Prevent max-width from affecting Google Maps -#map_canvas img, -.google-maps img { +.google-maps img, +#map_canvas img { max-width: none; } @@ -101,52 +104,53 @@ img { // ------------------------- // Font size in all browsers, margin changes, misc consistency -button, -input, -select, -textarea { +@{browserDefaultPrefix}button, +@{browserDefaultPrefix}input, +@{browserDefaultPrefix}select, +@{browserDefaultPrefix}textarea { margin: 0; font-size: 100%; vertical-align: middle; } -button, -input { +@{browserDefaultPrefix}button, +@{browserDefaultPrefix}input { *overflow: visible; // Inner spacing ie IE6/7 line-height: normal; // FF3/4 have !important on line-height in UA stylesheet } -button::-moz-focus-inner, -input::-moz-focus-inner { // Inner padding and border oddities in FF3/4 +@{browserDefaultPrefix}label, +@{browserDefaultPrefix}select, +@{browserDefaultPrefix}button, +@{browserDefaultPrefix}input[type="button"], +@{browserDefaultPrefix}input[type="reset"], +@{browserDefaultPrefix}input[type="submit"], +@{browserDefaultPrefix}input[type="radio"], +@{browserDefaultPrefix}input[type="checkbox"] { + cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others. +} +// Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. +@{browserDefaultPrefix}button, +html @{browserDefaultPrefix}input[type="button"], +@{browserDefaultPrefix}input[type="reset"], +@{browserDefaultPrefix}input[type="submit"] { + -webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS. + cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others. +} +@{browserDefaultPrefix}button::-moz-focus-inner, +@{browserDefaultPrefix}input::-moz-focus-inner { // Inner padding and border oddities in FF3/4 padding: 0; border: 0; } -button, -html input[type="button"], // Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS. - cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others. -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others. -} -input[type="search"] { // Appearance in Safari/Chrome +@{browserDefaultPrefix}input[type="search"] { // Appearance in Safari/Chrome // Potix: using zk mixins //.box-sizing(content-box); .applyCSS3('box-sizing', 'content-box'); -webkit-appearance: textfield; } -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { +@{browserDefaultPrefix}input[type="search"]::-webkit-search-decoration, +@{browserDefaultPrefix}input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5 } -textarea { +@{browserDefaultPrefix}textarea { overflow: auto; // Remove vertical scrollbar in IE6-9 vertical-align: top; // Readability and alignment cross-browser } @@ -199,7 +203,7 @@ textarea { } img { - // Potix: this style will make img invisible in ie8 + // Potix: this style will make img invisible in ie8 // max-width: 100% !important; } diff --git a/src/archive/web/zul/less/norm.less b/src/archive/web/zul/less/norm.less index 2f07f30..bef11b9 100644 --- a/src/archive/web/zul/less/norm.less +++ b/src/archive/web/zul/less/norm.less @@ -1,9 +1,11 @@ @import "~./zul/less/_header.less"; @import "~./zul/less/_reset.less"; +e(''); html, body { height: 100%; } +e(''); // affect ZK component only [class^="z-"], @@ -17,33 +19,33 @@ html, body { } // Reset -input[type=number]::-webkit-inner-spin-button, -input[type=number]::-webkit-outer-spin-button { +@{browserDefaultPrefix}input[type=number]::-webkit-inner-spin-button, +@{browserDefaultPrefix}input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } -input, -input:focus, -textarea, -textarea:focus { +@{browserDefaultPrefix}input, +@{browserDefaultPrefix}input:focus, +@{browserDefaultPrefix}textarea, +@{browserDefaultPrefix}textarea:focus { -webkit-appearance: none; -moz-appearance: none; outline: none; -webkit-user-select: text; } -*:focus { +@{browserDefaultPrefix}*:focus { outline: none; } -fieldset { +@{browserDefaultPrefix}fieldset { border: 1px solid @baseBorderColor; .borderRadius(0); margin: 0 2px; padding: 0; } -legend { +@{browserDefaultPrefix}legend { border: 0; padding: 0; } @@ -53,7 +55,6 @@ legend { border: 0; } } -@browserDefault: "'org.zkoss.zul.theme.browserDefault'"; e(''); body { margin: 0; @@ -152,12 +153,12 @@ e(''); } //radio, radiogroup -input[type="radio"] { +@{browserDefaultPrefix}input[type="radio"] { -webkit-appearance: radio; -moz-appearance: radio; margin: 0 2px 4px; } -input[type="checkbox"] { +@{browserDefaultPrefix}input[type="checkbox"] { -webkit-appearance: checkbox; -moz-appearance: checkbox; margin: 0 2px 4px; diff --git a/src/org/zkoss/theme/atlantic/Version.java b/src/org/zkoss/theme/atlantic/Version.java index 47244ec..a391edf 100644 --- a/src/org/zkoss/theme/atlantic/Version.java +++ b/src/org/zkoss/theme/atlantic/Version.java @@ -3,5 +3,5 @@ public class Version { /** Returns the version UID. */ - public static final String UID = "9.6.3"; + public static final String UID = "9.6.5"; } diff --git a/version b/version index 821543e..d349fde 100644 --- a/version +++ b/version @@ -1,2 +1,2 @@ 9.0.0 -9.6.3 +9.6.5 diff --git a/zkdoc/release-note b/zkdoc/release-note index 89834c1..8800f8b 100644 --- a/zkdoc/release-note +++ b/zkdoc/release-note @@ -1,7 +1,27 @@ +Atlantic 9.6.5 +* Features: + +* Bugs: + +* Upgrade Notes: + + -------- +Atlantic 9.6.4 +May 16, 2023 +* Features: + +* Bugs: + ZK-5061: ZK Embedded loading default ZK styles causes style changes to the outer page + +* Upgrade Notes: + + -------- Atlantic 9.6.3 +Oct 25, 2022 * Features: * Bugs: + ZK-5253: title of borderlayout north/south shouldn't rotate 90 degrees * Upgrade Notes: