ziko 0.46.0 → 0.46.2

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": "ziko",
3
- "version": "0.46.0",
3
+ "version": "0.46.2",
4
4
  "description": "A versatile JavaScript library offering a rich set of Hyperscript Based UI components, advanced mathematical utilities, interactivity ,animations, client side routing and more ...",
5
5
  "keywords": [
6
6
  "front-end",
package/src/index.js CHANGED
@@ -2,7 +2,7 @@ export * from "./math/index.js";
2
2
  export * from "./ui/index.js";
3
3
  export * from "./time/index.js";
4
4
  export * from "./data/index.js";
5
- export * from "./reactivity/index.js"
5
+ // export * from "./reactivity/index.js"
6
6
  export * from "./app/index.js";
7
7
  export * from './hooks/index.js';
8
8
  export * from './use/index.js'
@@ -1,4 +1,4 @@
1
- import { Events } from "../../events/__Events__";
1
+ import { Events } from "../../events/__Events__.js";
2
2
  import {
3
3
  bind_pointer_event,
4
4
  bind_mouse_event,
@@ -50,7 +50,7 @@ export async function __addItem__(adder, pusher, ...ele) {
50
50
  return this;
51
51
  }
52
52
  export function _set_attrs_(name, value){
53
- if(this.element instanceof globalThis?.SVGAElement) name = is_camelcase(name) ? camel2hyphencase(name) : name;
53
+ if(globalThis.SVGAElement && this.element instanceof globalThis.SVGAElement) name = is_camelcase(name) ? camel2hyphencase(name) : name;
54
54
  if(this?.attr[name] && this?.attr[name]===value) return;
55
55
  if(isStateGetter(value)){
56
56
  const getter = value()
@@ -1,4 +1,4 @@
1
- import { UIElementCore } from "./UIElementCore";
1
+ import { UIElementCore } from "./UIElementCore.js";
2
2
  class UIElement extends UIElementCore{
3
3
  constructor({element, name, type, render}){
4
4
  super({element, name, type, render})
@@ -9,12 +9,12 @@ import {
9
9
  } from "../__methods__/index.js";
10
10
  import {
11
11
  useCustomEvent,
12
- useSwipeEvent,
13
- watchIntersection,
14
- watchSize,
15
- watchAttr,
16
- watchChildren
17
- } from "../../reactivity/index.js"
12
+ // useSwipeEvent,
13
+ // watchIntersection,
14
+ // watchSize,
15
+ // watchAttr,
16
+ // watchChildren
17
+ } from "../../reactivity/events/custom-event.js"
18
18
  class UIElement extends UIElementCore{
19
19
  constructor({element, name ='', type='html', render = __Ziko__.__Config__.default.render}={}){
20
20
  super()