@neo-ui-kit/react 1.4.5 → 1.4.6

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.4.5.tgz
68
+ npm install /path/to/adui/release/neo-ui-kit-react-1.4.6.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-пакет).
@@ -2,7 +2,7 @@ import {
2
2
  themes,
3
3
  useBorder,
4
4
  usePauseOffscreen
5
- } from "./chunk-P5SNVRBZ.js";
5
+ } from "./chunk-R4HO4CY7.js";
6
6
  import {
7
7
  assignRef,
8
8
  clamp,
@@ -370,6 +370,7 @@ function createBorderWorker(item) {
370
370
  groups.forEach((group) => {
371
371
  group.style.visibility = "hidden";
372
372
  });
373
+ item.overlay.setAttribute("data-ready", "");
373
374
  canvas.style.visibility = "";
374
375
  visibility();
375
376
  },
@@ -389,6 +390,7 @@ function createBorderWorker(item) {
389
390
  groups.forEach((group, index) => {
390
391
  group.style.visibility = originalVisibility[index];
391
392
  });
393
+ item.overlay.setAttribute("data-ready", "");
392
394
  canvas.remove();
393
395
  clients.delete(id);
394
396
  if (worker === thread2) thread2.postMessage({ type: "remove", id });
@@ -1550,6 +1552,7 @@ U.attachBorder = (element, { shell = false, round = false, scope, defer = false
1550
1552
  item.worker ??= createBorderWorker(item);
1551
1553
  item.worker?.update();
1552
1554
  }
1555
+ if (!item.worker) overlay.setAttribute("data-ready", "");
1553
1556
  };
1554
1557
  const queueMeasurement = () => {
1555
1558
  if (item.destroyed) return;
package/dist/core.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  useSmoothWheel,
12
12
  useTabShape,
13
13
  useTick
14
- } from "./chunks/chunk-P5SNVRBZ.js";
14
+ } from "./chunks/chunk-R4HO4CY7.js";
15
15
  import {
16
16
  LocaleProvider,
17
17
  addMessages,
package/dist/forms.js CHANGED
@@ -4,8 +4,8 @@ import {
4
4
  defaultFieldRegistry,
5
5
  useForm,
6
6
  useFormContext
7
- } from "./chunks/chunk-4XHHN4GR.js";
8
- import "./chunks/chunk-P5SNVRBZ.js";
7
+ } from "./chunks/chunk-CJGLVVIM.js";
8
+ import "./chunks/chunk-R4HO4CY7.js";
9
9
  import "./chunks/chunk-BJSFN52W.js";
10
10
  import "./chunks/chunk-FCOU3ODR.js";
11
11
  export {
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  useSvgId,
63
63
  variantMaterial,
64
64
  vectorElement
65
- } from "./chunks/chunk-4XHHN4GR.js";
65
+ } from "./chunks/chunk-CJGLVVIM.js";
66
66
  import {
67
67
  ThemeProvider,
68
68
  createNeonRenderer,
@@ -79,7 +79,7 @@ import {
79
79
  useTabShape,
80
80
  useThemePalette,
81
81
  useTick
82
- } from "./chunks/chunk-P5SNVRBZ.js";
82
+ } from "./chunks/chunk-R4HO4CY7.js";
83
83
  import {
84
84
  LocaleProvider,
85
85
  addMessages,
@@ -126,6 +126,16 @@ button.ad:focus-visible {
126
126
  left: 0;
127
127
  will-change: transform;
128
128
  }
129
+ .ad-border:not([data-ready]) :is(.ad-border-aura, .ad-border-core) {
130
+ visibility: hidden;
131
+ }
132
+ .ad-border[data-ready] > canvas {
133
+ animation: ad-border-reveal 160ms ease-out both;
134
+ }
135
+ @keyframes ad-border-reveal {
136
+ from { opacity: 0; }
137
+ to { opacity: 1; }
138
+ }
129
139
  /* Paused borders should not reserve compositor layers for their four static spots. */
130
140
  [data-ad-offscreen] .ad-border-light,
131
141
  [data-ad-motion="off"] .ad-border-light {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo-ui-kit/react",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "NEO UI — React component library",
5
5
  "type": "module",
6
6
  "license": "MIT",