@nuvo-js/core 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -32,9 +32,9 @@ npm install @nuvo-js/core
32
32
  Nuvo is also accessible through the browser global namespace:
33
33
 
34
34
  ```javascript
35
- const nuvo = window['@'];
35
+ const nuvojs = window['nuvo-js'];
36
36
 
37
- console.log(nuvo);
37
+ console.log(nuvojs);
38
38
  ```
39
39
 
40
40
  ### ECMAScript Modules
@@ -1,7 +1,7 @@
1
- import type doggy from './index';
1
+ import type nuvojs from './index';
2
2
  declare global {
3
3
  interface Window {
4
- '@': typeof doggy;
4
+ 'nuvo-js': typeof nuvojs;
5
5
  }
6
6
  }
7
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/global.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,GAAG,EAAE,OAAO,KAAK,CAAC;KACrB;CACJ;AAED,OAAO,EAAG,CAAA"}
1
+ {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/global.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAElC,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,SAAS,EAAE,OAAO,MAAM,CAAC;KAC5B;CACJ;AAED,OAAO,EAAG,CAAA"}
@@ -4,7 +4,7 @@ import Fragment from './Fragment';
4
4
  import Store from './store';
5
5
  import SVGElement from './SVGElement';
6
6
  declare const createRoot: (rootElement: HTMLElement, app: (string | HTMLElement | DocumentFragment)[] | DocumentFragment) => void;
7
- declare const nuvo: {
7
+ declare const nuvojs: {
8
8
  readonly Element: typeof Element;
9
9
  readonly Store: typeof Store;
10
10
  readonly Fragment: typeof Fragment;
@@ -12,5 +12,5 @@ declare const nuvo: {
12
12
  readonly createRoot: typeof createRoot;
13
13
  };
14
14
  export { Element, Store, Fragment, SVGElement, createRoot };
15
- export default nuvo;
15
+ export default nuvojs;
16
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAElB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,QAAA,MAAM,UAAU,gBACC,WAAW,OACnB,CAAC,MAAM,GAAG,WAAW,GAAG,gBAAgB,CAAC,EAAE,GAAG,gBAAgB,KACpE,IAMF,CAAC;AAED,QAAA,MAAM,IAAI;;;;;;CAMD,CAAA;AAOV,OAAO,EACH,OAAO,EACP,KAAK,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACb,CAAC;eAEa,IAAI"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAElB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,QAAA,MAAM,UAAU,gBACC,WAAW,OACnB,CAAC,MAAM,GAAG,WAAW,GAAG,gBAAgB,CAAC,EAAE,GAAG,gBAAgB,KACpE,IAMF,CAAC;AAED,QAAA,MAAM,MAAM;;;;;;CAMH,CAAA;AAOV,OAAO,EACH,OAAO,EACP,KAAK,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACb,CAAC;eAEa,MAAM"}
package/dist/src/index.js CHANGED
@@ -11,7 +11,7 @@ const createRoot = (rootElement, app) => {
11
11
  rootElement.appendChild(app);
12
12
  }
13
13
  };
14
- const nuvo = {
14
+ const nuvojs = {
15
15
  Element,
16
16
  Store,
17
17
  Fragment,
@@ -19,8 +19,8 @@ const nuvo = {
19
19
  createRoot
20
20
  };
21
21
  if (typeof window !== 'undefined') {
22
- window['@'] = nuvo;
22
+ window['nuvo-js'] = nuvojs;
23
23
  }
24
24
  export { Element, Store, Fragment, SVGElement, createRoot };
25
- export default nuvo;
25
+ export default nuvojs;
26
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAElB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,MAAM,UAAU,GAAG,CACf,WAAwB,EACxB,GAAmE,EAC/D,EAAE;IACN,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;QACrB,WAAW,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,CAAC;IAC/B,CAAC;SAAM,CAAC;QACJ,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACjC,CAAC;AACL,CAAC,CAAC;AAED,MAAM,IAAI,GAAG;IACV,OAAO;IACP,KAAK;IACL,QAAQ;IACR,UAAU;IACV,UAAU;CACJ,CAAA;AAGV,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;IAChC,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;AACvB,CAAC;AAED,OAAO,EACH,OAAO,EACP,KAAK,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACb,CAAC;AAEF,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAElB,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,MAAM,UAAU,GAAG,CACf,WAAwB,EACxB,GAAmE,EAC/D,EAAE;IACN,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;QACrB,WAAW,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,CAAC;IAC/B,CAAC;SAAM,CAAC;QACJ,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACjC,CAAC;AACL,CAAC,CAAC;AAED,MAAM,MAAM,GAAG;IACZ,OAAO;IACP,KAAK;IACL,QAAQ;IACR,UAAU;IACV,UAAU;CACJ,CAAA;AAGV,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;IAChC,MAAM,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;AAC/B,CAAC;AAED,OAAO,EACH,OAAO,EACP,KAAK,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACb,CAAC;AAEF,eAAe,MAAM,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuvo-js/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A lightweight custom DOM rendering engine",
5
5
  "keywords": [
6
6
  "nuvo",