@dhis2-ui/notice-box 9.5.0-alpha.1 → 9.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- var _steps = require("cypress-cucumber-preprocessor/steps");
3
+ var _cypressCucumberPreprocessor = require("@badeball/cypress-cucumber-preprocessor");
4
4
 
5
- (0, _steps.Given)('a NoticeBox receives a message as children', () => {
5
+ (0, _cypressCucumberPreprocessor.Given)('a NoticeBox receives a message as children', () => {
6
6
  cy.visitStory('NoticeBox', 'With children');
7
7
  cy.get('[data-test="dhis2-uicore-noticebox"]').should('be.visible');
8
8
  });
9
- (0, _steps.Then)('the message is visible', () => {
9
+ (0, _cypressCucumberPreprocessor.Then)('the message is visible', () => {
10
10
  cy.get('[data-test="dhis2-uicore-noticebox-content-message"]').contains('The noticebox content').should('be.visible');
11
11
  });
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- var _steps = require("cypress-cucumber-preprocessor/steps");
3
+ var _cypressCucumberPreprocessor = require("@badeball/cypress-cucumber-preprocessor");
4
4
 
5
- (0, _steps.Given)('a NoticeBox receives a title prop', () => {
5
+ (0, _cypressCucumberPreprocessor.Given)('a NoticeBox receives a title prop', () => {
6
6
  cy.visitStory('NoticeBox', 'With title');
7
7
  cy.get('[data-test="dhis2-uicore-noticebox"]').should('be.visible');
8
8
  });
9
- (0, _steps.Then)('the title is visible', () => {
9
+ (0, _cypressCucumberPreprocessor.Then)('the title is visible', () => {
10
10
  cy.get('[data-test="dhis2-uicore-noticebox-content-title"]').contains('The noticebox title').should('be.visible');
11
11
  });
@@ -1,4 +1,4 @@
1
- import { Given, Then } from 'cypress-cucumber-preprocessor/steps';
1
+ import { Given, Then } from '@badeball/cypress-cucumber-preprocessor';
2
2
  Given('a NoticeBox receives a message as children', () => {
3
3
  cy.visitStory('NoticeBox', 'With children');
4
4
  cy.get('[data-test="dhis2-uicore-noticebox"]').should('be.visible');
@@ -1,4 +1,4 @@
1
- import { Given, Then } from 'cypress-cucumber-preprocessor/steps';
1
+ import { Given, Then } from '@badeball/cypress-cucumber-preprocessor';
2
2
  Given('a NoticeBox receives a title prop', () => {
3
3
  cy.visitStory('NoticeBox', 'With title');
4
4
  cy.get('[data-test="dhis2-uicore-noticebox"]').should('be.visible');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/notice-box",
3
- "version": "9.5.0-alpha.1",
3
+ "version": "9.6.0",
4
4
  "description": "UI NoticeBox",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@dhis2/prop-types": "^3.1.2",
36
- "@dhis2/ui-constants": "9.5.0-alpha.1",
37
- "@dhis2/ui-icons": "9.5.0-alpha.1",
36
+ "@dhis2/ui-constants": "9.6.0",
37
+ "@dhis2/ui-icons": "9.6.0",
38
38
  "classnames": "^2.3.1",
39
39
  "prop-types": "^15.7.2"
40
40
  },