foris 6.0.0 → 6.0.1
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.
- package/bootstrap/Switch.js +4 -3
- package/foris-6.0.1.tgz +0 -0
- package/package.json +3 -3
- package/foris-6.0.0.tgz +0 -0
package/bootstrap/Switch.js
CHANGED
|
@@ -19,15 +19,16 @@ Switch.propTypes = {
|
|
|
19
19
|
]).isRequired,
|
|
20
20
|
helpText: PropTypes.string,
|
|
21
21
|
switchHeading: PropTypes.bool,
|
|
22
|
+
className: PropTypes.string,
|
|
22
23
|
};
|
|
23
24
|
|
|
24
|
-
function Switch({ label, helpText, switchHeading, ...props }) {
|
|
25
|
+
function Switch({ label, helpText, switchHeading, className, ...props }) {
|
|
25
26
|
const uid = useUID();
|
|
26
27
|
|
|
27
28
|
return (
|
|
28
29
|
<div
|
|
29
|
-
className={`form-check form-switch mb-3 ${
|
|
30
|
-
switchHeading ? "d-flex align-items-center" :
|
|
30
|
+
className={`form-check form-switch ${className || "mb-3"} ${
|
|
31
|
+
switchHeading ? "d-flex align-items-center" : ""
|
|
31
32
|
}`.trim()}
|
|
32
33
|
>
|
|
33
34
|
<input
|
package/foris-6.0.1.tgz
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "foris",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Foris JS library is a set of components and utils for reForis application and plugins.",
|
|
5
5
|
"author": "CZ.NIC, z.s.p.o.",
|
|
6
6
|
"repository": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"jest-environment-jsdom": "^29.7.0",
|
|
48
48
|
"jest-mock-axios": "^4.7.3",
|
|
49
49
|
"moment-timezone": "^0.5.45",
|
|
50
|
-
"prettier": "^3.3.
|
|
50
|
+
"prettier": "^3.3.2",
|
|
51
51
|
"prop-types": "15.8.1",
|
|
52
52
|
"react": "16.9.0",
|
|
53
53
|
"react-dom": "16.9.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react-styleguidist": "^12.0.1",
|
|
56
56
|
"snapshot-diff": "^0.10.0",
|
|
57
57
|
"style-loader": "^1.2.1",
|
|
58
|
-
"webpack": "^5.
|
|
58
|
+
"webpack": "^5.92.1"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"lint": "eslint src",
|
package/foris-6.0.0.tgz
DELETED
|
Binary file
|