iguazio.dashboard-react-controls 0.0.1 → 0.0.4
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.
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
position: fixed;
|
|
20
20
|
top: 0;
|
|
21
21
|
left: 0;
|
|
22
|
-
z-index: 6;
|
|
23
22
|
display: flex;
|
|
24
23
|
align-items: center;
|
|
25
24
|
justify-content: center;
|
|
26
25
|
width: 100%;
|
|
27
26
|
height: 100%;
|
|
28
27
|
background: $mineshaftTwo;
|
|
28
|
+
z-index: 9;
|
|
29
29
|
|
|
30
30
|
&.custom-position {
|
|
31
31
|
width: auto;
|
package/dist/constants.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.TERTIARY_BUTTON = exports.SECONDARY_BUTTON = exports.PRIMARY_BUTTON = exports.LABEL_BUTTON = exports.DANGER_BUTTON = void 0;
|
|
6
|
+
exports.TERTIARY_BUTTON = exports.SECONDARY_BUTTON = exports.PRIMARY_BUTTON = exports.LABEL_BUTTON = exports.INTERNAL_SERVER_ERROR_STATUS_CODE = exports.FORBIDDEN_ERROR_STATUS_CODE = exports.DANGER_BUTTON = exports.CONFLICT_ERROR_STATUS_CODE = void 0;
|
|
7
7
|
|
|
8
8
|
/*=========== BUTTONS =============*/
|
|
9
9
|
var PRIMARY_BUTTON = 'primary';
|
|
@@ -15,4 +15,12 @@ exports.TERTIARY_BUTTON = TERTIARY_BUTTON;
|
|
|
15
15
|
var DANGER_BUTTON = 'danger';
|
|
16
16
|
exports.DANGER_BUTTON = DANGER_BUTTON;
|
|
17
17
|
var LABEL_BUTTON = 'label';
|
|
18
|
-
|
|
18
|
+
/*=========== STATUS CODES =============*/
|
|
19
|
+
|
|
20
|
+
exports.LABEL_BUTTON = LABEL_BUTTON;
|
|
21
|
+
var INTERNAL_SERVER_ERROR_STATUS_CODE = 500;
|
|
22
|
+
exports.INTERNAL_SERVER_ERROR_STATUS_CODE = INTERNAL_SERVER_ERROR_STATUS_CODE;
|
|
23
|
+
var CONFLICT_ERROR_STATUS_CODE = 409;
|
|
24
|
+
exports.CONFLICT_ERROR_STATUS_CODE = CONFLICT_ERROR_STATUS_CODE;
|
|
25
|
+
var FORBIDDEN_ERROR_STATUS_CODE = 403;
|
|
26
|
+
exports.FORBIDDEN_ERROR_STATUS_CODE = FORBIDDEN_ERROR_STATUS_CODE;
|
package/dist/scss/common.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import './colors';
|
|
2
|
+
|
|
1
3
|
#root {
|
|
2
4
|
z-index: 1;
|
|
3
5
|
display: flex;
|
|
@@ -36,6 +38,32 @@ button {
|
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
|
|
41
|
+
input,
|
|
42
|
+
textarea {
|
|
43
|
+
overflow-x: hidden;
|
|
44
|
+
font-weight: normal;
|
|
45
|
+
font-size: 15px;
|
|
46
|
+
font-family: Roboto, sans-serif;
|
|
47
|
+
font-style: normal;
|
|
48
|
+
line-height: 18px;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
|
|
52
|
+
&:active,
|
|
53
|
+
&:focus {
|
|
54
|
+
outline: none;
|
|
55
|
+
box-shadow: none;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.link {
|
|
60
|
+
color: $cornflowerBlue;
|
|
61
|
+
|
|
62
|
+
&:hover {
|
|
63
|
+
text-decoration: underline;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
39
67
|
[class*='igz-transition'] {
|
|
40
68
|
transition: opacity 200ms ease-in-out;
|
|
41
69
|
}
|
package/dist/scss/variables.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
],
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git@github.com:iguazio/dashboard-react-controls.git"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"Iguazio",
|
|
17
|
-
"iguazio",
|
|
18
|
-
"MLRun",
|
|
19
|
-
"mlrun"
|
|
20
|
-
],
|
|
21
|
-
"peerDependencies": {
|
|
22
|
-
"classnames": "*",
|
|
23
|
-
"lodash": "*",
|
|
24
|
-
"prop-types": "*",
|
|
25
|
-
"react": "*",
|
|
26
|
-
"react-dom": "*",
|
|
27
|
-
"react-modal-promise": "*",
|
|
28
|
-
"react-transition-group": "*"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@babel/cli": "^7.17.6",
|
|
32
|
-
"@babel/core": "^7.17.9",
|
|
33
|
-
"@babel/eslint-parser": "^7.17.0",
|
|
34
|
-
"@babel/plugin-transform-react-jsx": "^7.17.3",
|
|
35
|
-
"@babel/preset-env": "^7.16.11",
|
|
36
|
-
"@babel/preset-react": "^7.16.7",
|
|
37
|
-
"@storybook/addon-actions": "^6.4.22",
|
|
38
|
-
"@storybook/addon-essentials": "^6.4.22",
|
|
39
|
-
"@storybook/addon-interactions": "^6.4.22",
|
|
40
|
-
"@storybook/addon-links": "^6.4.22",
|
|
41
|
-
"@storybook/builder-webpack5": "^6.4.22",
|
|
42
|
-
"@storybook/manager-webpack5": "^6.4.22",
|
|
43
|
-
"@storybook/preset-create-react-app": "^4.1.0",
|
|
44
|
-
"@storybook/react": "^6.4.22",
|
|
45
|
-
"@storybook/testing-library": "0.0.9",
|
|
46
|
-
"@testing-library/jest-dom": "^5.16.4",
|
|
47
|
-
"@testing-library/react": "^12.1.5",
|
|
48
|
-
"@testing-library/user-event": "^13.5.0",
|
|
49
|
-
"babel-loader": "^8.2.4",
|
|
50
|
-
"babel-plugin-inline-react-svg": "^2.0.1",
|
|
51
|
-
"classnames": "^2.3.1",
|
|
52
|
-
"cross-env": "^7.0.3",
|
|
53
|
-
"eslint": "^8.8.0",
|
|
54
|
-
"eslint-config-prettier": "^8.3.0",
|
|
55
|
-
"eslint-config-react-app": "^7.0.0",
|
|
56
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
57
|
-
"eslint-plugin-storybook": "^0.5.10",
|
|
58
|
-
"eslint-webpack-plugin": "^3.1.1",
|
|
59
|
-
"lodash": "^4.17.21",
|
|
60
|
-
"node": "14.18.1",
|
|
61
|
-
"prettier": "^2.5.1",
|
|
62
|
-
"prop-types": "^15.8.1",
|
|
63
|
-
"react": "^17.0.2",
|
|
64
|
-
"react-dom": "^17.0.2",
|
|
65
|
-
"react-modal-promise": "^1.0.2",
|
|
66
|
-
"react-scripts": "5.0.0",
|
|
67
|
-
"react-transition-group": "^4.4.2",
|
|
68
|
-
"sass": "^1.50.0",
|
|
69
|
-
"web-vitals": "^2.1.4",
|
|
70
|
-
"webpack": "^5.72.0"
|
|
71
|
-
},
|
|
72
|
-
"scripts": {
|
|
73
|
-
"start": "react-scripts start",
|
|
74
|
-
"build": "react-scripts build",
|
|
75
|
-
"test": "react-scripts test",
|
|
76
|
-
"eject": "react-scripts eject",
|
|
77
|
-
"build-storybook": "build-storybook",
|
|
78
|
-
"storybook": "start-storybook -p 6006",
|
|
79
|
-
"compile": "npm rm -rf dist/* && babel src/lib --out-dir dist --copy-files --no-copy-ignored --ignore src/**/*.stories.js"
|
|
80
|
-
},
|
|
81
|
-
"eslintConfig": {
|
|
82
|
-
"extends": [
|
|
83
|
-
"react-app",
|
|
84
|
-
"react-app/jest"
|
|
85
|
-
]
|
|
86
|
-
},
|
|
87
|
-
"browserslist": {
|
|
88
|
-
"production": [
|
|
89
|
-
">0.2%",
|
|
90
|
-
"not dead",
|
|
91
|
-
"not op_mini all"
|
|
2
|
+
"name": "iguazio.dashboard-react-controls",
|
|
3
|
+
"version": "0.0.4",
|
|
4
|
+
"description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"README.md"
|
|
92
10
|
],
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git@github.com:iguazio/dashboard-react-controls.git"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"Iguazio",
|
|
17
|
+
"iguazio",
|
|
18
|
+
"MLRun",
|
|
19
|
+
"mlrun"
|
|
20
|
+
],
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"classnames": "*",
|
|
23
|
+
"lodash": "*",
|
|
24
|
+
"prop-types": "*",
|
|
25
|
+
"react": "*",
|
|
26
|
+
"react-dom": "*",
|
|
27
|
+
"react-modal-promise": "*",
|
|
28
|
+
"react-transition-group": "*"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@babel/cli": "^7.17.6",
|
|
32
|
+
"@babel/core": "^7.17.9",
|
|
33
|
+
"@babel/eslint-parser": "^7.17.0",
|
|
34
|
+
"@babel/plugin-transform-react-jsx": "^7.17.3",
|
|
35
|
+
"@babel/preset-env": "^7.16.11",
|
|
36
|
+
"@babel/preset-react": "^7.16.7",
|
|
37
|
+
"@storybook/addon-actions": "^6.4.22",
|
|
38
|
+
"@storybook/addon-essentials": "^6.4.22",
|
|
39
|
+
"@storybook/addon-interactions": "^6.4.22",
|
|
40
|
+
"@storybook/addon-links": "^6.4.22",
|
|
41
|
+
"@storybook/builder-webpack5": "^6.4.22",
|
|
42
|
+
"@storybook/manager-webpack5": "^6.4.22",
|
|
43
|
+
"@storybook/preset-create-react-app": "^4.1.0",
|
|
44
|
+
"@storybook/react": "^6.4.22",
|
|
45
|
+
"@storybook/testing-library": "0.0.9",
|
|
46
|
+
"@testing-library/jest-dom": "^5.16.4",
|
|
47
|
+
"@testing-library/react": "^12.1.5",
|
|
48
|
+
"@testing-library/user-event": "^13.5.0",
|
|
49
|
+
"babel-loader": "^8.2.4",
|
|
50
|
+
"babel-plugin-inline-react-svg": "^2.0.1",
|
|
51
|
+
"classnames": "^2.3.1",
|
|
52
|
+
"cross-env": "^7.0.3",
|
|
53
|
+
"eslint": "^8.8.0",
|
|
54
|
+
"eslint-config-prettier": "^8.3.0",
|
|
55
|
+
"eslint-config-react-app": "^7.0.0",
|
|
56
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
57
|
+
"eslint-plugin-storybook": "^0.5.10",
|
|
58
|
+
"eslint-webpack-plugin": "^3.1.1",
|
|
59
|
+
"lodash": "^4.17.21",
|
|
60
|
+
"node": "14.18.1",
|
|
61
|
+
"prettier": "^2.5.1",
|
|
62
|
+
"prop-types": "^15.8.1",
|
|
63
|
+
"react": "^17.0.2",
|
|
64
|
+
"react-dom": "^17.0.2",
|
|
65
|
+
"react-modal-promise": "^1.0.2",
|
|
66
|
+
"react-scripts": "5.0.0",
|
|
67
|
+
"react-transition-group": "^4.4.2",
|
|
68
|
+
"sass": "^1.50.0",
|
|
69
|
+
"web-vitals": "^2.1.4",
|
|
70
|
+
"webpack": "^5.72.0"
|
|
71
|
+
},
|
|
72
|
+
"scripts": {
|
|
73
|
+
"start": "react-scripts start",
|
|
74
|
+
"build": "react-scripts build",
|
|
75
|
+
"test": "react-scripts test",
|
|
76
|
+
"eject": "react-scripts eject",
|
|
77
|
+
"build-storybook": "build-storybook",
|
|
78
|
+
"storybook": "start-storybook -p 6006",
|
|
79
|
+
"compile": "rm -rf dist/* && babel src/lib --out-dir dist --copy-files --no-copy-ignored --ignore src/**/*.stories.js"
|
|
80
|
+
},
|
|
81
|
+
"eslintConfig": {
|
|
82
|
+
"extends": [
|
|
83
|
+
"react-app",
|
|
84
|
+
"react-app/jest"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"browserslist": {
|
|
88
|
+
"production": [
|
|
89
|
+
">0.2%",
|
|
90
|
+
"not dead",
|
|
91
|
+
"not op_mini all"
|
|
92
|
+
],
|
|
93
|
+
"development": [
|
|
94
|
+
"last 1 chrome version",
|
|
95
|
+
"last 1 firefox version",
|
|
96
|
+
"last 1 safari version"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"dependencies": {}
|
|
100
100
|
}
|