aleman 1.1.35 → 1.1.36

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/menu/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # Menu
2
+
3
+ ## Rules
4
+
5
+ - ✅[`show-menu`](https://putout.cloudcmd.io/#/gist/884fd40c07b94951de1a9ce99afab015/21d4881b44955b1426f80e87c76b7ad86eeea464);
6
+ - ✅[`select`](https://putout.cloudcmd.io/#/gist/10891aa58ff2ecfa1728ed19aeb2e3f2/ce536fb0b414faefbae5d0c8a094517beb1c606e);
7
+ - ✅[`unselect-all`](https://putout.cloudcmd.io/#/gist/ca24f199f508cccb34b11baf726eba83/96f08fa91331ac6265d9f5ff48692c9d4ad1b98b);
8
+ - ✅[`build-menu`](https://putout.cloudcmd.io/#/gist/329dccd5fdc7f8b220be79af405dc9bb/b56df53f52bbe2a300ede38a96d1d2242e60679f);
9
+ - ✅[`set-position`](https://putout.cloudcmd.io/#/gist/215bb4654a27f15235f3e380a3035138/7f4af88aaa4863be4f1b8a90b9f0f4b1cf4744a0);
10
+
11
+ ## License
12
+
13
+ MIT
@@ -0,0 +1,7 @@
1
+ {
2
+ "imports": {
3
+ "putout": "https://esm.sh/@putout/bundle",
4
+ "@putout/processor-html": "https://esm.sh/@putout/processor-html",
5
+ "fullstore": "https://esm.sh/fullstore"
6
+ }
7
+ }
package/menu/menu.js CHANGED
@@ -73,7 +73,11 @@ async function createMap() {
73
73
  return;
74
74
 
75
75
  const script = document.createElement('script');
76
- const {importmap} = await import('./importmap.js');
76
+ const {default: importmap} = await import('./importmap.json', {
77
+ with: {
78
+ type: 'json',
79
+ },
80
+ });
77
81
 
78
82
  script.dataset.name = name;
79
83
  script.type = 'importmap';
package/package.json CHANGED
@@ -1,14 +1,11 @@
1
1
  {
2
2
  "name": "aleman",
3
- "version": "1.1.35",
3
+ "version": "1.1.36",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout-based framework for web",
7
7
  "homepage": "https://github.com/putoutjs/aleman#readme",
8
8
  "main": "aleman/index.js",
9
- "release": false,
10
- "tag": false,
11
- "changelog": false,
12
9
  "repository": {
13
10
  "type": "git",
14
11
  "url": "git+https://github.com/coderaiser/putout.git"
package/menu/importmap.js DELETED
@@ -1,7 +0,0 @@
1
- export const importmap = {
2
- imports: {
3
- 'putout': 'https://esm.sh/@putout/bundle',
4
- '@putout/processor-html': 'https://esm.sh/@putout/processor-html@14.1.1',
5
- 'fullstore': 'https://esm.sh/fullstore',
6
- },
7
- };