blue-react 8.3.3 → 8.3.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.
package/dist/style.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Blue React v8.3.3 (https://bruegmann.github.io/blue-react)
2
+ * Blue React v8.3.4 (https://bruegmann.github.io/blue-react)
3
3
  * Licensed under GNU General Public License v3.0 (https://github.com/bruegmann/blue-react/blob/master/LICENSE).
4
4
  */
5
5
 
@@ -62,6 +62,38 @@ export interface MenuItemProps {
62
62
  target?: string;
63
63
  rel?: string;
64
64
  title?: string;
65
+ /**
66
+ * Fired on the draggable target (the source element): occurs when the user starts to drag an element
67
+ */
68
+ onDragStart?: (event: React.DragEvent) => void | React.DragEventHandler;
69
+ /**
70
+ * Fired on the draggable target (the source element): occurs when an element is being dragged
71
+ */
72
+ onDrag?: (event: React.DragEvent) => void | React.DragEventHandler;
73
+ /**
74
+ * Fired on the draggable target (the source element): occurs when the user has finished dragging the element
75
+ */
76
+ onDragEnd?: (event: React.DragEvent) => void | React.DragEventHandler;
77
+ /**
78
+ * Fired on the drop target: occurs when the dragged element enters the drop target
79
+ */
80
+ onDragEnter?: (event: React.DragEvent) => void | React.DragEventHandler;
81
+ /**
82
+ * Fired on the drop target: occurs when the dragged element is over the drop target
83
+ */
84
+ onDragOver?: (event: React.DragEvent) => void | React.DragEventHandler;
85
+ /**
86
+ * Fired on the drop target: occurs when the dragged element leaves the drop target
87
+ */
88
+ onDragLeave?: (event: React.DragEvent) => void | React.DragEventHandler;
89
+ /**
90
+ * Fired on the drop target: occurs when the dragged element is dropped on the drop target
91
+ */
92
+ onDrop?: (event: React.DragEvent) => void | React.DragEventHandler;
93
+ /**
94
+ * Specifies whether an element is draggable or not.
95
+ */
96
+ draggable?: boolean;
65
97
  }
66
98
  /**
67
99
  * Link, button or custom component for Sidebar, Actions or ActionMenu
@@ -10,7 +10,7 @@ declare namespace Utilities {
10
10
  function hideSuccess(): void;
11
11
  function toggleActions(): void;
12
12
  function resetAlertMessage(alertClassName?: string): void;
13
- function setAlertMessage(message: any, alertClassName?: string, close?: any, detailText?: any): void;
13
+ function setAlertMessage(message: any, alertClassName: string | undefined, close: any, detailText: any): void;
14
14
  function guid(): string;
15
15
  function scrollToTop(): void;
16
16
  function fetchData(input: any, init?: any, showErrorDetail?: boolean, onError?: any): Promise<Response>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-react",
3
- "version": "8.3.3",
3
+ "version": "8.3.4",
4
4
  "description": "Blue React Components",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "main": "index.js",
@@ -48,9 +48,9 @@
48
48
  "@types/bootstrap": "^5.0.17",
49
49
  "@types/jest": "^24.9.1",
50
50
  "@types/node": "^12.12.47",
51
- "@types/react": "^17.0.3",
52
- "@types/react-dom": "^17.0.3",
53
- "@types/react-router-dom": "^5.1.5",
51
+ "@types/react": "^18.0.9",
52
+ "@types/react-dom": "^18.0.5",
53
+ "@types/react-router-dom": "^5.3.3",
54
54
  "@types/react-syntax-highlighter": "^13.5.0",
55
55
  "autoprefixer": "^10.3.6",
56
56
  "gh-pages": "^3.1.0",
@@ -59,12 +59,12 @@
59
59
  "postcss-cli": "^9.0.1",
60
60
  "postcss-minify": "^1.1.0",
61
61
  "prettier": "2.4.1",
62
- "react": "^17.0.2",
62
+ "react": "^18.1.0",
63
63
  "react-bootstrap-icons": "^1.5.0",
64
64
  "react-docgen": "^5.4.0",
65
- "react-dom": "^17.0.2",
65
+ "react-dom": "^18.1.0",
66
66
  "react-markdown-github": "^3.3.1",
67
- "react-router-dom": "^5.2.0",
67
+ "react-router-dom": "^5.3.3",
68
68
  "react-scripts": "^4.0.3",
69
69
  "react-syntax-highlighter": "^15.4.3",
70
70
  "reactstrap": "^9.0.0-0",