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

@paprika/helpers

Package Overview
Dependencies
Maintainers
3
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paprika/helpers - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1-next.0

6

CHANGELOG.md
# Changelog
## 2.2.1-next.0
### Patch Changes
- 63f9a05: Added `container` prop to Panel to support Shadow DOM
## 2.2.0

@@ -4,0 +10,0 @@

10

lib/components/Portal.d.ts

@@ -8,5 +8,5 @@ export default Portal;

declare namespace propTypes {
const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
const active: PropTypes.Requireable<boolean>;
const container: PropTypes.Requireable<PropTypes.ReactNodeLike>;
export const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
export const active: PropTypes.Requireable<boolean>;
export { DOMElementType as container };
}

@@ -18,5 +18,5 @@ declare namespace defaultProps {

export { active_1 as active };
const container_1: null;
export { container_1 as container };
export const container: null;
}
import PropTypes from "prop-types";
import { DOMElementType } from "../customPropTypes";

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

var _ = require("..");
var propTypes = {
children: _propTypes["default"].node,
active: _propTypes["default"].bool,
container: _propTypes["default"].node
container: _.DOMElementType
};

@@ -25,0 +27,0 @@ var defaultProps = {

@@ -32,2 +32,3 @@ export namespace ShirtSizes {

}>>;
export const DOMElementType: PropTypes.Requireable<Element | ShadowRoot>;
import PropTypes from "prop-types";

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

exports.RefOf = exports.FocusPropTypes = exports.deprecated = exports.AlignTypes = exports.ShirtSizes = void 0;
exports.DOMElementType = exports.RefOf = exports.FocusPropTypes = exports.deprecated = exports.AlignTypes = exports.ShirtSizes = void 0;

@@ -79,2 +79,6 @@ var _values = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/values"));

exports.RefOf = RefOf;
var DOMElementType = _propTypes["default"].oneOfType([_propTypes["default"].instanceOf(Element), _propTypes["default"].instanceOf(ShadowRoot)]);
exports.DOMElementType = DOMElementType;
//# sourceMappingURL=customPropTypes.js.map

@@ -8,5 +8,5 @@ export default Portal;

declare namespace propTypes {
const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
const active: PropTypes.Requireable<boolean>;
const container: PropTypes.Requireable<PropTypes.ReactNodeLike>;
export const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
export const active: PropTypes.Requireable<boolean>;
export { DOMElementType as container };
}

@@ -18,5 +18,5 @@ declare namespace defaultProps {

export { active_1 as active };
const container_1: null;
export { container_1 as container };
export const container: null;
}
import PropTypes from "prop-types";
import { DOMElementType } from "../customPropTypes";
import ReactDOM from "react-dom";
import React from "react";
import PropTypes from "prop-types";
import { DOMElementType } from "..";
var propTypes = {
children: PropTypes.node,
active: PropTypes.bool,
container: PropTypes.node
container: DOMElementType
};

@@ -9,0 +10,0 @@ var defaultProps = {

@@ -32,2 +32,3 @@ export namespace ShirtSizes {

}>>;
export var DOMElementType: PropTypes.Requireable<Element | ShadowRoot>;
import PropTypes from "prop-types";

@@ -55,2 +55,3 @@ import _Object$values from "@babel/runtime-corejs2/core-js/object/values";

};
export var DOMElementType = PropTypes.oneOfType([PropTypes.instanceOf(Element), PropTypes.instanceOf(ShadowRoot)]);
//# sourceMappingURL=customPropTypes.js.map
{
"name": "@paprika/helpers",
"version": "2.2.0",
"version": "2.2.1-next.0",
"description": "JavaScript and React helper utilities",

@@ -5,0 +5,0 @@ "author": "@paprika",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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