react-time-picker
Advanced tools
Comparing version 6.5.0 to 6.5.1
@@ -265,3 +265,2 @@ "use strict"; | ||
openClockOnFocus: prop_types_1.default.bool, | ||
portalContainer: isBrowser ? prop_types_1.default.instanceOf(HTMLElement) : undefined, | ||
required: prop_types_1.default.bool, | ||
@@ -272,2 +271,5 @@ secondAriaLabel: prop_types_1.default.string, | ||
}; | ||
if (isBrowser) { | ||
TimePicker.propTypes.portalContainer = prop_types_1.default.instanceOf(HTMLElement); | ||
} | ||
exports.default = TimePicker; |
@@ -237,3 +237,2 @@ 'use client'; | ||
openClockOnFocus: PropTypes.bool, | ||
portalContainer: isBrowser ? PropTypes.instanceOf(HTMLElement) : undefined, | ||
required: PropTypes.bool, | ||
@@ -244,2 +243,5 @@ secondAriaLabel: PropTypes.string, | ||
}; | ||
if (isBrowser) { | ||
TimePicker.propTypes.portalContainer = PropTypes.instanceOf(HTMLElement); | ||
} | ||
export default TimePicker; |
{ | ||
"name": "react-time-picker", | ||
"version": "6.5.0", | ||
"version": "6.5.1", | ||
"description": "A time picker for your React app.", | ||
@@ -106,3 +106,3 @@ "type": "module", | ||
"unit": "vitest", | ||
"watch": "yarn build-js-esm --watch & yarn build-js-cjs --watch & yarn build-js-cjs-package & nodemon --watch src --ext css --exec \"yarn copy-styles\"" | ||
"watch": "yarn build-js-esm --watch & yarn build-js-cjs --watch & nodemon --watch src --ext css --exec \"yarn copy-styles\"" | ||
}, | ||
@@ -139,7 +139,5 @@ "keywords": [ | ||
"eslint-config-wojtekmaj": "^0.9.0", | ||
"husky": "^8.0.0", | ||
"jsdom": "^21.1.0", | ||
"nodemon": "^3.0.0", | ||
"prettier": "^2.7.0", | ||
"pretty-quick": "^3.1.0", | ||
"prettier": "^3.0.0", | ||
"react": "^18.2.0", | ||
@@ -149,3 +147,3 @@ "react-dom": "^18.2.0", | ||
"typescript": "^5.0.0", | ||
"vitest": "^0.30.1", | ||
"vitest": "^0.34.0", | ||
"vitest-canvas-mock": "^0.2.2" | ||
@@ -173,6 +171,6 @@ }, | ||
"type": "git", | ||
"url": "https://github.com/wojtekmaj/react-time-picker.git" | ||
"url": "https://github.com/wojtekmaj/react-time-picker.git", | ||
"directory": "packages/react-time-picker" | ||
}, | ||
"funding": "https://github.com/wojtekmaj/react-time-picker?sponsor=1", | ||
"packageManager": "yarn@3.1.0" | ||
"funding": "https://github.com/wojtekmaj/react-time-picker?sponsor=1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
18
6112
283482