Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hig/progress-ring

Package Overview
Dependencies
Maintainers
6
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/progress-ring - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

34

build/index.es.js

@@ -201,10 +201,3 @@ import React, { useState, useRef, useEffect } from 'react';

};
/**
* @param {HTMLDivElement} containerRef
*/
const refContainer = param => {
containerRef.current = param;
};
useEffect(() => {

@@ -224,2 +217,3 @@ if (cssTransitionState === "entered" || cssTransitionState === "exited") {

classNames: "hig__progress-ring--",
nodeRef: containerRef,
onEntering: handleEntering,

@@ -230,3 +224,3 @@ onEntered: handleEntered,

}, status => props.children({
innerRef: refContainer,
innerRef: containerRef,
percentComplete: props.percentComplete,

@@ -358,10 +352,3 @@ cssTransitionState: status

};
/**
* @param {HTMLDivElement} containerRef
*/
const refContainer = value => {
containerRef.current = value;
};
useEffect(() => {

@@ -379,2 +366,3 @@ initSegments();

classNames: "hig__progress-ring--",
nodeRef: containerRef,
onEntering: handleEntering,

@@ -385,3 +373,3 @@ onEntered: handleEntered,

}, status => props.children({
innerRef: refContainer,
innerRef: containerRef,
cssTransitionState: status

@@ -968,3 +956,5 @@ }));

cssTransitionState: PropTypes.string,
innerRef: PropTypes.func,
innerRef: PropTypes.shape({
current: PropTypes.shape([PropTypes.any])
}),
mask: PropTypes.string,

@@ -989,3 +979,11 @@ percentComplete: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),

"type": {
"name": "func"
"name": "shape",
"value": {
"current": {
"name": "shape",
"value": "[PropTypes.any]",
"computed": true,
"required": false
}
}
},

@@ -992,0 +990,0 @@ "required": false,

@@ -211,10 +211,3 @@ 'use strict';

};
/**
* @param {HTMLDivElement} containerRef
*/
const refContainer = param => {
containerRef.current = param;
};
React.useEffect(() => {

@@ -234,2 +227,3 @@ if (cssTransitionState === "entered" || cssTransitionState === "exited") {

classNames: "hig__progress-ring--",
nodeRef: containerRef,
onEntering: handleEntering,

@@ -240,3 +234,3 @@ onEntered: handleEntered,

}, status => props.children({
innerRef: refContainer,
innerRef: containerRef,
percentComplete: props.percentComplete,

@@ -368,10 +362,3 @@ cssTransitionState: status

};
/**
* @param {HTMLDivElement} containerRef
*/
const refContainer = value => {
containerRef.current = value;
};
React.useEffect(() => {

@@ -389,2 +376,3 @@ initSegments();

classNames: "hig__progress-ring--",
nodeRef: containerRef,
onEntering: handleEntering,

@@ -395,3 +383,3 @@ onEntered: handleEntered,

}, status => props.children({
innerRef: refContainer,
innerRef: containerRef,
cssTransitionState: status

@@ -978,3 +966,5 @@ }));

cssTransitionState: PropTypes__default["default"].string,
innerRef: PropTypes__default["default"].func,
innerRef: PropTypes__default["default"].shape({
current: PropTypes__default["default"].shape([PropTypes__default["default"].any])
}),
mask: PropTypes__default["default"].string,

@@ -999,3 +989,11 @@ percentComplete: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),

"type": {
"name": "func"
"name": "shape",
"value": {
"current": {
"name": "shape",
"value": "[PropTypes.any]",
"computed": true,
"required": false
}
}
},

@@ -1002,0 +1000,0 @@ "required": false,

@@ -0,1 +1,8 @@

# [@hig/progress-ring-v2.2.1](https://github.com/Autodesk/hig/compare/@hig/progress-ring@2.2.0...@hig/progress-ring@2.2.1) (2022-08-23)
### Bug Fixes
* use nodeRef for CSSTransition ([9d1e8b5](https://github.com/Autodesk/hig/commit/9d1e8b5)), closes [/github.com/reactjs/react-transition-group/issues/668#issuecomment-695162879](https://github.com//github.com/reactjs/react-transition-group/issues/668/issues/issuecomment-695162879)
# [@hig/progress-ring-v2.2.0](https://github.com/Autodesk/hig/compare/@hig/progress-ring@2.1.0...@hig/progress-ring@2.2.0) (2022-06-15)

@@ -2,0 +9,0 @@

{
"name": "@hig/progress-ring",
"version": "2.2.0",
"version": "2.2.1",
"description": "HIG Progress Ring",

@@ -26,3 +26,3 @@ "author": "Autodesk Inc.",

"@hig/theme-context": "^4.0.0",
"@hig/theme-data": "^2.26.0",
"@hig/theme-data": "^3.1.0",
"react": "^17.0.0"

@@ -29,0 +29,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc