@twobirds/microcomponents 0.0.23 → 0.0.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twobirds/microcomponents",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "Micro Components Organization Class",
5
5
  "main": "./dist/microcomponents.ts",
6
6
  "types": "./dist/microcomponents.d.ts",
package/public/MC.js CHANGED
@@ -271,3 +271,4 @@ class DC extends MC {
271
271
  }
272
272
  ;
273
273
  export { addListener, removeListener, McBase, MC, DC, McEvent };
274
+ //# sourceMappingURL=MC.js.map
package/public/McEvent.js CHANGED
@@ -72,3 +72,4 @@ function traverseNodes(node, search, firstonly = true) {
72
72
  return mcValues;
73
73
  }
74
74
  export { McEvent };
75
+ //# sourceMappingURL=McEvent.js.map
@@ -55,3 +55,4 @@ const _loadRequirements = (node) => {
55
55
  }
56
56
  return Promise.all(allPromises);
57
57
  };
58
+ //# sourceMappingURL=autoloader.js.map
@@ -46,3 +46,4 @@ export function defineCE(tagName, DefinitionClass, observedAttributes = []) {
46
46
  export function getCE(tagName) {
47
47
  return customElements.get(tagName);
48
48
  }
49
+ //# sourceMappingURL=customElements.js.map
@@ -253,3 +253,4 @@ export const makeCO = (target, propertyName) => {
253
253
  target[key] = val;
254
254
  });
255
255
  };
256
+ //# sourceMappingURL=customObservables.js.map
@@ -1086,3 +1086,4 @@ export const $d = (selection, element = document) => {
1086
1086
  export const $t = (selection, element = document) => {
1087
1087
  return $d(selection, element).$t();
1088
1088
  };
1089
+ //# sourceMappingURL=customSelectors.js.map
@@ -209,3 +209,4 @@ export const formValues = (target, values = {}, mc, observable) => {
209
209
  }
210
210
  return observable ? mc[observable] : Object.assign({}, handlers);
211
211
  };
212
+ //# sourceMappingURL=formValues.js.map
package/public/helpers.js CHANGED
@@ -126,3 +126,4 @@ export function htmlToElements(html) {
126
126
  template.content.normalize();
127
127
  return Array.from(template.content.childNodes);
128
128
  }
129
+ //# sourceMappingURL=helpers.js.map
@@ -346,3 +346,4 @@ function findNodesWithMcAttribute(rootNode, childrenOnly) {
346
346
  walk(rootNode);
347
347
  return result; // Return the array of found nodes
348
348
  }
349
+ //# sourceMappingURL=microcomponents.es3.js.map
@@ -6,3 +6,4 @@ export * from './customElements.js';
6
6
  export * from './customObservables.js';
7
7
  export * from './customSelectors.js';
8
8
  export * from './formValues.js';
9
+ //# sourceMappingURL=microcomponents.js.map
package/public/test.js CHANGED
@@ -112,3 +112,4 @@ let element = document.querySelector("my-tag");
112
112
  console.log("\n\n%cInspect this tag:%c \n( ...to see the inner structure in the '._mc' property )\n\n %O %c %s", "font-weight: bold;", "font-weight: normal;", element, "font-weight: bold;", "\n\nLook up code in the debugger: test.js\n\n");
113
113
  // will trigger the event on all micro components contained in <my-tag>
114
114
  DC.trigger(element, "doSomething");
115
+ //# sourceMappingURL=test.js.map
package/tsconfig.json CHANGED
@@ -48,7 +48,7 @@
48
48
  "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
49
49
  "declarationMap": true, /* Create sourcemaps for d.ts files. */
50
50
  // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
51
- // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
51
+ "sourceMap": true, /* Create source map files for emitted JavaScript files. */
52
52
  // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
53
53
  "outDir": "./build", /* Specify an output folder for all emitted files. */
54
54
  // "removeComments": true, /* Disable emitting comments. */
@@ -103,5 +103,9 @@
103
103
  },
104
104
  "include": [
105
105
  "./src"
106
+ ],
107
+ "exclude": [
108
+ "node_modules",
109
+ "dist"
106
110
  ]
107
111
  }