openstack-uicore-foundation 4.2.29 → 4.2.31
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/.claude/settings.local.json +7 -0
- package/lib/components/clock-context.js +2 -0
- package/lib/components/clock-context.js.map +1 -0
- package/lib/components/index.js +1 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/inputs/company-input-v2.js +1 -1
- package/lib/components/inputs/company-input-v2.js.map +1 -1
- package/lib/utils/external-store.js +2 -0
- package/lib/utils/external-store.js.map +1 -0
- package/lib/utils/use-event-callback.js +2 -0
- package/lib/utils/use-event-callback.js.map +1 -0
- package/package.json +7 -1
- package/readme.md +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openstack-uicore-foundation",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.31",
|
|
4
4
|
"description": "ui reactjs components for openstack marketing site",
|
|
5
5
|
"main": "lib/openstack-uicore-foundation.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
"test": "jest"
|
|
11
11
|
},
|
|
12
12
|
"license": "APACHE 2.0",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"use-sync-external-store": "^1.6.0"
|
|
15
|
+
},
|
|
13
16
|
"devDependencies": {
|
|
14
17
|
"@babel/core": "^7.17.8",
|
|
15
18
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
@@ -25,6 +28,9 @@
|
|
|
25
28
|
"@mui/icons-material": "^7.3.9",
|
|
26
29
|
"@mui/material": "^5.15.20",
|
|
27
30
|
"@react-pdf/renderer": "^3.1.11",
|
|
31
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
32
|
+
"@testing-library/react": "^11.2.7",
|
|
33
|
+
"@testing-library/user-event": "^13.5.0",
|
|
28
34
|
"awesome-bootstrap-checkbox": "^1.0.1",
|
|
29
35
|
"babel-cli": "^6.26.0",
|
|
30
36
|
"babel-jest": "^28.1.0",
|
package/readme.md
CHANGED
|
@@ -18,5 +18,9 @@ import 'sweetalert2/dist/sweetalert2.css';
|
|
|
18
18
|
1 - yarn build && yarn publish
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
## React compatibility
|
|
22
|
+
|
|
23
|
+
`createExternalStore` (and the clock context built on it) uses the `use-sync-external-store` shim for React 16/17 compatibility. When React is upgraded to 18+, replace the shim with the native import from `react` and remove the `use-sync-external-store` dependency from package.json.
|
|
24
|
+
|
|
21
25
|
## Troubleshoot
|
|
22
26
|
For Python 3.13 and above, yarn install will not work until you install this lib: sudo apt install python3-setuptools
|