Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0119e2a

Browse files
authored
chore: bump util & father plugin (#298)
* chore: bump util * chore: bump father plugin
1 parent 7f2e8f5 commit 0119e2a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

‎package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "rc-segmented",
3-
"version": "2.7.0",
2+
"name": "@rc-component/segmented",
3+
"version": "1.0.0-1",
44
"description": "React segmented controls used in ant.design",
55
"keywords": [
66
"react",
@@ -49,10 +49,10 @@
4949
"@babel/runtime": "^7.11.1",
5050
"classnames": "^2.2.1",
5151
"rc-motion": "^2.4.4",
52-
"rc-util": "^5.17.0"
52+
"@rc-component/util": "^1.1.0"
5353
},
5454
"devDependencies": {
55-
"@rc-component/father-plugin": "^1.0.1",
55+
"@rc-component/father-plugin": "^2.0.1",
5656
"@testing-library/jest-dom": "^5.16.5",
5757
"@testing-library/react": "^14.2.1",
5858
"@testing-library/user-event": "^14.5.2",

‎src/MotionThumb.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import useLayoutEffect from '@rc-component/util/lib/hooks/useLayoutEffect';
2+
import { composeRef } from '@rc-component/util/lib/ref';
13
import classNames from 'classnames';
24
import CSSMotion from 'rc-motion';
3-
import useLayoutEffect from 'rc-util/lib/hooks/useLayoutEffect';
4-
import { composeRef } from 'rc-util/lib/ref';
55
import * as React from 'react';
66
import type { SegmentedValue } from '.';
77

‎src/index.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import useMergedState from '@rc-component/util/lib/hooks/useMergedState';
2+
import omit from '@rc-component/util/lib/omit';
3+
import { composeRef } from '@rc-component/util/lib/ref';
14
import classNames from 'classnames';
2-
import useMergedState from 'rc-util/lib/hooks/useMergedState';
3-
import omit from 'rc-util/lib/omit';
4-
import { composeRef } from 'rc-util/lib/ref';
55
import * as React from 'react';
66

77
import MotionThumb from './MotionThumb';

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /