rc-progress
Advanced tools
Comparing version 3.1.2 to 3.1.3
import * as React from 'react'; | ||
import type { ProgressProps } from './interface'; | ||
import { ProgressProps } from './interface'; | ||
declare const Circle: React.FC<ProgressProps>; | ||
export default Circle; |
@@ -55,3 +55,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
strokeDashoffset: "-".concat(gapDegree / 2 + offset / 100 * (len - gapDegree), "px"), | ||
transition: 'stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s' | ||
transition: 'stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s' | ||
}; | ||
@@ -58,0 +58,0 @@ return { |
/// <reference types="react" /> | ||
import type { ProgressProps } from './interface'; | ||
import { ProgressProps } from './interface'; | ||
export declare const defaultProps: Partial<ProgressProps>; | ||
export declare const useTransitionDuration: (percentList: number[]) => import("react").MutableRefObject<undefined>[][]; |
/// <reference types="react" /> | ||
import Line from './Line'; | ||
import Circle from './Circle'; | ||
import type { ProgressProps } from './interface'; | ||
import { ProgressProps } from './interface'; | ||
export { Line, Circle, ProgressProps }; | ||
@@ -6,0 +6,0 @@ declare const _default: { |
@@ -1,2 +0,2 @@ | ||
import type * as React from 'react'; | ||
import * as React from 'react'; | ||
export interface ProgressProps { | ||
@@ -3,0 +3,0 @@ strokeWidth?: number; |
import * as React from 'react'; | ||
import type { ProgressProps } from './interface'; | ||
import { ProgressProps } from './interface'; | ||
declare const Line: React.FC<ProgressProps>; | ||
export default Line; |
import * as React from 'react'; | ||
import type { ProgressProps } from './interface'; | ||
import { ProgressProps } from './interface'; | ||
declare const Circle: React.FC<ProgressProps>; | ||
export default Circle; |
@@ -72,3 +72,3 @@ "use strict"; | ||
strokeDashoffset: "-".concat(gapDegree / 2 + offset / 100 * (len - gapDegree), "px"), | ||
transition: 'stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s' | ||
transition: 'stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s' | ||
}; | ||
@@ -75,0 +75,0 @@ return { |
/// <reference types="react" /> | ||
import type { ProgressProps } from './interface'; | ||
import { ProgressProps } from './interface'; | ||
export declare const defaultProps: Partial<ProgressProps>; | ||
export declare const useTransitionDuration: (percentList: number[]) => import("react").MutableRefObject<undefined>[][]; |
/// <reference types="react" /> | ||
import Line from './Line'; | ||
import Circle from './Circle'; | ||
import type { ProgressProps } from './interface'; | ||
import { ProgressProps } from './interface'; | ||
export { Line, Circle, ProgressProps }; | ||
@@ -6,0 +6,0 @@ declare const _default: { |
@@ -1,2 +0,2 @@ | ||
import type * as React from 'react'; | ||
import * as React from 'react'; | ||
export interface ProgressProps { | ||
@@ -3,0 +3,0 @@ strokeWidth?: number; |
import * as React from 'react'; | ||
import type { ProgressProps } from './interface'; | ||
import { ProgressProps } from './interface'; | ||
declare const Line: React.FC<ProgressProps>; | ||
export default Line; |
{ | ||
"name": "rc-progress", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "progress ui component for react", | ||
@@ -27,4 +27,5 @@ "keywords": [ | ||
"scripts": { | ||
"start": "cross-env NODE_ENV=development father doc dev --storybook", | ||
"build": "father doc build --storybook", | ||
"start": "dumi dev", | ||
"docs:build": "dumi build", | ||
"docs:deploy": "gh-pages -d docs-dist", | ||
"compile": "father build", | ||
@@ -36,3 +37,4 @@ "gh-pages": "npm run build && father doc deploy", | ||
"test": "father test", | ||
"coverage": "father test --coverage" | ||
"coverage": "father test --coverage", | ||
"now-build": "npm run docs:build" | ||
}, | ||
@@ -54,2 +56,3 @@ "peerDependencies": { | ||
"cross-env": "^7.0.0", | ||
"dumi": "^1.1.0", | ||
"enzyme": "^3.1.1", | ||
@@ -60,3 +63,4 @@ "enzyme-adapter-react-16": "^1.0.1", | ||
"father": "^2.29.6", | ||
"np": "^6.5.0", | ||
"glob": "^7.1.6", | ||
"np": "^7.2.0", | ||
"prettier": "^2.1.1", | ||
@@ -63,0 +67,0 @@ "react": "^16.9.0", |
@@ -5,14 +5,8 @@ # rc-progress | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][travis-image]][travis-url] | ||
[![Test coverage][coveralls-image]][coveralls-url] | ||
[![Dependencies][david-image]](david-url) | ||
[![DevDependencies][david-dev-image]][david-dev-url] | ||
[![npm download][download-image]][download-url] | ||
[![bundle size][bundlephobia-image]][bundlephobia-url] | ||
[![NPM version][npm-image]][npm-url] [![dumi](https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square)](https://github.com/umijs/dumi) [![build status][github-actions-image]][github-actions-url] [![Test coverage][coveralls-image]][coveralls-url] [![npm download][download-image]][download-url] [![bundle size][bundlephobia-image]][bundlephobia-url] | ||
[npm-image]: http://img.shields.io/npm/v/rc-progress.svg?style=flat-square | ||
[npm-url]: http://npmjs.org/package/rc-progress | ||
[travis-image]: https://img.shields.io/travis/react-component/progress/master?style=flat-square | ||
[travis-url]: https://travis-ci.org/react-component/progress | ||
[github-actions-image]: https://github.com/react-component/progress/workflows/CI/badge.svg | ||
[github-actions-url]: https://github.com/react-component/progress/actions | ||
[circleci-image]: https://img.shields.io/circleci/react-component/progress/master?style=flat-square | ||
@@ -33,3 +27,3 @@ [circleci-url]: https://circleci.com/gh/react-component/progress | ||
http://react-component.github.io/progress/ | ||
https://progress.react-component.vercel.app/ | ||
@@ -36,0 +30,0 @@ ## Screenshots |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34119
18
158
1