@dhis2-ui/css 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,34 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _cypressCucumberPreprocessor = require("@badeball/cypress-cucumber-preprocessor");
|
|
4
4
|
|
|
5
|
-
(0,
|
|
5
|
+
(0, _cypressCucumberPreprocessor.Given)('a CssVariables component with colors flag is rendered', () => {
|
|
6
6
|
cy.visitStory('CssVariables', 'With colors');
|
|
7
7
|
});
|
|
8
|
-
(0,
|
|
8
|
+
(0, _cypressCucumberPreprocessor.Given)('a CssVariables component with theme flag is rendered', () => {
|
|
9
9
|
cy.visitStory('CssVariables', 'With theme');
|
|
10
10
|
});
|
|
11
|
-
(0,
|
|
11
|
+
(0, _cypressCucumberPreprocessor.Given)('a CssVariables component with layers flag is rendered', () => {
|
|
12
12
|
cy.visitStory('CssVariables', 'With layers');
|
|
13
13
|
});
|
|
14
|
-
(0,
|
|
14
|
+
(0, _cypressCucumberPreprocessor.Given)('a CssVariables component with spacers flag is rendered', () => {
|
|
15
15
|
cy.visitStory('CssVariables', 'With spacers');
|
|
16
16
|
});
|
|
17
|
-
(0,
|
|
17
|
+
(0, _cypressCucumberPreprocessor.Given)('a CssVariables component with elevations flag is rendered', () => {
|
|
18
18
|
cy.visitStory('CssVariables', 'With elevations');
|
|
19
19
|
});
|
|
20
|
-
(0,
|
|
20
|
+
(0, _cypressCucumberPreprocessor.Then)('the colors css variables are set', () => {
|
|
21
21
|
cy.get('div#custom').should('have.css', 'background-color', 'rgb(9, 51, 113)');
|
|
22
22
|
});
|
|
23
|
-
(0,
|
|
23
|
+
(0, _cypressCucumberPreprocessor.Then)('the theme css variables are set', () => {
|
|
24
24
|
cy.get('div#custom').should('have.css', 'background-color', 'rgb(9, 51, 113)');
|
|
25
25
|
});
|
|
26
|
-
(0,
|
|
26
|
+
(0, _cypressCucumberPreprocessor.Then)('the layers css variables are set', () => {
|
|
27
27
|
cy.get('div#custom').should('have.css', 'z-index', '9999');
|
|
28
28
|
});
|
|
29
|
-
(0,
|
|
29
|
+
(0, _cypressCucumberPreprocessor.Then)('the spacers css variables are set', () => {
|
|
30
30
|
cy.get('div#custom').should('have.css', 'margin', '4px');
|
|
31
31
|
});
|
|
32
|
-
(0,
|
|
32
|
+
(0, _cypressCucumberPreprocessor.Then)('the elevations css variables are set', () => {
|
|
33
33
|
cy.get('div#custom').should('have.css', 'box-shadow', 'rgba(33, 41, 52, 0.06) 0px 1px 2px 0px, rgba(33, 41, 52, 0.1) 0px 1px 3px 0px');
|
|
34
34
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2-ui/css",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.6.0",
|
|
4
4
|
"description": "UI CSS",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@dhis2/prop-types": "^3.1.2",
|
|
36
|
-
"@dhis2/ui-constants": "9.
|
|
36
|
+
"@dhis2/ui-constants": "9.6.0",
|
|
37
37
|
"classnames": "^2.3.1",
|
|
38
38
|
"prop-types": "^15.7.2"
|
|
39
39
|
},
|