@itwin/itwinui-react 3.15.0 → 3.15.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/CHANGELOG.md +8 -0
- package/DEV-cjs/core/Tooltip/Tooltip.js +7 -4
- package/DEV-cjs/styles.js +1 -1
- package/DEV-esm/core/Tooltip/Tooltip.js +7 -4
- package/DEV-esm/styles.js +1 -1
- package/cjs/core/Tooltip/Tooltip.js +7 -4
- package/cjs/styles.js +1 -1
- package/esm/core/Tooltip/Tooltip.js +7 -4
- package/esm/styles.js +1 -1
- package/package.json +1 -1
- package/styles.css +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.15.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2263](https://github.com/iTwin/iTwinUI/pull/2263): Default `Tooltip` delay is now correctly applied.
|
|
8
|
+
- [#2266](https://github.com/iTwin/iTwinUI/pull/2266): All instances of `user-select: all` have been removed.
|
|
9
|
+
- Affected components: `Code`, `InformationPanel`, `Slider`, `Stepper`, `Tile`.
|
|
10
|
+
|
|
3
11
|
## 3.15.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -111,10 +111,13 @@ const useTooltip = (options = {}) => {
|
|
|
111
111
|
});
|
|
112
112
|
let interactions = (0, _react1.useInteractions)([
|
|
113
113
|
(0, _react1.useHover)(floating.context, {
|
|
114
|
-
delay:
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
delay:
|
|
115
|
+
0 !== delay
|
|
116
|
+
? delay
|
|
117
|
+
: {
|
|
118
|
+
open: 50,
|
|
119
|
+
close: 250,
|
|
120
|
+
},
|
|
118
121
|
handleClose: (0, _react1.safePolygon)({
|
|
119
122
|
buffer: -1 / 0,
|
|
120
123
|
}),
|
package/DEV-cjs/styles.js
CHANGED
|
@@ -118,10 +118,13 @@ let useTooltip = (options = {}) => {
|
|
|
118
118
|
});
|
|
119
119
|
let interactions = useInteractions([
|
|
120
120
|
useHover(floating.context, {
|
|
121
|
-
delay:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
121
|
+
delay:
|
|
122
|
+
0 !== delay
|
|
123
|
+
? delay
|
|
124
|
+
: {
|
|
125
|
+
open: 50,
|
|
126
|
+
close: 250,
|
|
127
|
+
},
|
|
125
128
|
handleClose: safePolygon({
|
|
126
129
|
buffer: -1 / 0,
|
|
127
130
|
}),
|
package/DEV-esm/styles.js
CHANGED
|
@@ -111,10 +111,13 @@ const useTooltip = (options = {}) => {
|
|
|
111
111
|
});
|
|
112
112
|
let interactions = (0, _react1.useInteractions)([
|
|
113
113
|
(0, _react1.useHover)(floating.context, {
|
|
114
|
-
delay:
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
delay:
|
|
115
|
+
0 !== delay
|
|
116
|
+
? delay
|
|
117
|
+
: {
|
|
118
|
+
open: 50,
|
|
119
|
+
close: 250,
|
|
120
|
+
},
|
|
118
121
|
handleClose: (0, _react1.safePolygon)({
|
|
119
122
|
buffer: -1 / 0,
|
|
120
123
|
}),
|
package/cjs/styles.js
CHANGED
|
@@ -118,10 +118,13 @@ let useTooltip = (options = {}) => {
|
|
|
118
118
|
});
|
|
119
119
|
let interactions = useInteractions([
|
|
120
120
|
useHover(floating.context, {
|
|
121
|
-
delay:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
121
|
+
delay:
|
|
122
|
+
0 !== delay
|
|
123
|
+
? delay
|
|
124
|
+
: {
|
|
125
|
+
open: 50,
|
|
126
|
+
close: 250,
|
|
127
|
+
},
|
|
125
128
|
handleClose: safePolygon({
|
|
126
129
|
buffer: -1 / 0,
|
|
127
130
|
}),
|
package/esm/styles.js
CHANGED