@elyndra/react-effects 1.0.0 → 1.2.0

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
@@ -1,5 +1,5 @@
1
- # AEGIS
1
+ # ELYNDRA
2
2
 
3
3
  Futuristic Sci-Fi UI Web Framework.
4
4
 
5
- Check out [github.com/aegis/aegis](https://github.com/aegis/aegis).
5
+ Check out [github.com/Gabox301/elyndra](https://github.com/Gabox301/elyndra).
@@ -17,7 +17,7 @@ const Illuminator = (0, react_tools_1.memo)((props) => {
17
17
  const illuminator = (0, effects_1.createEffectIlluminator)({ container, color, size });
18
18
  return () => illuminator.cancel();
19
19
  }, [color, size]);
20
- return (react_1.default.createElement("div", { ref: (0, react_tools_1.mergeRefs)(containerRef, elementRef), role: 'presentation', ...otherProps, className: (0, tools_1.cx)('aegis-frames-illuminator', otherProps.className), style: {
20
+ return (react_1.default.createElement("div", { ref: (0, react_tools_1.mergeRefs)(containerRef, elementRef), role: 'presentation', ...otherProps, className: (0, tools_1.cx)('elyndra-frames-illuminator', otherProps.className), style: {
21
21
  position: 'absolute',
22
22
  inset: 0,
23
23
  overflow: 'hidden',
@@ -17,8 +17,8 @@ const IlluminatorSVG = (0, react_tools_1.memo)((props) => {
17
17
  }
18
18
  const effect = (0, effects_1.createEffectIlluminatorSVG)({ svg, container, size, color });
19
19
  return () => effect.cancel();
20
- }, [size, color]);
21
- return (react_1.default.createElement("g", { ref: (0, react_tools_1.mergeRefs)(containerRef, elementRef), ...otherProps, className: (0, tools_1.cx)('aegis-frames-illuminatorsvg', otherProps.className), style: {
20
+ }, [size, color, svgRef]);
21
+ return (react_1.default.createElement("g", { ref: (0, react_tools_1.mergeRefs)(containerRef, elementRef), ...otherProps, className: (0, tools_1.cx)('elyndra-frames-illuminatorsvg', otherProps.className), style: {
22
22
  pointerEvents: 'none',
23
23
  ...otherProps.style,
24
24
  } }));
@@ -13,7 +13,7 @@ const Illuminator = memo((props) => {
13
13
  const illuminator = createEffectIlluminator({ container, color, size });
14
14
  return () => illuminator.cancel();
15
15
  }, [color, size]);
16
- return (React.createElement("div", { ref: mergeRefs(containerRef, elementRef), role: 'presentation', ...otherProps, className: cx('aegis-frames-illuminator', otherProps.className), style: {
16
+ return (React.createElement("div", { ref: mergeRefs(containerRef, elementRef), role: 'presentation', ...otherProps, className: cx('elyndra-frames-illuminator', otherProps.className), style: {
17
17
  position: 'absolute',
18
18
  inset: 0,
19
19
  overflow: 'hidden',
@@ -13,8 +13,8 @@ const IlluminatorSVG = memo((props) => {
13
13
  }
14
14
  const effect = createEffectIlluminatorSVG({ svg, container, size, color });
15
15
  return () => effect.cancel();
16
- }, [size, color]);
17
- return (React.createElement("g", { ref: mergeRefs(containerRef, elementRef), ...otherProps, className: cx('aegis-frames-illuminatorsvg', otherProps.className), style: {
16
+ }, [size, color, svgRef]);
17
+ return (React.createElement("g", { ref: mergeRefs(containerRef, elementRef), ...otherProps, className: cx('elyndra-frames-illuminatorsvg', otherProps.className), style: {
18
18
  pointerEvents: 'none',
19
19
  ...otherProps.style,
20
20
  } }));
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@elyndra/react-effects",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
+ "sideEffects": false,
4
5
  "publishConfig": {
5
6
  "access": "public"
6
7
  },
7
8
  "description": "Futuristic Sci-Fi UI Web Framework",
8
9
  "keywords": [
9
- "aegis",
10
+ "elyndra",
10
11
  "ui",
11
12
  "front-end",
12
13
  "framework",
@@ -14,13 +15,13 @@
14
15
  "sci-fi",
15
16
  "science-fiction"
16
17
  ],
17
- "homepage": "https://aegis.dev",
18
+ "homepage": "https://elyndra.dev",
18
19
  "repository": {
19
20
  "type": "git",
20
- "url": "git+https://github.com/aegis/aegis.git"
21
+ "url": "git+https://github.com/Gabox301/elyndra.git"
21
22
  },
22
23
  "bugs": {
23
- "url": "https://github.com/aegis/aegis/issues"
24
+ "url": "https://github.com/Gabox301/elyndra/issues"
24
25
  },
25
26
  "funding": "https://github.com/sponsors/romelperez",
26
27
  "license": "MIT",
@@ -43,13 +44,13 @@
43
44
  "react": "19"
44
45
  },
45
46
  "dependencies": {
46
- "@elyndra/effects": "^1.0.0",
47
- "@elyndra/react-tools": "^1.0.0",
48
- "@elyndra/tools": "^1.0.0",
47
+ "@elyndra/effects": "^1.2.0",
48
+ "@elyndra/react-tools": "^1.2.0",
49
+ "@elyndra/tools": "^1.2.0",
49
50
  "tslib": "2.8.1"
50
51
  },
51
52
  "devDependencies": {
52
- "@elyndra/frames": "^1.0.0"
53
+ "@elyndra/frames": "^1.2.0"
53
54
  },
54
55
  "scripts": {
55
56
  "build": "npm run build-esm && npm run build-cjs",