New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

terra-dialog

Package Overview
Dependencies
Maintainers
8
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-dialog - npm Package Compare versions

Comparing version 2.86.0 to 2.87.0

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

## 2.87.0 - (February 15, 2024)
* Changed
* Minor dependency version bump.
## 2.86.0 - (January 9, 2024)

@@ -7,0 +12,0 @@

10

package.json
{
"name": "terra-dialog",
"version": "2.86.0",
"version": "2.87.0",
"description": "Dialogs are temporary views that can be used in a myriad of ways. Dialogs have the ability to alert users to act on critical information. In doing so, Dialogs may allow users to avoid destructive decisions, and also extend user workflows without disorienting the user.",

@@ -27,5 +27,5 @@ "author": "Cerner Corporation",

"prop-types": "^15.5.8",
"terra-button": "^3.73.0",
"terra-content-container": "^3.40.0",
"terra-icon": "^3.59.0",
"terra-button": "^3.74.0",
"terra-content-container": "^3.41.0",
"terra-icon": "^3.60.0",
"terra-mixins": "^1.41.0",

@@ -52,3 +52,3 @@ "terra-theme-context": "^1.0.0"

},
"gitHead": "11a2f3a121e9701433769d213d55bda871139935"
"gitHead": "31ec38baf909fed741b41a204f7fa28884ab327e"
}
import React from 'react';
import ThemeContextProvider from 'terra-theme-context/lib/ThemeContextProvider';
/* eslint-disable-next-line import/no-extraneous-dependencies */
import { shallowWithIntl, mountWithIntl } from 'terra-enzyme-intl';
import Dialog from '../../src/Dialog';

@@ -13,3 +11,3 @@

it('should render a default component', () => {
const wrapper = shallowWithIntl(defaultRender).dive();
const wrapper = enzymeIntl.shallowWithIntl(defaultRender).dive();
expect(wrapper).toMatchSnapshot();

@@ -20,3 +18,3 @@ });

it('should have the class dialog', () => {
const wrapper = shallowWithIntl(defaultRender).dive();
const wrapper = enzymeIntl.shallowWithIntl(defaultRender).dive();
expect(wrapper.prop('className')).toContain('dialog');

@@ -26,3 +24,3 @@ });

it('should render a Dialog with merged attributes', () => {
const wrapper = shallowWithIntl(<Dialog header="Header Content" footer="Footer Content" className="TestClass">some body content</Dialog>).dive();
const wrapper = enzymeIntl.shallowWithIntl(<Dialog header="Header Content" footer="Footer Content" className="TestClass">some body content</Dialog>).dive();
expect(wrapper).toMatchSnapshot();

@@ -32,3 +30,3 @@ });

it('correctly applies the theme context className', () => {
const wrapper = mountWithIntl(
const wrapper = enzymeIntl.mountWithIntl(
<ThemeContextProvider theme={{ className: 'orion-fusion-theme' }}>

@@ -35,0 +33,0 @@ {defaultRender}

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