@qooxdoo/framework 7.0.0-beta.1 → 7.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/Manifest.json +2 -2
- package/bin/deploy/qx +0 -0
- package/lib/compiler/compile-info.json +59 -60
- package/lib/compiler/index.js +636 -7815
- package/lib/resource/qx/tool/cli/templates/loader/loader-node.tmpl.js +3 -1
- package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css +1 -1
- package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css.map +1 -1
- package/lib/resource/qx/tool/cli/templates/template_vars.js +1 -1
- package/lib/resource/qx/tool/loadsass.js +2 -10
- package/lib/resource/qx/tool/schema/Manifest-1-0-0.json +1 -2
- package/lib/resource/qx/tool/schema/Manifest-2-0-0.json +1 -2
- package/lib/resource/qx/tool/schema/compile-1-0-0.json +3 -7
- package/package.json +11 -11
- package/source/class/qx/test/type/BaseString.js +7 -0
- package/source/class/qx/test/ui/embed/Iframe.js +1 -0
- package/source/class/qx/test/ui/form/ComboBox.js +0 -42
- package/source/class/qx/theme/manager/Decoration.js +0 -0
- package/source/class/qx/theme/tangible/ColorDark.js +0 -0
- package/source/class/qx/tool/cli/Cli.js +5 -3
- package/source/class/qx/tool/cli/api/CompilerApi.js +15 -5
- package/source/class/qx/tool/cli/commands/Command.js +7 -0
- package/source/class/qx/tool/cli/commands/Compile.js +6 -6
- package/source/class/qx/tool/cli/commands/Lint.js +30 -11
- package/source/class/qx/tool/cli/commands/Package.js +1 -2
- package/source/class/qx/tool/cli/commands/package/Publish.js +19 -10
- package/source/class/qx/tool/compiler/Analyser.js +21 -22
- package/source/class/qx/tool/compiler/app/WebFont.js +1 -1
- package/source/class/qx/tool/compiler/makers/AppMaker.js +13 -13
- package/source/class/qx/tool/compiler/targets/TypeScriptWriter.js +1 -2
- package/source/class/qx/tool/compiler/targets/meta/PolyfillJs.js +7 -7
- package/source/class/qx/tool/config/Abstract.js +3 -3
- package/source/class/qx/tool/config/Utils.js +10 -1
- package/source/class/qx/tool/utils/Json.js +1 -1
- package/source/class/qx/type/BaseString.js +2 -1
- package/source/class/qx/ui/container/SlideBar.js +3 -0
- package/source/class/qx/ui/core/Widget.js +70 -0
- package/source/class/qx/ui/core/scroll/NativeScrollBar.js +3 -0
- package/source/class/qx/ui/core/scroll/ScrollBar.js +3 -0
- package/source/class/qx/ui/form/AbstractSelectBox.js +38 -6
- package/source/class/qx/ui/form/Button.js +3 -0
- package/source/class/qx/ui/form/CheckBox.js +25 -1
- package/source/class/qx/ui/form/ComboBox.js +36 -27
- package/source/class/qx/ui/form/DateField.js +16 -1
- package/source/class/qx/ui/form/List.js +3 -0
- package/source/class/qx/ui/form/MenuButton.js +24 -2
- package/source/class/qx/ui/form/RadioButton.js +7 -0
- package/source/class/qx/ui/form/RadioButtonGroup.js +3 -0
- package/source/class/qx/ui/form/RadioGroup.js +19 -0
- package/source/class/qx/ui/form/SelectBox.js +23 -1
- package/source/class/qx/ui/form/Slider.js +15 -0
- package/source/class/qx/ui/form/SplitButton.js +3 -0
- package/source/class/qx/ui/form/ToggleButton.js +8 -0
- package/source/class/qx/ui/menu/AbstractButton.js +24 -0
- package/source/class/qx/ui/menu/Button.js +3 -0
- package/source/class/qx/ui/menu/CheckBox.js +8 -0
- package/source/class/qx/ui/menu/Manager.js +2 -0
- package/source/class/qx/ui/menu/Menu.js +63 -1
- package/source/class/qx/ui/menu/RadioButton.js +10 -1
- package/source/class/qx/ui/menubar/Button.js +0 -27
- package/source/class/qx/ui/menubar/MenuBar.js +12 -0
- package/source/class/qx/ui/splitpane/Blocker.js +3 -0
- package/source/class/qx/ui/splitpane/Pane.js +3 -0
- package/source/class/qx/ui/table/Table.js +24 -2
- package/source/class/qx/ui/table/cellrenderer/Abstract.js +3 -1
- package/source/class/qx/ui/table/cellrenderer/AbstractImage.js +7 -3
- package/source/class/qx/ui/table/headerrenderer/HeaderCell.js +3 -0
- package/source/class/qx/ui/table/pane/Header.js +3 -0
- package/source/class/qx/ui/table/pane/Scroller.js +3 -7
- package/source/class/qx/ui/table/rowrenderer/Default.js +1 -1
- package/source/class/qx/ui/tabview/Page.js +26 -0
- package/source/class/qx/ui/tabview/TabView.js +3 -0
- package/source/class/qx/ui/toolbar/Button.js +2 -27
- package/source/class/qx/ui/toolbar/CheckBox.js +0 -27
- package/source/class/qx/ui/toolbar/RadioButton.js +21 -0
- package/source/class/qx/ui/toolbar/SplitButton.js +0 -28
- package/source/class/qx/ui/toolbar/ToolBar.js +3 -0
- package/source/class/qx/ui/window/Window.js +8 -0
- package/source/class/qxWeb.js +2 -0
- package/source/resource/qx/decoration/Indigo/font/JosefinSlab-SemiBold.ttf +0 -0
- package/source/resource/qx/decoration/Indigo/font/SIL Open Font License 1.1.txt +0 -0
- package/source/resource/qx/iconfont/MaterialIcons/fetch-fonts.sh +0 -0
- package/source/resource/qx/mobile/scss/common/_gradients.scss +3 -1
- package/source/resource/qx/mobile/scss/theme/indigo/_styles.scss +1 -1
- package/source/resource/qx/mobile/scss/ui/_carousel.scss +2 -2
- package/source/resource/qx/mobile/scss/ui/_checkbox.scss +3 -3
- package/source/resource/qx/mobile/scss/ui/_collapsible.scss +2 -2
- package/source/resource/qx/mobile/scss/ui/_picker.scss +4 -4
- package/source/resource/qx/mobile/scss/ui/_radiobutton.scss +4 -4
- package/source/resource/qx/mobile/scss/ui/_slider.scss +7 -7
- package/source/resource/qx/scss/_gradients.scss +3 -1
- package/source/resource/qx/scss/_mixins.scss +4 -2
- package/source/resource/qx/tool/bin/build-devtools +0 -0
- package/source/resource/qx/tool/bin/build-website +0 -0
- package/source/resource/qx/tool/bin/download-assets +0 -0
- package/source/resource/qx/tool/cli/templates/loader/loader-node.tmpl.js +3 -1
- package/source/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/scss/_styles.scss +1 -1
- package/source/resource/qx/tool/cli/templates/template_vars.js +1 -1
- package/source/resource/qx/tool/loadsass.js +2 -10
- package/source/resource/qx/tool/schema/Manifest-1-0-0.json +1 -2
- package/source/resource/qx/tool/schema/Manifest-2-0-0.json +1 -2
- package/source/resource/qx/tool/schema/compile-1-0-0.json +3 -7
- package/source/resource/qx/website/scss/ui/_carousel.scss +2 -2
- package/lib/resource/qx/tool/website/.gitignore +0 -2
- package/source/class/qx/io/request/auth/.gitignore +0 -0
- package/source/class/qx/test/bom/client/.gitignore +0 -0
- package/source/class/qx/test/ui/control/.gitignore +0 -0
- package/source/class/qx/tool/compiler/Version.js +0 -20
- package/source/resource/qx/decoration/Modern/treevirtual/.gitignore +0 -0
- package/source/resource/qx/mobile/css/.gitignore +0 -3
- package/source/resource/qx/tool/website/.gitignore +0 -2
- package/source/resource/qx/website/.gitignore +0 -1
- package/source/resource/qx/website/scss/.gitignore +0 -1
|
@@ -24,27 +24,6 @@ qx.Class.define("qx.ui.toolbar.CheckBox",
|
|
|
24
24
|
{
|
|
25
25
|
extend : qx.ui.form.ToggleButton,
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
*****************************************************************************
|
|
32
|
-
CONSTRUCTOR
|
|
33
|
-
*****************************************************************************
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
|
-
construct : function(label, icon)
|
|
37
|
-
{
|
|
38
|
-
this.base(arguments, label, icon);
|
|
39
|
-
|
|
40
|
-
// Toolbar buttons should not support the keyboard events
|
|
41
|
-
this.removeListener("keydown", this._onKeyDown);
|
|
42
|
-
this.removeListener("keyup", this._onKeyUp);
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
27
|
/*
|
|
49
28
|
*****************************************************************************
|
|
50
29
|
PROPERTIES
|
|
@@ -64,12 +43,6 @@ qx.Class.define("qx.ui.toolbar.CheckBox",
|
|
|
64
43
|
refine : true,
|
|
65
44
|
init : "inherit"
|
|
66
45
|
},
|
|
67
|
-
|
|
68
|
-
focusable :
|
|
69
|
-
{
|
|
70
|
-
refine : true,
|
|
71
|
-
init : false
|
|
72
|
-
}
|
|
73
46
|
},
|
|
74
47
|
|
|
75
48
|
members : {
|
|
@@ -29,7 +29,23 @@ qx.Class.define("qx.ui.toolbar.RadioButton",
|
|
|
29
29
|
include : [qx.ui.form.MModelProperty],
|
|
30
30
|
implement : [qx.ui.form.IModel, qx.ui.form.IRadioItem],
|
|
31
31
|
|
|
32
|
+
/*
|
|
33
|
+
*****************************************************************************
|
|
34
|
+
CONSTRUCTOR
|
|
35
|
+
*****************************************************************************
|
|
36
|
+
*/
|
|
32
37
|
|
|
38
|
+
construct : function(label, icon)
|
|
39
|
+
{
|
|
40
|
+
this.base(arguments, label, icon);
|
|
41
|
+
|
|
42
|
+
// ARIA attrs
|
|
43
|
+
// Important: (Grouped) radio btns should be children of a div with role 'radiogroup'
|
|
44
|
+
const contentEl = this.getContentElement();
|
|
45
|
+
contentEl.setAttribute("role", "radio");
|
|
46
|
+
contentEl.setAttribute("aria-checked", false);
|
|
47
|
+
contentEl.removeAttribute("aria-pressed");
|
|
48
|
+
},
|
|
33
49
|
|
|
34
50
|
|
|
35
51
|
/*
|
|
@@ -51,6 +67,11 @@ qx.Class.define("qx.ui.toolbar.RadioButton",
|
|
|
51
67
|
{
|
|
52
68
|
this.base(arguments, value, old);
|
|
53
69
|
|
|
70
|
+
// ARIA attrs
|
|
71
|
+
const contentEl = this.getContentElement();
|
|
72
|
+
contentEl.removeAttribute("aria-pressed");
|
|
73
|
+
contentEl.setAttribute("aria-checked", Boolean(value));
|
|
74
|
+
|
|
54
75
|
if (value)
|
|
55
76
|
{
|
|
56
77
|
var grp = this.getGroup();
|
|
@@ -28,26 +28,6 @@ qx.Class.define("qx.ui.toolbar.SplitButton",
|
|
|
28
28
|
{
|
|
29
29
|
extend : qx.ui.form.SplitButton,
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/*
|
|
34
|
-
*****************************************************************************
|
|
35
|
-
CONSTRUCTOR
|
|
36
|
-
*****************************************************************************
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
construct : function(label, icon, menu, command)
|
|
40
|
-
{
|
|
41
|
-
this.base(arguments, label, icon, menu, command);
|
|
42
|
-
|
|
43
|
-
// Toolbar buttons should not support the keyboard events
|
|
44
|
-
this.removeListener("keydown", this._onKeyDown);
|
|
45
|
-
this.removeListener("keyup", this._onKeyUp);
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
31
|
/*
|
|
52
32
|
*****************************************************************************
|
|
53
33
|
PROPERTIES
|
|
@@ -62,14 +42,6 @@ qx.Class.define("qx.ui.toolbar.SplitButton",
|
|
|
62
42
|
refine : true,
|
|
63
43
|
init : "toolbar-splitbutton"
|
|
64
44
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
// overridden
|
|
68
|
-
focusable :
|
|
69
|
-
{
|
|
70
|
-
refine : true,
|
|
71
|
-
init : false
|
|
72
|
-
}
|
|
73
45
|
},
|
|
74
46
|
|
|
75
47
|
|
|
@@ -102,6 +102,11 @@ qx.Class.define("qx.ui.window.Window",
|
|
|
102
102
|
|
|
103
103
|
// Change the resize frames appearance
|
|
104
104
|
this._getResizeFrame().setAppearance("window-resize-frame");
|
|
105
|
+
|
|
106
|
+
// ARIA attrs
|
|
107
|
+
this.getContentElement().setAttribute("role", "dialog");
|
|
108
|
+
this.addAriaLabelledBy(this.getChildControl("title"));
|
|
109
|
+
this.addAriaDescribedBy(this.getChildControl("statusbar-text"));
|
|
105
110
|
},
|
|
106
111
|
|
|
107
112
|
|
|
@@ -961,6 +966,9 @@ qx.Class.define("qx.ui.window.Window",
|
|
|
961
966
|
} else {
|
|
962
967
|
this.addState("modal");
|
|
963
968
|
}
|
|
969
|
+
|
|
970
|
+
// ARIA attrs
|
|
971
|
+
this.getContentElement().setAttribute("aria-modal", value);
|
|
964
972
|
},
|
|
965
973
|
|
|
966
974
|
|
package/source/class/qxWeb.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* If the first value is a color (or "transparent"), the mixin creates a plain colored background with it.
|
|
7
7
|
* If multiple values are passed, the background mixins attempts to create a linear gradient through "linear-gradient" mixin.
|
|
8
8
|
*/
|
|
9
|
+
@use "sass:math";
|
|
10
|
+
|
|
9
11
|
@mixin background($values) {
|
|
10
12
|
@if (length($values) == 1) {
|
|
11
13
|
background-color: $values;
|
|
@@ -97,7 +99,7 @@
|
|
|
97
99
|
$next: nth($values, $i + 1);
|
|
98
100
|
|
|
99
101
|
// If no position is passed inside color-stop, it calculates the position in percent.
|
|
100
|
-
$pos: ($i - 1)*(1
|
|
102
|
+
$pos: ($i - 1)*math.div(1, $last - 1);
|
|
101
103
|
|
|
102
104
|
// Separator between color-stops.
|
|
103
105
|
$separator: "";
|
|
@@ -145,7 +145,7 @@ $menu-item-selected-background: lighten($highlight-color, 20%), $highlight-colo
|
|
|
145
145
|
|
|
146
146
|
$navigationbar-height: rem(40);
|
|
147
147
|
$navigationbar-background: $color-2,$color-1;
|
|
148
|
-
$navigationbar-text-size: $navigationbar-height
|
|
148
|
+
$navigationbar-text-size: $navigationbar-height*0.5;
|
|
149
149
|
$navigationbar-text-color: $background-color;
|
|
150
150
|
$navigationbar-padding: rem(4);
|
|
151
151
|
$navigationbar-font-weight: bold;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
transition: transform 2s;
|
|
31
31
|
|
|
32
32
|
position:absolute;
|
|
33
|
-
bottom: $carousel-pagination-size
|
|
33
|
+
bottom: $carousel-pagination-size*0.5;
|
|
34
34
|
height: $carousel-pagination-size;
|
|
35
35
|
line-height: 0;
|
|
36
36
|
width: auto;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.carousel-pagination-label + .carousel-pagination-label {
|
|
41
|
-
margin-left: $carousel-pagination-size
|
|
41
|
+
margin-left: $carousel-pagination-size*0.5;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.carousel-pagination-label {
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
position: absolute;
|
|
34
34
|
left:50%;
|
|
35
35
|
top:50%;
|
|
36
|
-
margin-left: -1*($checkbox-tick-size
|
|
37
|
-
margin-top: -1*($checkbox-tick-size
|
|
36
|
+
margin-left: -1*($checkbox-tick-size*0.5) - ($checkbox-tick-width*0.5);
|
|
37
|
+
margin-top: -1*($checkbox-tick-size*0.5) - ($checkbox-tick-width*0.5);
|
|
38
38
|
|
|
39
39
|
display:block;
|
|
40
40
|
opacity: 0;
|
|
41
41
|
content:"";
|
|
42
42
|
width: $checkbox-tick-size;
|
|
43
|
-
height: $checkbox-tick-size
|
|
43
|
+
height: $checkbox-tick-size*0.5;
|
|
44
44
|
background: transparent;
|
|
45
45
|
|
|
46
46
|
border: $checkbox-tick-width solid $checkbox-tick-color;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
position: absolute;
|
|
54
54
|
top: 50%;
|
|
55
55
|
right: $collapsible-header-padding;
|
|
56
|
-
margin-top:-1*($collapsible-arrow-size)
|
|
56
|
+
margin-top:-1*($collapsible-arrow-size)*0.5;
|
|
57
57
|
display:block;
|
|
58
58
|
content: "";
|
|
59
59
|
}
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
position: absolute;
|
|
69
69
|
top: 50%;
|
|
70
70
|
right: $collapsible-header-padding;
|
|
71
|
-
margin-top:-1*($collapsible-arrow-size)
|
|
71
|
+
margin-top:-1*($collapsible-arrow-size)*0.5;
|
|
72
72
|
display:block;
|
|
73
73
|
content: "";
|
|
74
74
|
}
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
@include transition(all no-ease);
|
|
110
110
|
|
|
111
111
|
position:relative;
|
|
112
|
-
top: -($picker-height
|
|
112
|
+
top: -($picker-height*0.5);
|
|
113
113
|
|
|
114
114
|
padding-top: $picker-height;
|
|
115
115
|
padding-bottom: $picker-height;
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
padding-left: rem(5);
|
|
132
132
|
padding-right: rem(5);
|
|
133
133
|
|
|
134
|
-
top: -$picker-label-height
|
|
134
|
+
top: -$picker-label-height * 0.5;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.picker-container {
|
|
@@ -178,11 +178,11 @@
|
|
|
178
178
|
width:100%;
|
|
179
179
|
z-index:1001;
|
|
180
180
|
|
|
181
|
-
top: $picker-height
|
|
181
|
+
top: $picker-height*0.5;
|
|
182
182
|
left: 0px;
|
|
183
183
|
|
|
184
184
|
height: $picker-label-height;
|
|
185
|
-
margin-top: -($picker-label-height
|
|
185
|
+
margin-top: -($picker-label-height*0.5) - ($picker-highlight-border-width);
|
|
186
186
|
|
|
187
187
|
border-top: $picker-highlight-border-width solid $picker-highlight-color;
|
|
188
188
|
border-bottom: $picker-highlight-border-width solid $picker-highlight-color;
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
|
|
35
35
|
z-index: 1;
|
|
36
36
|
|
|
37
|
-
width: $radiobutton-size
|
|
38
|
-
height: $radiobutton-size
|
|
37
|
+
width: $radiobutton-size*0.5;
|
|
38
|
+
height: $radiobutton-size*0.5;
|
|
39
39
|
|
|
40
40
|
top: 50%;
|
|
41
41
|
left: 50%;
|
|
42
|
-
margin-top: -1*$radiobutton-size
|
|
43
|
-
margin-left: -1*$radiobutton-size
|
|
42
|
+
margin-top: -1*$radiobutton-size*0.25;
|
|
43
|
+
margin-left: -1*$radiobutton-size*0.25;
|
|
44
44
|
|
|
45
45
|
background: $radiobutton-dot-color;
|
|
46
46
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
.slider {
|
|
6
6
|
@include border-radius($slider-border-radius);
|
|
7
7
|
@include background($slider-background);
|
|
8
|
-
@include transform(translate3d(0,($slider-knob-height
|
|
8
|
+
@include transform(translate3d(0,($slider-knob-height*0.5),0));
|
|
9
9
|
@include touch-action(none);
|
|
10
10
|
|
|
11
11
|
overflow: visible;
|
|
12
12
|
|
|
13
13
|
margin-bottom: $slider-knob-height;
|
|
14
|
-
margin-left: ($slider-knob-width
|
|
15
|
-
margin-right: ($slider-knob-width
|
|
14
|
+
margin-left: ($slider-knob-width*0.5);
|
|
15
|
+
margin-right: ($slider-knob-width*0.5);
|
|
16
16
|
|
|
17
17
|
border: rem(1) solid $slider-border-color;
|
|
18
18
|
}
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
content: "";
|
|
23
23
|
height: $slider-knob-height;
|
|
24
24
|
position: absolute;
|
|
25
|
-
top: -($slider-knob-height
|
|
26
|
-
left: -($slider-knob-width
|
|
25
|
+
top: -($slider-knob-height*0.5) + ($slider-height*0.5);
|
|
26
|
+
left: -($slider-knob-width*0.5);
|
|
27
27
|
padding-right: ($slider-knob-width);
|
|
28
28
|
display: block;
|
|
29
29
|
width: 100%;
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
text-overflow: ellipsis;
|
|
63
63
|
font-weight:normal;
|
|
64
64
|
|
|
65
|
-
top: -($slider-knob-height
|
|
66
|
-
right: -1*$slider-knob-width
|
|
65
|
+
top: -($slider-knob-height*0.5) + ($slider-height*0.5) - rem(1);
|
|
66
|
+
right: -1*$slider-knob-width*0.5;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.slider.percent > div:after {
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* If the first value is a color (or "transparent"), the mixin creates a plain colored background with it.
|
|
7
7
|
* If multiple values are passed, the background mixins attempts to create a linear gradient through "linear-gradient" mixin.
|
|
8
8
|
*/
|
|
9
|
+
@use "sass:math";
|
|
10
|
+
|
|
9
11
|
@mixin background($values) {
|
|
10
12
|
@if (length($values) == 1) {
|
|
11
13
|
background-color: $values;
|
|
@@ -97,7 +99,7 @@
|
|
|
97
99
|
$next: nth($values, $i + 1);
|
|
98
100
|
|
|
99
101
|
// If no position is passed inside color-stop, it calculates the position in percent.
|
|
100
|
-
$pos: ($i - 1)*(1
|
|
102
|
+
$pos: ($i - 1)*math.div(1, $last - 1);
|
|
101
103
|
|
|
102
104
|
// Separator between color-stops.
|
|
103
105
|
$separator: "";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
1
3
|
@function rem($value, $factor: 1.0) {
|
|
2
4
|
@if ($value != 0 and $value != auto) {
|
|
3
5
|
@if (unitless($value)) {
|
|
@@ -5,10 +7,10 @@
|
|
|
5
7
|
}
|
|
6
8
|
|
|
7
9
|
@if (unit($factor) == "%") {
|
|
8
|
-
$factor: $factor
|
|
10
|
+
$factor: math.div($factor, $factor * 0 + 1) * 0.01;
|
|
9
11
|
}
|
|
10
12
|
|
|
11
|
-
$value: $factor*($value
|
|
13
|
+
$value: $factor*math.div($value, 16px) * 1rem;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
@return $value;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -38,7 +38,9 @@
|
|
|
38
38
|
} else {
|
|
39
39
|
window.document = document = {
|
|
40
40
|
readyState: "ready",
|
|
41
|
-
currentScript: {
|
|
41
|
+
currentScript: {
|
|
42
|
+
src: new (require('url').URL)('file:' + __filename).href
|
|
43
|
+
},
|
|
42
44
|
createEvent: function() {
|
|
43
45
|
return {
|
|
44
46
|
initCustomEvent: function() {}
|
package/source/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/scss/_styles.scss
CHANGED
|
@@ -145,7 +145,7 @@ $menu-item-selected-background: lighten($highlight-color, 20%), $highlight-colo
|
|
|
145
145
|
|
|
146
146
|
$navigationbar-height: rem(40);
|
|
147
147
|
$navigationbar-background: $color-2,$color-1;
|
|
148
|
-
$navigationbar-text-size: $navigationbar-height
|
|
148
|
+
$navigationbar-text-size: $navigationbar-height*0.5;
|
|
149
149
|
$navigationbar-text-color: $background-color;
|
|
150
150
|
$navigationbar-padding: rem(4);
|
|
151
151
|
$navigationbar-font-weight: bold;
|
|
@@ -110,7 +110,7 @@ module.exports = function (argv, data) {
|
|
|
110
110
|
"compiler_range": {
|
|
111
111
|
"description": "the semver range of qooxdoo compiler versions that are compatible with this application",
|
|
112
112
|
"default": function () {
|
|
113
|
-
return "^" + qx.tool.
|
|
113
|
+
return "^" + qx.tool.config.Utils.getCompilerVersion();
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
"theme": {
|
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
global.require = require;
|
|
2
|
+
global.__filename__ = __filename;
|
|
3
|
+
/* global loadSass */
|
|
2
4
|
global.loadSass = new Function (
|
|
3
5
|
`
|
|
4
6
|
// trick out sass
|
|
5
7
|
process.versions.electron = "0.0.0";
|
|
6
|
-
let remove = false;
|
|
7
8
|
if (typeof window === "undefined")
|
|
8
9
|
return;
|
|
9
|
-
if (!window.document.currentScript) {
|
|
10
|
-
window.document.currentScript = {src: ""};
|
|
11
|
-
remove = true;
|
|
12
|
-
}
|
|
13
10
|
const sass = global.require("sass");
|
|
14
11
|
delete process.versions.electron;
|
|
15
|
-
if (remove) {
|
|
16
|
-
delete window.document.currentScript;
|
|
17
|
-
}
|
|
18
12
|
return sass;
|
|
19
13
|
`);
|
|
20
|
-
|
|
21
|
-
|
|
@@ -94,8 +94,7 @@
|
|
|
94
94
|
},
|
|
95
95
|
"version": {
|
|
96
96
|
"type": "string",
|
|
97
|
-
"description": "a semver compatible version string"
|
|
98
|
-
"//pattern": "^(\\d|[1-9]\\d*)\\.(\\d|[1-9]\\d*)\\.(\\d|[1-9]\\d*)(?:-([-\\dA-Za-z]+(?:\\.[\\dA-Za-z-]+)*))?(?:\\+([-\\dA-Za-z]+(?:\\.[-\\d0-9A-Za-z]+)*))?$"
|
|
97
|
+
"description": "a semver compatible version string"
|
|
99
98
|
},
|
|
100
99
|
"qooxdoo-versions": {
|
|
101
100
|
"type": "array",
|
|
@@ -97,8 +97,7 @@
|
|
|
97
97
|
},
|
|
98
98
|
"version": {
|
|
99
99
|
"type": "string",
|
|
100
|
-
"description": "a semver compatible version string"
|
|
101
|
-
"//pattern": "^(\\d|[1-9]\\d*)\\.(\\d|[1-9]\\d*)\\.(\\d|[1-9]\\d*)(?:-([-\\dA-Za-z]+(?:\\.[\\dA-Za-z-]+)*))?(?:\\+([-\\dA-Za-z]+(?:\\.[-\\d0-9A-Za-z]+)*))?$"
|
|
100
|
+
"description": "a semver compatible version string"
|
|
102
101
|
},
|
|
103
102
|
"sourceViewUri": {
|
|
104
103
|
"type": "string",
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
},
|
|
22
22
|
"run": {
|
|
23
23
|
"type": "object",
|
|
24
|
-
"additionalItems": false,
|
|
25
24
|
"required": [ "application" ],
|
|
26
25
|
"properties": {
|
|
27
26
|
"application": {
|
|
@@ -36,7 +35,6 @@
|
|
|
36
35
|
},
|
|
37
36
|
"sass": {
|
|
38
37
|
"type": "object",
|
|
39
|
-
"additionalItems": false,
|
|
40
38
|
"properties": {
|
|
41
39
|
"compiler": {
|
|
42
40
|
"description": "Which SASS compiler to use (default is deprecated \"legacy\" during v6, will default to \"latest\" in v7)",
|
|
@@ -79,7 +77,7 @@
|
|
|
79
77
|
{
|
|
80
78
|
"type": "string",
|
|
81
79
|
"pattern": "^[-_a-zA-Z0-9]+$"
|
|
82
|
-
},
|
|
80
|
+
},
|
|
83
81
|
{
|
|
84
82
|
"type": "array",
|
|
85
83
|
"items": {
|
|
@@ -158,7 +156,6 @@
|
|
|
158
156
|
"runWhenWatching": {
|
|
159
157
|
"description": "If provided then the compiler will run this command every time this application is compiled, killing any previous instance if necessary",
|
|
160
158
|
"type": "object",
|
|
161
|
-
"additionalItems": false,
|
|
162
159
|
"required": [
|
|
163
160
|
"command"
|
|
164
161
|
],
|
|
@@ -242,7 +239,7 @@
|
|
|
242
239
|
},
|
|
243
240
|
"preserveEnvironment": {
|
|
244
241
|
"description": "a list of environment settings that will be ignored for code elimination, ie settings which *must* be configured at runtime",
|
|
245
|
-
"type": "array",
|
|
242
|
+
"type": "array",
|
|
246
243
|
"items": {
|
|
247
244
|
"type": "string"
|
|
248
245
|
}
|
|
@@ -373,8 +370,7 @@
|
|
|
373
370
|
"type": "array",
|
|
374
371
|
"items": {
|
|
375
372
|
"type": "string",
|
|
376
|
-
"minItems": 1
|
|
377
|
-
"//pattern": "^\\S+$"
|
|
373
|
+
"minItems": 1
|
|
378
374
|
}
|
|
379
375
|
},
|
|
380
376
|
"i18nAsParts": {
|
|
@@ -34,14 +34,14 @@ $carousel-pagination-font-size: rem(1);
|
|
|
34
34
|
|
|
35
35
|
position: relative;
|
|
36
36
|
margin-top: -$carousel-pagination-size - rem(10);
|
|
37
|
-
padding-bottom: $carousel-pagination-size
|
|
37
|
+
padding-bottom: $carousel-pagination-size*0.5;
|
|
38
38
|
width: 100%;
|
|
39
39
|
white-space: nowrap;
|
|
40
40
|
@include flex-justify-content(center);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.qx-carousel-pagination-label + .qx-carousel-pagination-label {
|
|
44
|
-
margin-left: $carousel-pagination-size
|
|
44
|
+
margin-left: $carousel-pagination-size*0.5;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.qx-carousel-pagination-label {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* ************************************************************************
|
|
2
|
-
|
|
3
|
-
qooxdoo - the new era of web development
|
|
4
|
-
|
|
5
|
-
http://qooxdoo.org
|
|
6
|
-
|
|
7
|
-
License:
|
|
8
|
-
MIT: https://opensource.org/licenses/MIT
|
|
9
|
-
See the LICENSE file in the project's top-level directory for details.
|
|
10
|
-
|
|
11
|
-
************************************************************************ */
|
|
12
|
-
/**
|
|
13
|
-
* NOTE: This is automatically generated by bootstrap-compiler.js
|
|
14
|
-
*/
|
|
15
|
-
qx.Class.define("qx.tool.compiler.Version", {
|
|
16
|
-
extend: qx.core.Object,
|
|
17
|
-
statics: {
|
|
18
|
-
VERSION: "7.0.0-beta.1"
|
|
19
|
-
}
|
|
20
|
-
});
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
css
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.sass-cache
|