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

@instructure/ui-portal

Package Overview
Dependencies
Maintainers
32
Versions
1971
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-portal - npm Package Compare versions

Comparing version 10.2.3-snapshot-9 to 10.3.0

2

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

## [10.2.3-snapshot-9](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.2.3-snapshot-9) (2024-10-01)
# [10.3.0](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.3.0) (2024-10-03)

@@ -9,0 +9,0 @@ **Note:** Version bump only for package @instructure/ui-portal

@@ -53,3 +53,3 @@ var _Portal, _Portal2, _Portal3, _Portal4, _div;

const onOpen = vi.fn();
render( /*#__PURE__*/React.createElement(Portal, {
render(/*#__PURE__*/React.createElement(Portal, {
open: true,

@@ -64,3 +64,3 @@ onOpen: onOpen,

const onClose = vi.fn();
const _render2 = render( /*#__PURE__*/React.createElement(Portal, {
const _render2 = render(/*#__PURE__*/React.createElement(Portal, {
open: true,

@@ -71,3 +71,3 @@ onClose: onClose

expect(onClose).not.toHaveBeenCalled();
rerender( /*#__PURE__*/React.createElement(Portal, {
rerender(/*#__PURE__*/React.createElement(Portal, {
open: false,

@@ -80,3 +80,3 @@ onClose: onClose

const onOpen = vi.fn();
render( /*#__PURE__*/React.createElement(Portal, {
render(/*#__PURE__*/React.createElement(Portal, {
open: true,

@@ -105,3 +105,3 @@ onOpen: onOpen,

const onKeyDown = vi.fn();
render( /*#__PURE__*/React.createElement(Portal, {
render(/*#__PURE__*/React.createElement(Portal, {
open: true,

@@ -125,3 +125,3 @@ "data-testid": "portal"

it('should render nothing when closed', async () => {
render( /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Portal, {
render(/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Portal, {
mountNode: () => document.getElementById('portal-mount-node'),

@@ -139,3 +139,3 @@ "data-testid": "portal"

document.body.appendChild(mountNode);
render( /*#__PURE__*/React.createElement(Portal, {
render(/*#__PURE__*/React.createElement(Portal, {
open: true,

@@ -142,0 +142,0 @@ mountNode: mountNode,

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

const onOpen = _vitest.vi.fn();
(0, _react2.render)( /*#__PURE__*/_react.default.createElement(_index.Portal, {
(0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Portal, {
open: true,

@@ -66,3 +66,3 @@ onOpen: onOpen,

const onClose = _vitest.vi.fn();
const _render2 = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_index.Portal, {
const _render2 = (0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Portal, {
open: true,

@@ -73,3 +73,3 @@ onClose: onClose

expect(onClose).not.toHaveBeenCalled();
rerender( /*#__PURE__*/_react.default.createElement(_index.Portal, {
rerender(/*#__PURE__*/_react.default.createElement(_index.Portal, {
open: false,

@@ -82,3 +82,3 @@ onClose: onClose

const onOpen = _vitest.vi.fn();
(0, _react2.render)( /*#__PURE__*/_react.default.createElement(_index.Portal, {
(0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Portal, {
open: true,

@@ -107,3 +107,3 @@ onOpen: onOpen,

const onKeyDown = _vitest.vi.fn();
(0, _react2.render)( /*#__PURE__*/_react.default.createElement(_index.Portal, {
(0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Portal, {
open: true,

@@ -127,3 +127,3 @@ "data-testid": "portal"

it('should render nothing when closed', async () => {
(0, _react2.render)( /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_index.Portal, {
(0, _react2.render)(/*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_index.Portal, {
mountNode: () => document.getElementById('portal-mount-node'),

@@ -141,3 +141,3 @@ "data-testid": "portal"

document.body.appendChild(mountNode);
(0, _react2.render)( /*#__PURE__*/_react.default.createElement(_index.Portal, {
(0, _react2.render)(/*#__PURE__*/_react.default.createElement(_index.Portal, {
open: true,

@@ -144,0 +144,0 @@ mountNode: mountNode,

{
"name": "@instructure/ui-portal",
"version": "10.2.3-snapshot-9",
"version": "10.3.0",
"description": "A UI component library made by Instructure Inc.",

@@ -26,16 +26,16 @@ "author": "Instructure, Inc. Engineering and Product Design",

"devDependencies": {
"@instructure/ui-axe-check": "10.2.3-snapshot-9",
"@instructure/ui-babel-preset": "10.2.3-snapshot-9",
"@instructure/ui-axe-check": "10.3.0",
"@instructure/ui-babel-preset": "10.3.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.0.2"
"vitest": "^2.1.1"
},
"dependencies": {
"@babel/runtime": "^7.24.5",
"@instructure/shared-types": "10.2.3-snapshot-9",
"@instructure/ui-dom-utils": "10.2.3-snapshot-9",
"@instructure/ui-i18n": "10.2.3-snapshot-9",
"@instructure/ui-prop-types": "10.2.3-snapshot-9",
"@instructure/ui-react-utils": "10.2.3-snapshot-9",
"@babel/runtime": "^7.25.6",
"@instructure/shared-types": "10.3.0",
"@instructure/ui-dom-utils": "10.3.0",
"@instructure/ui-i18n": "10.3.0",
"@instructure/ui-prop-types": "10.3.0",
"@instructure/ui-react-utils": "10.3.0",
"prop-types": "^15.8.1"

@@ -42,0 +42,0 @@ },

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