@jobber/components 4.87.2 → 4.87.4-JOB-85849.0
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/DataList/index.js +1 -3
- package/package.json +4 -4
package/dist/DataList/index.js
CHANGED
|
@@ -125,10 +125,8 @@ function useMediaQuery(query) {
|
|
|
125
125
|
* screen sizes, they can use the `mockViewportWidth` function from
|
|
126
126
|
* `@jobber/components/useBreakpoints`.
|
|
127
127
|
*/
|
|
128
|
-
if (
|
|
129
|
-
typeof window.matchMedia === "undefined") {
|
|
128
|
+
if (window.matchMedia === undefined)
|
|
130
129
|
return true;
|
|
131
|
-
}
|
|
132
130
|
const subscribeMediaQuery = React.useCallback((onChange) => mediaQueryStore.subscribe(onChange, query), [query]);
|
|
133
131
|
const matches = React.useSyncExternalStore(subscribeMediaQuery, mediaQueryStore.getSnapshot(query), () => true);
|
|
134
132
|
return matches;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "4.87.
|
|
3
|
+
"version": "4.87.4-JOB-85849.0+e7d68a26",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@jobber/design": "^0.56.0",
|
|
23
|
-
"@jobber/formatters": "
|
|
24
|
-
"@jobber/hooks": "^2.9.
|
|
23
|
+
"@jobber/formatters": "^0.2.2",
|
|
24
|
+
"@jobber/hooks": "^2.9.4-JOB-85849.0+e7d68a26",
|
|
25
25
|
"@popperjs/core": "^2.0.6",
|
|
26
26
|
"@std-proposal/temporal": "0.0.1",
|
|
27
27
|
"@tanstack/react-table": "8.5.13",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"> 1%",
|
|
81
81
|
"IE 10"
|
|
82
82
|
],
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "e7d68a26ce27f2bcf7c9b95fd4b7baafcb3f8779"
|
|
84
84
|
}
|