@rws-framework/client 2.18.9 → 2.18.11
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/builder/webpack/loaders/rws_fast_html_loader.js +2 -5
- package/builder/webpack/loaders/rws_fast_scss_loader.js +2 -5
- package/cfg/build_steps/webpack/_env_defines.js +2 -1
- package/cfg/build_steps/webpack/_webpack_config.js +2 -1
- package/package.json +1 -1
- package/src/styles/_grid.scss +6 -6
- package/src/styles/includes.scss +2 -0
|
@@ -7,11 +7,8 @@ module.exports = function(content){
|
|
|
7
7
|
const componentPath = path.resolve(componentDir, 'component.ts');
|
|
8
8
|
|
|
9
9
|
if(fs.existsSync(componentPath)){
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
if(fileCnt){
|
|
13
|
-
fs.writeFile(componentPath, fileCnt, () => {})
|
|
14
|
-
}
|
|
10
|
+
const time = new Date();
|
|
11
|
+
fs.utimes(componentPath, time, time, () => {});
|
|
15
12
|
}
|
|
16
13
|
|
|
17
14
|
return '';
|
|
@@ -35,11 +35,8 @@ module.exports = async function(content) {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
if(fs.existsSync(componentPath)){
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
if(fileCnt){
|
|
41
|
-
fs.writeFile(componentPath, fileCnt, () => {})
|
|
42
|
-
}
|
|
38
|
+
const time = new Date();
|
|
39
|
+
fs.utimes(componentPath, time, time, () => {});
|
|
43
40
|
}
|
|
44
41
|
|
|
45
42
|
return '';
|
|
@@ -4,7 +4,8 @@ function processEnvDefines(BuildConfigurator, config, devDebug) {
|
|
|
4
4
|
let _rws_defines = {
|
|
5
5
|
'process.env._RWS_DEV_DEBUG': JSON.stringify(devDebug),
|
|
6
6
|
'process.env._RWS_DEFAULTS': JSON.stringify(BuildConfigurator.exportDefaultConfig()),
|
|
7
|
-
'process.env._RWS_BUILD_OVERRIDE': JSON.stringify(BuildConfigurator.exportBuildConfig())
|
|
7
|
+
'process.env._RWS_BUILD_OVERRIDE': JSON.stringify(BuildConfigurator.exportBuildConfig()),
|
|
8
|
+
'process.env.TZ': JSON.stringify(process.env.TZ || 'Europe/Warsaw')
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
const rwsDefines = BuildConfigurator.get('env') || config.env || null;
|
package/package.json
CHANGED
package/src/styles/_grid.scss
CHANGED
|
@@ -30,7 +30,7 @@ $mediaQuerySteps: (
|
|
|
30
30
|
@mixin grid-column($columns: 12, $mdColumns: 12) {
|
|
31
31
|
@include internal-grid-column($columns);
|
|
32
32
|
|
|
33
|
-
@media screen and (max-width: map
|
|
33
|
+
@media screen and (max-width: map.get($mediaQuerySteps, 'md')) {
|
|
34
34
|
@include internal-grid-column($mdColumns);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -38,11 +38,11 @@ $mediaQuerySteps: (
|
|
|
38
38
|
@mixin grid-column($columns: 12, $mdColumns: 12, $smColumns: 12) {
|
|
39
39
|
@include internal-grid-column($columns);
|
|
40
40
|
|
|
41
|
-
@media screen and (max-width: map
|
|
41
|
+
@media screen and (max-width: map.get($mediaQuerySteps, 'md')) {
|
|
42
42
|
@include internal-grid-column($mdColumns);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
@media screen and (max-width: map
|
|
45
|
+
@media screen and (max-width: map.get($mediaQuerySteps, 'sm')) {
|
|
46
46
|
@include internal-grid-column($smColumns);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -50,15 +50,15 @@ $mediaQuerySteps: (
|
|
|
50
50
|
@mixin grid-column($columns: 12, $mdColumns: 12, $smColumns: 12, $xsColumns: 12) {
|
|
51
51
|
@include internal-grid-column($columns);
|
|
52
52
|
|
|
53
|
-
@media screen and (max-width: map
|
|
53
|
+
@media screen and (max-width: map.get($mediaQuerySteps, 'md')) {
|
|
54
54
|
@include internal-grid-column($mdColumns);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
@media screen and (max-width: map
|
|
57
|
+
@media screen and (max-width: map.get($mediaQuerySteps, 'sm')) {
|
|
58
58
|
@include internal-grid-column($smColumns);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
@media screen and (max-width: map
|
|
61
|
+
@media screen and (max-width: map.get($mediaQuerySteps, 'xs')) {
|
|
62
62
|
@include internal-grid-column($xsColumns);
|
|
63
63
|
}
|
|
64
64
|
}
|