@neo-ui-kit/react 1.4.7 → 1.4.9
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.
|
|
68
|
+
npm install /path/to/adui/release/neo-ui-kit-react-1.4.9.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-
|
|
5
|
+
} from "./chunk-A4ZF2JYW.js";
|
|
6
6
|
import {
|
|
7
7
|
assignRef,
|
|
8
8
|
clamp,
|
|
@@ -1004,7 +1004,7 @@ function Tabs(p) {
|
|
|
1004
1004
|
"--ad-tabs-x": `${tab.offsetLeft}px`,
|
|
1005
1005
|
"--ad-tabs-w": `${tab.offsetWidth}px`
|
|
1006
1006
|
});
|
|
1007
|
-
update();
|
|
1007
|
+
if (typeof ResizeObserver === "undefined") update();
|
|
1008
1008
|
const observer = createResizeObserver(update);
|
|
1009
1009
|
observer.observe(tab);
|
|
1010
1010
|
if (tab.parentElement) observer.observe(tab.parentElement);
|
|
@@ -1109,7 +1109,11 @@ function scan(now, animations = pendingAnimations) {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
1112
|
-
|
|
1112
|
+
const targets = [...roots];
|
|
1113
|
+
let common = targets[0];
|
|
1114
|
+
while (common && targets.some((target) => target !== common && !common.contains?.(target)))
|
|
1115
|
+
common = common.parentElement;
|
|
1116
|
+
for (const target of common ? [common] : targets)
|
|
1113
1117
|
for (const animation of target.getAnimations?.({ subtree: true }) || []) pendingAnimations.add(animation);
|
|
1114
1118
|
pendingTargets.clear();
|
|
1115
1119
|
for (const animation of animations)
|
package/dist/core.js
CHANGED
package/dist/forms.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
defaultFieldRegistry,
|
|
5
5
|
useForm,
|
|
6
6
|
useFormContext
|
|
7
|
-
} from "./chunks/chunk-
|
|
8
|
-
import "./chunks/chunk-
|
|
7
|
+
} from "./chunks/chunk-2YGODRDJ.js";
|
|
8
|
+
import "./chunks/chunk-A4ZF2JYW.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-
|
|
65
|
+
} from "./chunks/chunk-2YGODRDJ.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-
|
|
82
|
+
} from "./chunks/chunk-A4ZF2JYW.js";
|
|
83
83
|
import {
|
|
84
84
|
LocaleProvider,
|
|
85
85
|
addMessages,
|