@dhis2-ui/alert 7.4.1 → 7.4.5

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,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- require("../common");
3
+ require("../common/index.js");
4
4
 
5
5
  var _steps = require("cypress-cucumber-preprocessor/steps");
6
6
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- require("../common");
3
+ require("../common/index.js");
4
4
 
5
5
  var _steps = require("cypress-cucumber-preprocessor/steps");
6
6
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- require("../common");
3
+ require("../common/index.js");
4
4
 
5
5
  var _steps = require("cypress-cucumber-preprocessor/steps");
6
6
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- require("../common/index");
3
+ require("../common/index.js");
4
4
 
5
5
  var _steps = require("cypress-cucumber-preprocessor/steps");
6
6
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- require("../common/index");
3
+ require("../common/index.js");
4
4
 
5
5
  var _steps = require("cypress-cucumber-preprocessor/steps");
6
6
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- require("../common/index");
3
+ require("../common/index.js");
4
4
 
5
5
  var _steps = require("cypress-cucumber-preprocessor/steps");
6
6
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- require("../common/index");
3
+ require("../common/index.js");
4
4
 
5
5
  var _steps = require("cypress-cucumber-preprocessor/steps");
6
6
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- require("../common/index");
3
+ require("../common/index.js");
4
4
 
5
5
  var _steps = require("cypress-cucumber-preprocessor/steps");
6
6
 
@@ -1,4 +1,4 @@
1
- import '../common';
1
+ import '../common/index.js';
2
2
  import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps';
3
3
  Given('an Alertbar with onHidden handler is rendered', () => {
4
4
  cy.visitStory('Alertbar', 'With onHidden');
@@ -1,4 +1,4 @@
1
- import '../common';
1
+ import '../common/index.js';
2
2
  import { Given, Then } from 'cypress-cucumber-preprocessor/steps';
3
3
  Given('an AlertBar with onHidden handler is rendered', () => {
4
4
  cy.visitStory('AlertBar', 'With onHidden');
@@ -1,4 +1,4 @@
1
- import '../common';
1
+ import '../common/index.js';
2
2
  import { Given, Then } from 'cypress-cucumber-preprocessor/steps';
3
3
  Given('an AlertBar with onHidden handler is rendered', () => {
4
4
  cy.visitStory('AlertBar', 'With onHidden');
@@ -1,4 +1,4 @@
1
- import '../common/index';
1
+ import '../common/index.js';
2
2
  import { Given, Then } from 'cypress-cucumber-preprocessor/steps';
3
3
  Given('an AlertBar with a message is rendered', () => {
4
4
  cy.visitStory('AlertBar', 'With message');
@@ -1,4 +1,4 @@
1
- import '../common/index';
1
+ import '../common/index.js';
2
2
  import { Given, Then } from 'cypress-cucumber-preprocessor/steps';
3
3
  Given('an AlertBar with permanent is rendered', () => {
4
4
  cy.visitStory('AlertBar', 'Permanent');
@@ -1,4 +1,4 @@
1
- import '../common/index';
1
+ import '../common/index.js';
2
2
  import { Given, When } from 'cypress-cucumber-preprocessor/steps';
3
3
  Given('an AlertBar with a custom duration is rendered', () => {
4
4
  cy.visitStory('AlertBar', 'Custom duration');
@@ -1,4 +1,4 @@
1
- import '../common/index';
1
+ import '../common/index.js';
2
2
  import { Given, When, Then } from 'cypress-cucumber-preprocessor/steps';
3
3
  Given('an AlertBar with a custom duration is rendered', () => {
4
4
  cy.visitStory('AlertBar', 'Custom duration');
@@ -1,4 +1,4 @@
1
- import '../common/index';
1
+ import '../common/index.js';
2
2
  import { Given, When } from 'cypress-cucumber-preprocessor/steps';
3
3
  Given('a permanent AlertBar with actions is rendered', () => {
4
4
  cy.visitStory('AlertBar', 'Permanent with actions');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/alert",
3
- "version": "7.4.1",
3
+ "version": "7.4.5",
4
4
  "description": "UI Alert",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@dhis2/prop-types": "^3.0.0-beta.1",
35
- "@dhis2-ui/portal": "7.4.1",
36
- "@dhis2/ui-constants": "7.4.1",
37
- "@dhis2/ui-icons": "7.4.1",
35
+ "@dhis2-ui/portal": "7.4.5",
36
+ "@dhis2/ui-constants": "7.4.5",
37
+ "@dhis2/ui-icons": "7.4.5",
38
38
  "classnames": "^2.3.1",
39
39
  "prop-types": "^15.7.2"
40
40
  },