@neo-ui-kit/react 1.3.16 → 1.3.17

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
@@ -65,7 +65,7 @@ import "@neo-ui-kit/react/styles.css";
65
65
  To test repository changes before publishing, run `npm run package` from the repository root and install the resulting archive in a separate application:
66
66
 
67
67
  ```bash
68
- npm install /path/to/adui/release/neo-ui-kit-react-1.3.16.tgz
68
+ npm install /path/to/adui/release/neo-ui-kit-react-1.3.17.tgz
69
69
  ```
70
70
 
71
71
  Maintainers publish new versions from `Pro100Dimka/adui` using the `release.yml` GitHub Actions workflow, a matching `v<version>` tag, and the `npm-publication` environment. npm trusts its OIDC identity; no `NPM_TOKEN` is required. The workflow checks the project and packed consumer before publishing the tested archive. Published `1.0.0` cannot be overwritten: code and README changes in npm require a new package version. See the [repository release instructions](https://github.com/Pro100Dimka/adui#npm-пакет).
@@ -27,16 +27,18 @@
27
27
  transition: opacity 0.35s;
28
28
  pointer-events: none;
29
29
  }
30
- .ad-card-light::before {
31
- --ad-spot-x: inherit;
32
- --ad-spot-y: inherit;
30
+ .ad-card-spotlight {
31
+ position: absolute;
32
+ inset: 0;
33
+ transform: translate3d(var(--ad-spot-x, 50%), var(--ad-spot-y, 0%), 0);
34
+ }
35
+ .ad-card-spotlight::before {
33
36
  content: "";
34
37
  position: absolute;
35
38
  width: 44rem;
36
39
  height: 44rem;
37
- left: var(--ad-spot-x, 50%);
38
- top: var(--ad-spot-y, 0%);
39
- transform: translate3d(-50%, -50%, 0);
40
+ left: -22rem;
41
+ top: -22rem;
40
42
  background: radial-gradient(
41
43
  22rem circle,
42
44
  rgb(from var(--ad-primary) r g b / 0.08),
package/dist/index.js CHANGED
@@ -357,7 +357,11 @@ var Card = ({
357
357
  }
358
358
  ),
359
359
  children,
360
- createElement3("span", { ref: spotlight, className: "ad-card-light", "aria-hidden": true })
360
+ createElement3(
361
+ "span",
362
+ { className: "ad-card-light", "aria-hidden": true },
363
+ createElement3("span", { ref: spotlight, className: "ad-card-spotlight" })
364
+ )
361
365
  );
362
366
  };
363
367
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo-ui-kit/react",
3
- "version": "1.3.16",
3
+ "version": "1.3.17",
4
4
  "description": "NEO UI — React component library",
5
5
  "type": "module",
6
6
  "license": "MIT",