blue-react 9.5.0 → 9.5.2

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 v9.5.0-alpha2 (https://bruegmann.github.io/blue-react)
2
+ * Blue React v9.5.2-alpha2 (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
 
@@ -109,6 +109,14 @@
109
109
  transition: all 0.2s;
110
110
  }
111
111
 
112
+ &[draggable] {
113
+ cursor: move;
114
+
115
+ &:active {
116
+ box-shadow: inset 0 0 0.25rem;
117
+ }
118
+ }
119
+
112
120
  &:hover,
113
121
  &:active,
114
122
  &.highlighted {
@@ -121,8 +121,11 @@ export interface MenuItemProps {
121
121
  onDrop?: (event: React.DragEvent) => void | React.DragEventHandler;
122
122
  /**
123
123
  * Specifies whether an element is draggable or not.
124
+ *
125
+ * **Important:** To make draggable menu items work in Firefox, the elementType must not be `"button"`. Set it to something else, like `"div"`.
124
126
  */
125
127
  draggable?: boolean;
128
+ hideDraggableIcon?: boolean;
126
129
  "data-tooltip"?: string;
127
130
  /**
128
131
  * Specifies whether an element is disabled or not.
@@ -132,6 +135,7 @@ export interface MenuItemProps {
132
135
  * Specifies style of an element.
133
136
  */
134
137
  style?: React.CSSProperties;
138
+ id?: string;
135
139
  }
136
140
  /**
137
141
  * Link, button or custom component for Sidebar, Actions or ActionMenu
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-react",
3
- "version": "9.5.0",
3
+ "version": "9.5.2",
4
4
  "description": "Blue React Components",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "main": "index.js",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@popperjs/core": "^2.11.5",
36
- "bootstrap": "~5.3.2",
36
+ "bootstrap": "~5.3.3",
37
37
  "clsx": "^1.1.1"
38
38
  },
39
39
  "peerDependencies": {