Skip to content

Commit

Permalink
chore: bump util & build version (#492)
Browse files Browse the repository at this point in the history
* chore: bump util

* chore: replace content
  • Loading branch information
zombieJ authored Jan 10, 2025
1 parent e8e35fc commit cedf012
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rc-tooltip",
"version": "6.4.0",
"name": "@rc-component/tooltip",
"version": "1.0.0-0",
"description": "React Tooltip",
"keywords": [
"react",
Expand Down Expand Up @@ -42,12 +42,12 @@
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@rc-component/father-plugin": "^2.0.1",
"@rc-component/trigger": "^2.0.0",
"classnames": "^2.3.1",
"rc-util": "^5.44.3"
"@rc-component/util": "^1.0.1",
"classnames": "^2.3.1"
},
"devDependencies": {
"@rc-component/father-plugin": "^1.0.0",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.4.0",
"@types/react": "^18.0.26",
Expand Down
4 changes: 2 additions & 2 deletions src/Tooltip.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { ArrowType, TriggerProps, TriggerRef } from '@rc-component/trigger';
import Trigger from '@rc-component/trigger';
import type { ActionType, AlignType } from '@rc-component/trigger/lib/interface';
import useId from '@rc-component/util/lib/hooks/useId';
import classNames from 'classnames';
import * as React from 'react';
import { forwardRef, useImperativeHandle, useRef } from 'react';
import { placements } from './placements';
import Popup from './Popup';
import useId from 'rc-util/lib/hooks/useId';

export interface TooltipProps
extends Pick<
Expand Down Expand Up @@ -57,7 +57,7 @@ export interface TooltipClassNames {
body?: string;
}

export interface TooltipRef extends TriggerRef { }
export interface TooltipRef extends TriggerRef {}

const Tooltip = (props: TooltipProps, ref: React.Ref<TooltipRef>) => {
const {
Expand Down

1 comment on commit cedf012

@vercel
Copy link

@vercel vercel bot commented on cedf012 Jan 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tooltip – ./

tooltip-git-master-react-component.vercel.app
tooltip-react-component.vercel.app

Please sign in to comment.