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

@clayui/shared

Package Overview
Dependencies
Maintainers
17
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/shared - npm Package Compare versions

Comparing version 3.29.0 to 3.32.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

# [3.32.0](https://github.com/liferay/clay/compare/v3.31.0...v3.32.0) (2021-07-28)
### Bug Fixes
- **@clayui/shared:** fixes error when getting stuck in an input masked as hidden ([4c0c5cb](https://github.com/liferay/clay/commit/4c0c5cb))
# [3.29.0](https://github.com/liferay/clay/compare/v3.28.0...v3.29.0) (2021-05-28)

@@ -8,0 +14,0 @@

3

lib/index.d.ts
export declare const noop: () => void;
export { ClayPortal, IBaseProps as IPortalBaseProps } from './Portal';
export { ClayPortal } from './Portal';
export { delegate } from './delegate';

@@ -16,2 +16,3 @@ export { FocusScope } from './FocusScope';

export { MouseSafeArea } from './MouseSafeArea';
export type { IBaseProps as IPortalBaseProps } from './Portal';
export type { TInternalStateOnChange } from './useInternalState';

@@ -12,8 +12,2 @@ "use strict";

});
Object.defineProperty(exports, "IPortalBaseProps", {
enumerable: true,
get: function get() {
return _Portal.IBaseProps;
}
});
Object.defineProperty(exports, "delegate", {

@@ -20,0 +14,0 @@ enumerable: true,

@@ -8,2 +8,6 @@ "use strict";

var _provider = require("@clayui/provider");
var _classnames = _interopRequireDefault(require("classnames"));
var _react = _interopRequireDefault(require("react"));

@@ -44,5 +48,8 @@

var _useProvider = (0, _provider.useProvider)(),
theme = _useProvider.theme;
var parentPortalRef = _react.default.useContext(ClayPortalContext);
var portalRef = _react.default.useRef(typeof document !== 'undefined' ? createDivElement(className, id) : null);
var portalRef = _react.default.useRef(typeof document !== 'undefined' ? createDivElement((0, _classnames.default)(theme, className), id) : null);

@@ -49,0 +56,0 @@ _react.default.useEffect(function () {

@@ -54,3 +54,3 @@ "use strict";

if (tagName === 'input') {
return type !== 'file' && type !== 'hidden';
return type !== 'file' && type !== 'hidden' && (tabIndex != null ? tabIndex >= minTabIndex : true);
}

@@ -57,0 +57,0 @@

{
"name": "@clayui/shared",
"version": "3.29.0",
"version": "3.32.0",
"description": "ClayShared component",

@@ -29,9 +29,11 @@ "license": "BSD-3-Clause",

"dependencies": {
"@clayui/button": "^3.6.0",
"@clayui/link": "^3.2.0"
"@clayui/button": "^3.32.0",
"@clayui/link": "^3.32.0",
"classnames": "^2.2.6"
},
"peerDependencies": {
"@clayui/css": "3.x",
"react": "^16.8.1",
"react-dom": "^16.8.1"
"@clayui/provider": "^3.32.0",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},

@@ -41,3 +43,3 @@ "browserslist": [

],
"gitHead": "d639da89b4ac9eddb66a0b5270da046c4da6565d"
"gitHead": "b3d1b171cc411bc8325f15a96f84e0458b9e94f0"
}

@@ -57,3 +57,7 @@ /**

if (tagName === 'input') {
return type !== 'file' && type !== 'hidden';
return (
type !== 'file' &&
type !== 'hidden' &&
(tabIndex != null ? tabIndex >= minTabIndex : true)
);
}

@@ -60,0 +64,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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