@dr.pogodin/react-utils 1.44.4 → 1.44.6

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.
@@ -434,11 +434,6 @@ body {
434
434
  /**
435
435
  * The default button theme.
436
436
  */
437
- *,
438
- .-dr-pogodin-react-utils___src-shared-components-Button-style___context___KM0v4f,
439
- .-dr-pogodin-react-utils___src-shared-components-Button-style___ad___3jm1-Q.-dr-pogodin-react-utils___src-shared-components-Button-style___hoc___0plpDL {
440
- /* Additional styling of disabled buttons. */
441
- }
442
437
  *.-dr-pogodin-react-utils___src-shared-components-Button-style___button___E1FNQT,
443
438
  .-dr-pogodin-react-utils___src-shared-components-Button-style___context___KM0v4f.-dr-pogodin-react-utils___src-shared-components-Button-style___button___E1FNQT,
444
439
  .-dr-pogodin-react-utils___src-shared-components-Button-style___ad___3jm1-Q.-dr-pogodin-react-utils___src-shared-components-Button-style___hoc___0plpDL.-dr-pogodin-react-utils___src-shared-components-Button-style___button___E1FNQT {
@@ -478,6 +473,11 @@ body {
478
473
  border-color: blue;
479
474
  outline: none;
480
475
  }
476
+ *,
477
+ .-dr-pogodin-react-utils___src-shared-components-Button-style___context___KM0v4f,
478
+ .-dr-pogodin-react-utils___src-shared-components-Button-style___ad___3jm1-Q.-dr-pogodin-react-utils___src-shared-components-Button-style___hoc___0plpDL {
479
+ /* Additional styling of disabled buttons. */
480
+ }
481
481
  *.-dr-pogodin-react-utils___src-shared-components-Button-style___disabled___Br9IWV,
482
482
  .-dr-pogodin-react-utils___src-shared-components-Button-style___context___KM0v4f.-dr-pogodin-react-utils___src-shared-components-Button-style___disabled___Br9IWV,
483
483
  .-dr-pogodin-react-utils___src-shared-components-Button-style___ad___3jm1-Q.-dr-pogodin-react-utils___src-shared-components-Button-style___hoc___0plpDL.-dr-pogodin-react-utils___src-shared-components-Button-style___disabled___Br9IWV {
@@ -751,13 +751,6 @@ body {
751
751
  opacity: 1;
752
752
  }
753
753
  }
754
- *,
755
- .-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___ad___4xT7zE.-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___hoc___zd-vnH,
756
- .-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___context___GdZucr {
757
- /*
758
- &.content { }
759
- */
760
- }
761
754
  *.-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___arrow___M9gywF,
762
755
  .-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___ad___4xT7zE.-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___hoc___zd-vnH.-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___arrow___M9gywF,
763
756
  .-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___context___GdZucr.-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___arrow___M9gywF {
@@ -767,6 +760,13 @@ body {
767
760
  width: 0;
768
761
  height: 0;
769
762
  }
763
+ *,
764
+ .-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___ad___4xT7zE.-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___hoc___zd-vnH,
765
+ .-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___context___GdZucr {
766
+ /*
767
+ &.content { }
768
+ */
769
+ }
770
770
  *.-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___container___f9gY8K,
771
771
  .-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___ad___4xT7zE.-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___hoc___zd-vnH.-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___container___f9gY8K,
772
772
  .-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___context___GdZucr.-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___container___f9gY8K {
@@ -86,7 +86,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
86
86
  \*************************************************/
87
87
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
88
88
 
89
- eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"context\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___context___KM0v4f\",\"ad\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___ad___3jm1-Q\",\"hoc\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___hoc___0plpDL\",\"button\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___button___E1FNQT\",\"active\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___active___MAe9O6\",\"disabled\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___disabled___Br9IWV\"});\n\n//# sourceURL=webpack://@dr.pogodin/react-utils/./src/shared/components/Button/style.scss?\n}");
89
+ eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"button\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___button___E1FNQT\",\"context\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___context___KM0v4f\",\"ad\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___ad___3jm1-Q\",\"hoc\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___hoc___0plpDL\",\"active\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___active___MAe9O6\",\"disabled\":\"-dr-pogodin-react-utils___src-shared-components-Button-style___disabled___Br9IWV\"});\n\n//# sourceURL=webpack://@dr.pogodin/react-utils/./src/shared/components/Button/style.scss?\n}");
90
90
 
91
91
  /***/ }),
92
92
 
@@ -276,7 +276,7 @@ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpa
276
276
  \**************************************************************/
277
277
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
278
278
 
279
- eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"ad\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___ad___4xT7zE\",\"hoc\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___hoc___zd-vnH\",\"context\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___context___GdZucr\",\"arrow\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___arrow___M9gywF\",\"container\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___container___f9gY8K\",\"appearance\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___appearance___L4ubm-\",\"wrapper\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___wrapper___4qDBRM\"});\n\n//# sourceURL=webpack://@dr.pogodin/react-utils/./src/shared/components/WithTooltip/default-theme.scss?\n}");
279
+ eval("{__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"arrow\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___arrow___M9gywF\",\"ad\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___ad___4xT7zE\",\"hoc\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___hoc___zd-vnH\",\"context\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___context___GdZucr\",\"container\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___container___f9gY8K\",\"appearance\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___appearance___L4ubm-\",\"wrapper\":\"-dr-pogodin-react-utils___src-shared-components-WithTooltip-default-theme___wrapper___4qDBRM\"});\n\n//# sourceURL=webpack://@dr.pogodin/react-utils/./src/shared/components/WithTooltip/default-theme.scss?\n}");
280
280
 
281
281
  /***/ }),
282
282
 
@@ -86,7 +86,7 @@ export type OptionsT = {
86
86
  * provided the Webpack config factory will use it to gererate `sitemap.xml`
87
87
  * file in the output folder, and then serve it from the app root.
88
88
  * @return The generated config will opt to:
89
- * - Bundle the font assets (EOF, OTF, SVG, TTF, WOFF, WOFF2 files from
89
+ * - Bundle the font assets (EOF, OTF, TTF, WOFF, WOFF2 files from
90
90
  * the `src/assets/fonts` folder of your source code will be bundled
91
91
  * and output into the `[PUBLIC_PATH]/fonts` folder);
92
92
  * - Bundle image assets (GIF, JPEG, JPG, PNG files from any folder of
@@ -77,7 +77,7 @@ const utils_1 = require("@dr.pogodin/babel-plugin-react-css-modules/utils");
77
77
  * provided the Webpack config factory will use it to gererate `sitemap.xml`
78
78
  * file in the output folder, and then serve it from the app root.
79
79
  * @return The generated config will opt to:
80
- * - Bundle the font assets (EOF, OTF, SVG, TTF, WOFF, WOFF2 files from
80
+ * - Bundle the font assets (EOF, OTF, TTF, WOFF, WOFF2 files from
81
81
  * the `src/assets/fonts` folder of your source code will be bundled
82
82
  * and output into the `[PUBLIC_PATH]/fonts` folder);
83
83
  * - Bundle image assets (GIF, JPEG, JPG, PNG files from any folder of
@@ -218,14 +218,10 @@ function configFactory(ops) {
218
218
  module: {
219
219
  rules: [{
220
220
  /* Loads font resources from "src/assets/fonts" folder. */
221
- test: /\.(eot|otf|svg|ttf|woff2?)$/,
221
+ test: /\.(eot|otf|ttf|woff2?)$/,
222
222
  generator: {
223
223
  filename: 'fonts/[contenthash][ext][query]',
224
224
  },
225
- include: [
226
- /node_modules/,
227
- /src[/\\]assets[/\\]fonts/,
228
- ],
229
225
  type: 'asset/resource',
230
226
  }, {
231
227
  // Aggregates source maps from dependencies.
@@ -52,7 +52,7 @@ function configFactory(ops) {
52
52
  * with such configuration it just rewrites those URLs to point to
53
53
  * the original location of the font assets in
54
54
  * the library being build. */
55
- test: /\.(eot|otf|svg|ttf|woff2?)$/,
55
+ test: /\.(eot|otf|ttf|woff2?)$/,
56
56
  generator: {
57
57
  // TODO: This comes from the older config version which relied on
58
58
  // file-loader. It might require some correction to correctly join
@@ -60,10 +60,6 @@ function configFactory(ops) {
60
60
  filename: '../shared/[path][name][ext]',
61
61
  publicPath: `${ops.library}/build/shared`,
62
62
  },
63
- include: [
64
- /node_modules/,
65
- /src[/\\]assets[/\\]fonts/,
66
- ],
67
63
  type: 'asset/resource',
68
64
  }, {
69
65
  // Aggregates source maps from dependencies.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.44.4",
2
+ "version": "1.44.6",
3
3
  "bin": {
4
4
  "react-utils-build": "bin/build.js",
5
5
  "react-utils-setup": "bin/setup.js"
@@ -8,14 +8,14 @@
8
8
  "url": "https://github.com/birdofpreyru/react-utils/issues"
9
9
  },
10
10
  "dependencies": {
11
- "@babel/runtime": "^7.28.3",
11
+ "@babel/runtime": "^7.28.4",
12
12
  "@dr.pogodin/babel-plugin-react-css-modules": "^6.13.7",
13
13
  "@dr.pogodin/csurf": "^1.16.5",
14
14
  "@dr.pogodin/js-utils": "^0.1.3",
15
15
  "@dr.pogodin/react-global-state": "^0.19.4",
16
- "@dr.pogodin/react-helmet": "^3.0.2",
16
+ "@dr.pogodin/react-helmet": "^3.0.3",
17
17
  "@dr.pogodin/react-themes": "^1.9.2",
18
- "@jest/environment": "^30.0.5",
18
+ "@jest/environment": "^30.1.2",
19
19
  "axios": "^1.11.0",
20
20
  "commander": "^14.0.0",
21
21
  "compression": "^1.8.1",
@@ -23,7 +23,7 @@
23
23
  "cookie": "^1.0.2",
24
24
  "cookie-parser": "^1.4.7",
25
25
  "cross-env": "^10.0.0",
26
- "dayjs": "^1.11.13",
26
+ "dayjs": "^1.11.18",
27
27
  "express": "^5.1.0",
28
28
  "helmet": "^8.1.0",
29
29
  "http-status-codes": "^2.3.0",
@@ -34,19 +34,19 @@
34
34
  "raf": "^3.4.1",
35
35
  "react": "^19.1.1",
36
36
  "react-dom": "^19.1.1",
37
- "react-router": "^7.8.1",
37
+ "react-router": "^7.8.2",
38
38
  "request-ip": "^3.3.0",
39
39
  "rimraf": "^6.0.0",
40
40
  "serialize-javascript": "^6.0.2",
41
41
  "serve-favicon": "^2.5.1",
42
42
  "source-map-support": "^0.5.21",
43
- "uuid": "^11.1.0",
43
+ "uuid": "^12.0.0",
44
44
  "winston": "^3.17.0"
45
45
  },
46
46
  "description": "Collection of generic ReactJS components and utils",
47
47
  "devDependencies": {
48
48
  "@babel/cli": "^7.28.3",
49
- "@babel/core": "^7.28.3",
49
+ "@babel/core": "^7.28.4",
50
50
  "@babel/node": "^7.28.0",
51
51
  "@babel/plugin-transform-runtime": "^7.28.3",
52
52
  "@babel/preset-env": "^7.28.3",
@@ -72,8 +72,8 @@
72
72
  "@types/morgan": "^1.9.10",
73
73
  "@types/node-forge": "^1.3.14",
74
74
  "@types/pretty": "^2.0.3",
75
- "@types/react": "^19.1.10",
76
- "@types/react-dom": "^19.1.7",
75
+ "@types/react": "^19.1.12",
76
+ "@types/react-dom": "^19.1.9",
77
77
  "@types/request-ip": "^0.0.41",
78
78
  "@types/serialize-javascript": "^5.0.4",
79
79
  "@types/serve-favicon": "^2.5.7",
@@ -81,31 +81,31 @@
81
81
  "@types/webpack": "^5.28.5",
82
82
  "@types/webpack-hot-middleware": "^2.25.10",
83
83
  "autoprefixer": "^10.4.21",
84
- "babel-jest": "^30.0.5",
84
+ "babel-jest": "^30.1.2",
85
85
  "babel-loader": "^10.0.0",
86
86
  "babel-plugin-module-resolver": "^5.0.2",
87
87
  "core-js": "^3.45.1",
88
88
  "css-loader": "^7.1.2",
89
89
  "css-minimizer-webpack-plugin": "^7.0.2",
90
90
  "identity-obj-proxy": "^3.0.0",
91
- "jest": "^30.0.5",
92
- "jest-environment-jsdom": "^30.0.5",
93
- "memfs": "^4.36.3",
91
+ "jest": "^30.1.3",
92
+ "jest-environment-jsdom": "^30.1.2",
93
+ "memfs": "^4.38.2",
94
94
  "mini-css-extract-plugin": "^2.9.4",
95
95
  "mockdate": "^3.0.5",
96
96
  "nodelist-foreach-polyfill": "^1.2.0",
97
97
  "postcss": "^8.5.6",
98
- "postcss-loader": "^8.1.1",
98
+ "postcss-loader": "^8.2.0",
99
99
  "postcss-scss": "^4.0.9",
100
100
  "pretty": "^2.0.0",
101
101
  "react-refresh": "^0.17.0",
102
102
  "regenerator-runtime": "^0.14.1",
103
103
  "resolve-url-loader": "^5.0.0",
104
- "sass": "^1.90.0",
104
+ "sass": "^1.92.1",
105
105
  "sass-loader": "^16.0.5",
106
106
  "sitemap": "^8.0.0",
107
107
  "source-map-loader": "^5.0.0",
108
- "stylelint": "^16.23.1",
108
+ "stylelint": "^16.24.0",
109
109
  "stylelint-config-standard-scss": "^15.0.1",
110
110
  "supertest": "^7.1.4",
111
111
  "tsc-alias": "1.8.16",
@@ -113,7 +113,7 @@
113
113
  "typed-scss-modules": "^8.1.1",
114
114
  "typescript": "^5.9.2",
115
115
  "webpack": "^5.101.3",
116
- "webpack-dev-middleware": "^7.4.2",
116
+ "webpack-dev-middleware": "^7.4.3",
117
117
  "webpack-hot-middleware": "^2.26.1",
118
118
  "webpack-merge": "^6.0.1",
119
119
  "workbox-core": "^7.3.0",
@@ -138,7 +138,10 @@
138
138
  "webpack": "./build/production/web.bundle.js",
139
139
  "default": "./node-entry.js"
140
140
  },
141
- "react-native": "./node-entry.js"
141
+ "react-native": {
142
+ "default": "./node-entry.js",
143
+ "types": "./build/types-code/index.d.ts"
144
+ }
142
145
  },
143
146
  "./config/*": "./config/*.js",
144
147
  "./config/eslint/*": "./config/eslint/*.mjs",
@@ -17,7 +17,7 @@
17
17
  font-weight: $font-weight;
18
18
  font-style: $font-style;
19
19
  src: url("#{$font-url}#{$font-file}.eot");
20
- src: url("#{$font-url}#{$font-file}.eot?#iefix") format("embedded-opentype"), url("#{$font-url}#{$font-file}.woff") format("woff"), url("#{$font-url}#{$font-file}.ttf") format("truetype"), url("#{$font-url}#{$font-file}.svg##{$font-name}") format("svg");
20
+ src: url("#{$font-url}#{$font-file}.eot?#iefix") format("embedded-opentype"), url("#{$font-url}#{$font-file}.woff") format("woff"), url("#{$font-url}#{$font-file}.ttf") format("truetype");
21
21
  }
22
22
  }
23
23