neo.mjs 6.36.0 → 6.37.0

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.
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='6.36.0'
23
+ * @member {String} version='6.37.0'
24
24
  */
25
- version: '6.36.0'
25
+ version: '6.37.0'
26
26
  }
27
27
 
28
28
  /**
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='6.36.0'
23
+ * @member {String} version='6.37.0'
24
24
  */
25
- version: '6.36.0'
25
+ version: '6.37.0'
26
26
  }
27
27
 
28
28
  /**
@@ -9,11 +9,12 @@ import Viewport from '../../src/container/Viewport.mjs';
9
9
  class MainContainer extends Viewport {
10
10
  static config = {
11
11
  className: 'Neo.examples.videoMove.MainContainer',
12
+ cls : ['examples-videomove-maincontainer'],
12
13
  layout : {ntype: 'vbox', align: 'stretch'},
13
- style : {padding: '50px'},
14
14
 
15
15
  items: [{
16
16
  ntype : 'container',
17
+ cls : ['video-wrapper'],
17
18
  layout: {ntype: 'hbox', align: 'stretch'},
18
19
 
19
20
  itemDefaults: {
@@ -23,7 +24,6 @@ class MainContainer extends Viewport {
23
24
 
24
25
  items: [{
25
26
  reference: 'container-1',
26
- style : {backgroundColor: 'rgb(139,166,255)', padding: '50px'},
27
27
 
28
28
  items: [{
29
29
  module : Video,
@@ -31,8 +31,7 @@ class MainContainer extends Viewport {
31
31
  url : 'https://video-ssl.itunes.apple.com/itunes-assets/Video125/v4/a0/57/54/a0575426-dd8e-2d25-bdf3-139702870b50/mzvf_786190431362224858.640x464.h264lc.U.p.m4v'
32
32
  }]
33
33
  }, {
34
- reference: 'container-2',
35
- style : {backgroundColor: 'rgb(139,166,255)', marginLeft: '50px', padding: '50px'}
34
+ reference: 'container-2'
36
35
  }]
37
36
  }, {
38
37
  ntype : 'container',
@@ -2,5 +2,6 @@
2
2
  "appPath" : "examples/videoMove/app.mjs",
3
3
  "basePath" : "../../",
4
4
  "environment": "development",
5
- "mainPath" : "./Main.mjs"
5
+ "mainPath" : "./Main.mjs",
6
+ "themes" : ["neo-theme-neo-light"]
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "6.36.0",
3
+ "version": "6.37.0",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -12,25 +12,18 @@
12
12
  padding: 1rem 1rem 0;
13
13
  }
14
14
 
15
- pre[data-javascript] {
16
- border : thin solid lightgray;
17
- border-radius: 4px;
18
- overflow-x : scroll;
19
- padding : 12px;
15
+ a {
16
+ color: #3E63DD;;
20
17
  }
21
18
 
22
19
  blockquote {
23
- background-color: var(--sem-color-bg-neutral-default);;
24
- border-left : 4px solid var(--sem-color-border-default);
20
+ background-color: var(--gray-100);
21
+ border-left : 4px solid var(--sem-color-surface-primary-background);
25
22
  font-style : italic;
26
23
  margin-left : 0;
27
24
  padding : 5px 5px 5px 15px;
28
25
  }
29
26
 
30
- p {
31
- margin: 0.5em 0 0.7em 0;
32
- }
33
-
34
27
  details {
35
28
  margin: 1em 0 1em 0;
36
29
  }
@@ -80,11 +73,22 @@
80
73
  padding : 2px 16px;
81
74
  font-size : 1em;
82
75
  margin-bottom: 1em;
76
+
77
+ &:hover {
78
+ /* On mouse-over, add a deeper shadow */
79
+ box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
80
+ }
83
81
  }
84
82
 
85
- /* On mouse-over, add a deeper shadow */
86
- .lab:hover {
87
- box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
83
+ p {
84
+ margin: 0.5em 0 0.7em 0;
85
+ }
86
+
87
+ pre[data-javascript] {
88
+ border : thin solid lightgray;
89
+ border-radius: 4px;
90
+ overflow-x : scroll;
91
+ padding : 12px;
88
92
  }
89
93
  }
90
94
 
@@ -0,0 +1,31 @@
1
+ .examples-videomove-maincontainer.neo-viewport {
2
+ padding: 50px;
3
+
4
+ .video-wrapper {
5
+ .neo-container {
6
+ background-color: rgb(139,166,255);
7
+ padding : 50px;
8
+
9
+ &:last-child {
10
+ margin-left: 50px;
11
+ }
12
+ }
13
+ }
14
+
15
+ @media (max-width: 840px) {
16
+ padding: 1em;
17
+
18
+ .video-wrapper {
19
+ flex-direction: column;
20
+
21
+ .neo-container {
22
+ padding: 1em;
23
+
24
+ &:last-child {
25
+ margin-left: 0;
26
+ margin-top : 1em;
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
@@ -9,6 +9,7 @@
9
9
  --core-fontsize-body : 16px;
10
10
  --core-fontsize-h1 : 2.5rem;
11
11
  --core-fontsize-h2 : 1.75rem;
12
+ --core-fontsize-h3 : 1.25rem;
12
13
  --core-fontsize-label : 1rem;
13
14
  --core-fontweight-bold : 700;
14
15
  --core-fontweight-medium : 500;
@@ -260,12 +260,12 @@ const DefaultConfig = {
260
260
  useVdomWorker: true,
261
261
  /**
262
262
  * buildScripts/injectPackageVersion.mjs will update this value
263
- * @default '6.36.0'
263
+ * @default '6.37.0'
264
264
  * @memberOf! module:Neo
265
265
  * @name config.version
266
266
  * @type String
267
267
  */
268
- version: '6.36.0'
268
+ version: '6.37.0'
269
269
  };
270
270
 
271
271
  Object.assign(DefaultConfig, {