malinajs 0.6.56 → 0.7.0-a10
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 +14 -1
- package/malina-esbuild.js +2 -2
- package/malina.js +6163 -5561
- package/package.json +6 -5
- package/readme.md +14 -8
- package/runtime.js +1034 -736
- package/compile.js +0 -6191
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
## 0.7.x
|
|
3
|
+
* refactoring, optimization, fixes
|
|
4
|
+
* export function
|
|
5
|
+
* manual event delegation @click|root
|
|
6
|
+
* able to delay destroying block (for animations)
|
|
7
|
+
* be able to off autosubscribe for import: !no-autosubscribe
|
|
8
|
+
* destructuring array/object for each
|
|
9
|
+
* functions mount, mountStatic
|
|
10
|
+
* each, index variable is not included by default
|
|
11
|
+
* reference to element is removed on destroying
|
|
12
|
+
* config.useGroupReferencing
|
|
13
|
+
* action can return destroy function (not only object)
|
|
14
|
+
* each-else
|
|
15
|
+
|
|
2
16
|
## 0.6.x
|
|
3
17
|
|
|
4
|
-
* destruncting for "each" for array and object
|
|
5
18
|
* style's attribute "global"
|
|
6
19
|
* compound classes (handle mix of class and class directives)
|
|
7
20
|
* new passing class
|
package/malina-esbuild.js
CHANGED
|
@@ -76,13 +76,13 @@ function malinaPlugin(options={}){
|
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
let code = ctx.result;
|
|
79
|
-
|
|
79
|
+
|
|
80
80
|
if(ctx.css.result){
|
|
81
81
|
const cssPath = args.path.replace(/\.\w+$/, ".malina.css").replace(/\\/g, "/");
|
|
82
82
|
cssModules.set(cssPath,ctx.css.result);
|
|
83
83
|
code += `\nimport "${cssPath}";`
|
|
84
84
|
}
|
|
85
|
-
|
|
85
|
+
|
|
86
86
|
return { contents: code }
|
|
87
87
|
}
|
|
88
88
|
);
|