@dr.pogodin/react-utils 1.39.1 → 1.39.3
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/build/development/shared/utils/isomorphy/buildInfo.js +0 -2
- package/build/development/shared/utils/isomorphy/buildInfo.js.map +1 -1
- package/build/development/shared/utils/isomorphy/environment-check.js.map +1 -1
- package/build/development/shared/utils/jest/index.js.map +1 -1
- package/build/development/style.css +3 -0
- package/build/development/web.bundle.js +1 -1
- package/build/production/shared/utils/isomorphy/buildInfo.js +1 -1
- package/build/production/shared/utils/isomorphy/buildInfo.js.map +1 -1
- package/build/production/shared/utils/isomorphy/environment-check.js.map +1 -1
- package/build/production/shared/utils/jest/index.js.map +1 -1
- package/build/production/style.css +1 -1
- package/build/production/style.css.map +1 -1
- package/build/production/web.bundle.js.map +1 -1
- package/build/types-code/shared/utils/isomorphy/environment-check.d.ts +0 -3
- package/build/types-code/shared/utils/jest/index.d.ts +0 -3
- package/package.json +2 -2
- package/src/shared/components/selectors/NativeDropdown/theme.scss +3 -0
- package/src/shared/utils/isomorphy/buildInfo.ts +0 -2
- package/src/shared/utils/isomorphy/environment-check.ts +0 -5
- package/src/shared/utils/jest/index.tsx +0 -5
- package/types.d.ts +5 -0
|
@@ -7,9 +7,6 @@ import { type RenderResult } from '@testing-library/react';
|
|
|
7
7
|
*/
|
|
8
8
|
export { act };
|
|
9
9
|
export { default as getGlobal } from './global';
|
|
10
|
-
declare global {
|
|
11
|
-
var IS_REACT_ACT_ENVIRONMENT: boolean | undefined;
|
|
12
|
-
}
|
|
13
10
|
/**
|
|
14
11
|
* Tricks **react-utils** into thinking the test is running within client-side
|
|
15
12
|
* (browser) environment.
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.39.
|
|
2
|
+
"version": "1.39.3",
|
|
3
3
|
"bin": {
|
|
4
4
|
"react-utils-build": "bin/build.js",
|
|
5
5
|
"react-utils-setup": "bin/setup.js"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@dr.pogodin/babel-plugin-react-css-modules": "^6.13.2",
|
|
13
13
|
"@dr.pogodin/csurf": "^1.13.0",
|
|
14
14
|
"@dr.pogodin/js-utils": "^0.0.12",
|
|
15
|
-
"@dr.pogodin/react-global-state": "^0.15.
|
|
15
|
+
"@dr.pogodin/react-global-state": "^0.15.1",
|
|
16
16
|
"@dr.pogodin/react-themes": "^1.7.0",
|
|
17
17
|
"@jest/environment": "^29.7.0",
|
|
18
18
|
"axios": "^1.7.2",
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
.ad.hoc {
|
|
6
6
|
&.dropdown {
|
|
7
7
|
display: flex;
|
|
8
|
+
flex: 1;
|
|
9
|
+
min-width: 5.5em;
|
|
8
10
|
overflow: hidden;
|
|
9
11
|
position: relative;
|
|
10
12
|
}
|
|
@@ -60,6 +62,7 @@
|
|
|
60
62
|
display: inline-block;
|
|
61
63
|
flex: 1;
|
|
62
64
|
font: inherit;
|
|
65
|
+
max-width: 100%;
|
|
63
66
|
outline: none;
|
|
64
67
|
padding: 0.3em 3.3em calc(0.3em + 1px) 1.2em;
|
|
65
68
|
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
// Checks for client- vs. server-side environment detection.
|
|
2
2
|
|
|
3
|
-
declare global {
|
|
4
|
-
// eslint-disable-next-line no-var, vars-on-top
|
|
5
|
-
var REACT_UTILS_FORCE_CLIENT_SIDE: boolean | undefined;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
3
|
/**
|
|
9
4
|
* `true` within client-side environment (browser), `false` at server-side.
|
|
10
5
|
*/
|
|
@@ -21,11 +21,6 @@ export { act };
|
|
|
21
21
|
|
|
22
22
|
export { default as getGlobal } from './global';
|
|
23
23
|
|
|
24
|
-
declare global {
|
|
25
|
-
// eslint-disable-next-line no-var, vars-on-top
|
|
26
|
-
var IS_REACT_ACT_ENVIRONMENT: boolean | undefined;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
24
|
global.IS_REACT_ACT_ENVIRONMENT = true;
|
|
30
25
|
|
|
31
26
|
const originalProcessVersions = process.versions;
|
package/types.d.ts
CHANGED