Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/ci-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
if [ -f $NODE_VERSION_FILE ]; then
NODE_VERSION="$(cat $NODE_VERSION_FILE)"
else
NODE_VERSION=22
NODE_VERSION=18
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/resolve-demo-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: setup nodejs
uses: actions/setup-node@v5
with:
node-version: 22
node-version: 24
cache: yarn

- name: install dependencies
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,11 @@ lerna-debug.log
.npmrc

.storybook/public/images/*-preview-snap.png

**/.yarn/*
!**/.yarn/cache
!**/.yarn/patches
!**/.yarn/plugins
!**/.yarn/releases
!**/.yarn/sdks
!**/.yarn/versions
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22
24
942 changes: 942 additions & 0 deletions .yarn/releases/yarn-4.12.0.cjs

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.12.0.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,5 @@
"webpack": "^5.98.0",
"yargs": "^17.7.2"
},
"packageManager": "yarn@1.22.22"
"packageManager": "yarn@4.12.0"
}
4 changes: 1 addition & 3 deletions packages/phone-input/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ export function setCaretPosition({
inputRef: React.RefObject<HTMLInputElement>;
}) {
window.requestAnimationFrame(() => {
if (inputRef === null || !inputRef.current) return;

inputRef.current.setSelectionRange(position, position);
inputRef.current?.setSelectionRange(position, position);
});
}

Expand Down
5 changes: 1 addition & 4 deletions packages/space/src/Component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,7 @@ export const Space = forwardRef<HTMLDivElement, SpaceProps>((props, ref) => {
} = props;

const [horizontalSize, verticalSize] = React.useMemo(
() =>
((Array.isArray(size) ? size : [size, size]) as [Size, Size]).map((item) =>
getNumberSize(item),
),
() => (Array.isArray(size) ? size : [size, size]).map((item) => getNumberSize(item)),
[size],
);

Expand Down
2 changes: 1 addition & 1 deletion packages/textarea/src/Component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(

// Хак, так как react-textarea-autosize перестал поддерживать maxHeight
useEffect(() => {
if (autosize && maxHeight && textareaNode && textareaNode.style) {
if (autosize && maxHeight && textareaNode?.style) {
textareaNode.style.maxHeight = `${maxHeight}px`;
}
}, [autosize, maxHeight, textareaNode]);
Expand Down
27 changes: 21 additions & 6 deletions tools/gh-actions/resolve-demo-params/yarn.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
# This file is generated by running "yarn install" inside your project.
# Manual changes might be lost - proceed with caution!

__metadata:
version: 8
cacheKey: 10c0

semver@^7.7.2:
version "7.7.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58"
integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==
"resolve-demo-params@workspace:.":
version: 0.0.0-use.local
resolution: "resolve-demo-params@workspace:."
dependencies:
semver: "npm:^7.7.2"
languageName: unknown
linkType: soft

"semver@npm:^7.7.2":
version: 7.7.2
resolution: "semver@npm:7.7.2"
bin:
semver: bin/semver.js
checksum: 10c0/aca305edfbf2383c22571cb7714f48cadc7ac95371b4b52362fb8eeffdfbc0de0669368b82b2b15978f8848f01d7114da65697e56cd8c37b0dab8c58e543f9ea
languageName: node
linkType: hard
Loading