neo.mjs 6.4.1 → 6.4.3

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.4.1'
23
+ * @member {String} version='6.4.3'
24
24
  */
25
- version: '6.4.1'
25
+ version: '6.4.3'
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.4.1'
23
+ * @member {String} version='6.4.3'
24
24
  */
25
- version: '6.4.1'
25
+ version: '6.4.3'
26
26
  }
27
27
 
28
28
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "6.4.1",
3
+ "version": "6.4.3",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -10,8 +10,9 @@
10
10
  }
11
11
 
12
12
  .neo-checkbox-input {
13
- margin: 0;
14
- width: 0; // using display: none would break the keynav
13
+ appearance: none;
14
+ margin : 0;
15
+ width : 0; // using display: none would break the keynav
15
16
 
16
17
  &:checked {
17
18
  +.neo-checkbox-icon {
@@ -6,16 +6,20 @@
6
6
  input::-webkit-inner-spin-button,
7
7
  input::-webkit-calendar-picker-indicator,
8
8
  input::-webkit-outer-spin-button {
9
- display : none;
10
- margin : 0;
11
- -webkit-appearance: none;
9
+ appearance: none;
10
+ display : none;
11
+ margin : 0;
12
12
  }
13
13
 
14
- // Firefox => no luck => https://gitlab.com/tobiu/neoteric/issues/198
15
- ::-moz-datetime-reset-button {
16
- display: none;
17
- }
18
14
  .datetime-reset-button {
19
15
  display: none;
20
16
  }
21
- }
17
+ }
18
+
19
+ @-moz-document url-prefix() {
20
+ .neo-datefield {
21
+ .neo-textfield-input {
22
+ clip-path: inset(0 2em 0 0);
23
+ }
24
+ }
25
+ }
@@ -236,12 +236,12 @@ const DefaultConfig = {
236
236
  useVdomWorker: true,
237
237
  /**
238
238
  * buildScripts/injectPackageVersion.mjs will update this value
239
- * @default '6.4.1'
239
+ * @default '6.4.3'
240
240
  * @memberOf! module:Neo
241
241
  * @name config.version
242
242
  * @type String
243
243
  */
244
- version: '6.4.1'
244
+ version: '6.4.3'
245
245
  };
246
246
 
247
247
  Object.assign(DefaultConfig, {
@@ -28,7 +28,8 @@ class App extends Base {
28
28
  remote: {
29
29
  main: [
30
30
  'createNeoInstance',
31
- 'destroyNeoInstance'
31
+ 'destroyNeoInstance',
32
+ 'setConfigs'
32
33
  ]
33
34
  },
34
35
  /**
@@ -386,6 +387,24 @@ class App extends Base {
386
387
  me.themeFilesCache = []
387
388
  }
388
389
 
390
+ /**
391
+ * Set configs of any app realm based Neo instance from main
392
+ * @param {Object} data
393
+ * @param {String} data.id
394
+ */
395
+ setConfigs(data) {
396
+ let instance = Neo.get(data.id);
397
+
398
+ if (instance) {
399
+ delete data.id;
400
+ instance.set(data);
401
+
402
+ return true
403
+ }
404
+
405
+ return false
406
+ }
407
+
389
408
  /**
390
409
  * @param {Object} data
391
410
  * @param {String} data.key