@rescui/collapse 0.8.4-RUI-297-Add-react-compiler-to-the-packages-build-dbbefd7b8.10 → 0.8.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/collapse",
3
- "version": "0.8.4-RUI-297-Add-react-compiler-to-the-packages-build-dbbefd7b8.10+dbbefd7b8",
3
+ "version": "0.8.4",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -17,26 +17,25 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@babel/runtime-corejs3": "^7.26.0",
20
- "@rescui/use-resize-observer": "0.3.4-RUI-297-Add-react-compiler-to-the-packages-build-dbbefd7b8.10+dbbefd7b8",
21
- "classnames": "^2.2.6",
22
- "react-compiler-runtime": "^1.0.0"
20
+ "@rescui/use-resize-observer": "^0.3.3",
21
+ "classnames": "^2.2.6"
23
22
  },
24
23
  "peerDependencies": {
25
24
  "@rescui/ui-contexts": "^0.6.0",
26
25
  "prop-types": "^15",
27
- "react": ">=17.0.0 <20"
26
+ "react": ">=16.8.0 <20"
28
27
  },
29
28
  "devDependencies": {
30
- "@rescui/colors": "0.3.3-RUI-297-Add-react-compiler-to-the-packages-build-dbbefd7b8.14+dbbefd7b8",
31
- "@rescui/scripts": "0.5.2",
32
- "@rescui/typography": "0.27.3-RUI-297-Add-react-compiler-to-the-packages-build-dbbefd7b8.14+dbbefd7b8",
33
- "@rescui/visual-regression": "0.1.4",
29
+ "@rescui/colors": "^0.3.2",
30
+ "@rescui/scripts": "^0.5.2",
31
+ "@rescui/typography": "^0.27.3",
32
+ "@rescui/visual-regression": "^0.1.4",
34
33
  "@types/classnames": "^2.2.11"
35
34
  },
36
35
  "scripts": {
37
- "build": "rescui-scripts build --react-compiler-target 17 && yarn run build-pcss-api",
36
+ "build": "rescui-scripts build && yarn run build-pcss-api",
38
37
  "build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
39
38
  },
40
39
  "nx": {},
41
- "gitHead": "dbbefd7b8e24da18262edf3baffa35039ae01af3"
40
+ "gitHead": "7614b4519a4716fbf1151d94c97fda48eab60800"
42
41
  }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- export declare function useFallbackId(): number;
3
- export declare const useSafeId: typeof React.useId | typeof useFallbackId;
@@ -1,10 +0,0 @@
1
- import React, { useState } from 'react';
2
- let nextFallbackId = 0;
3
-
4
- function useFallbackId() {
5
- const [id] = useState(() => nextFallbackId++);
6
- return id;
7
- }
8
-
9
- const useSafeId = React.useId ?? useFallbackId;
10
- export { useFallbackId, useSafeId };