@jobber/components 4.2.0 → 4.2.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/dist/DatePicker/index.js
CHANGED
|
@@ -37,7 +37,10 @@ function InternalActivator(props, ref) {
|
|
|
37
37
|
if (activator) {
|
|
38
38
|
if (React.isValidElement(activator)) {
|
|
39
39
|
const isAComponent = typeof activator.type === "function";
|
|
40
|
-
return React.cloneElement(activator, Object.assign(Object.assign(Object.assign({}, newActivatorProps), (isAComponent && { fullWidth: fullWidth })), {
|
|
40
|
+
return React.cloneElement(activator, Object.assign(Object.assign(Object.assign({}, newActivatorProps), (isAComponent && { fullWidth: fullWidth })), {
|
|
41
|
+
// @ts-expect-error - Issue with react types not including `ref` in
|
|
42
|
+
// cloneElement. https://github.com/DefinitelyTyped/DefinitelyTyped/issues/40888
|
|
43
|
+
ref }));
|
|
41
44
|
}
|
|
42
45
|
else {
|
|
43
46
|
return activator(props);
|
package/dist/InputDate/index.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var lodash = require('lodash');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var FormField = require('../FormField-e1c3af82.js');
|
|
8
|
-
var DatePicker = require('../DatePicker-
|
|
8
|
+
var DatePicker = require('../DatePicker-90d542d7.js');
|
|
9
9
|
require('../tslib.es6-5b8768b7.js');
|
|
10
10
|
require('uuid');
|
|
11
11
|
require('react-hook-form');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"> 1%",
|
|
83
83
|
"IE 10"
|
|
84
84
|
],
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "89d4908fb1b114be65206f395a06e72f4a277d77"
|
|
86
86
|
}
|
package/rollup.config.js
CHANGED
|
@@ -51,6 +51,7 @@ export default {
|
|
|
51
51
|
"react-popper",
|
|
52
52
|
"react-datepicker",
|
|
53
53
|
"react-dropzone",
|
|
54
|
+
"react-dom/client",
|
|
54
55
|
"axios",
|
|
55
56
|
"filesize",
|
|
56
57
|
"color",
|
|
@@ -64,5 +65,6 @@ export default {
|
|
|
64
65
|
"@jobber/design",
|
|
65
66
|
"@jobber/formatters",
|
|
66
67
|
"@jobber/hooks",
|
|
68
|
+
"@tanstack/react-table",
|
|
67
69
|
],
|
|
68
70
|
};
|