@jobber/components 2.85.6 → 2.85.7
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/dist/Chips/index.js +3 -3
- package/dist/Modal/index.js +0 -1
- package/dist/Tooltip/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,14 @@ menu: Changelog
|
|
|
8
8
|
All notable changes to this project will be documented in this file.
|
|
9
9
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
10
10
|
|
|
11
|
+
## [2.85.7](https://github.com/GetJobber/atlantis/compare/@jobber/components@2.85.6...@jobber/components@2.85.7) (2022-09-23)
|
|
12
|
+
|
|
13
|
+
**Note:** Version bump only for package @jobber/components
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
11
19
|
## [2.85.6](https://github.com/GetJobber/atlantis/compare/@jobber/components@2.85.5...@jobber/components@2.85.6) (2022-08-25)
|
|
12
20
|
|
|
13
21
|
**Note:** Version bump only for package @jobber/components
|
package/dist/Chips/index.js
CHANGED
|
@@ -212,7 +212,7 @@ __chunk_2.styleInject(css$1);
|
|
|
212
212
|
|
|
213
213
|
function useInternalChipDismissible(_a) {
|
|
214
214
|
var children = _a.children, selected = _a.selected, onChange = _a.onChange, onClick = _a.onClick, onCustomAdd = _a.onCustomAdd;
|
|
215
|
-
var ref = React.useRef(null);
|
|
215
|
+
var ref = React.useRef(null);
|
|
216
216
|
var chipOptions = children.map(function (chip) { return chip.props; });
|
|
217
217
|
var visibleChipOptions = chipOptions.filter(function (chip) {
|
|
218
218
|
return selected.includes(chip.value);
|
|
@@ -424,7 +424,7 @@ function handleKeydownEvents(callbacks, event) {
|
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
function useInView() {
|
|
427
|
-
var ref = React.useRef(null);
|
|
427
|
+
var ref = React.useRef(null);
|
|
428
428
|
var _a = __chunk_1.__read(React.useState(false), 2), isInView = _a[0], setIsInView = _a[1];
|
|
429
429
|
if (window.IntersectionObserver) {
|
|
430
430
|
var observer_1 = new IntersectionObserver(function (entries) {
|
|
@@ -456,7 +456,7 @@ function useRepositionMenu(attachTo) {
|
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
function useScrollToActive(index) {
|
|
459
|
-
var ref = React.useRef(null);
|
|
459
|
+
var ref = React.useRef(null);
|
|
460
460
|
React.useEffect(function () {
|
|
461
461
|
var _a, _b;
|
|
462
462
|
if (!window.HTMLElement.prototype.scrollIntoView)
|
package/dist/Modal/index.js
CHANGED
|
@@ -40,7 +40,6 @@ function useFocusTrap(active) {
|
|
|
40
40
|
// There's an ongoing issue with useRef return type clashing with an element's
|
|
41
41
|
// ref prop type. TLDR: Use null because useRef doesn't expect undefined.
|
|
42
42
|
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/35572
|
|
43
|
-
// eslint-disable-next-line no-null/no-null
|
|
44
43
|
var ref = React.useRef(null);
|
|
45
44
|
function handleKeyDown(event) {
|
|
46
45
|
if (!(active && ref.current) || event.key !== "Tab") {
|
package/dist/Tooltip/index.js
CHANGED
|
@@ -22,7 +22,7 @@ __chunk_2.styleInject(css);
|
|
|
22
22
|
|
|
23
23
|
function useTooltipPositioning() {
|
|
24
24
|
var _a, _b;
|
|
25
|
-
var shadowRef = React.useRef(null);
|
|
25
|
+
var shadowRef = React.useRef(null);
|
|
26
26
|
var _c = __chunk_1.__read(React.useState(), 2), positionElement = _c[0], setTooltipRef = _c[1];
|
|
27
27
|
var _d = __chunk_1.__read(React.useState(), 2), arrowElement = _d[0], setArrowRef = _d[1];
|
|
28
28
|
var popper = reactPopper.usePopper((_a = shadowRef.current) === null || _a === void 0 ? void 0 : _a.nextElementSibling, positionElement, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "2.85.
|
|
3
|
+
"version": "2.85.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"> 1%",
|
|
86
86
|
"IE 10"
|
|
87
87
|
],
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "0ed5d725313fe84975fc9b36ac33d771c3f29647"
|
|
89
89
|
}
|