diff --git a/packages/design/package.json b/packages/design/package.json index 61224d9b3..ae07c045c 100644 --- a/packages/design/package.json +++ b/packages/design/package.json @@ -43,6 +43,7 @@ "classnames": "^2.3.2", "lodash": "^4.17.21", "lottie-web": "^5.12.2", + "prop-types": "^15.8.1", "rc-util": "^5.37.0", "react-sticky-mouse-tooltip": "^0.0.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 46b67be4f..527103dff 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -321,7 +321,7 @@ importers: dependencies: '@ant-design/cssinjs': specifier: ^1.17.0 - version: 1.17.0(react-dom@18.2.0)(react@18.2.0) + version: 1.17.0(react-dom@16.14.0)(react@16.14.0) '@oceanbase/icons': specifier: workspace:^ version: link:../icons @@ -330,7 +330,7 @@ importers: version: link:../util ahooks: specifier: ^2.10.14 - version: 2.10.14(react@18.2.0) + version: 2.10.14(react@16.14.0) antd: specifier: ^5.9.0 version: 5.9.0(moment@2.29.4)(react-dom@18.2.0)(react@18.2.0) @@ -343,18 +343,21 @@ importers: lottie-web: specifier: ^5.12.2 version: 5.12.2 + prop-types: + specifier: ^15.8.1 + version: 15.8.1 rc-util: specifier: ^5.37.0 - version: 5.37.0(react-dom@18.2.0)(react@18.2.0) + version: 5.37.0(react-dom@16.14.0)(react@16.14.0) react: specifier: '>=16.9.0' - version: 18.2.0 + version: 16.14.0 react-dom: specifier: '>=16.9.0' - version: 18.2.0(react@18.2.0) + version: 16.14.0(react@16.14.0) react-sticky-mouse-tooltip: specifier: ^0.0.1 - version: 0.0.1(react-dom@18.2.0)(react@18.2.0) + version: 0.0.1(react-dom@16.14.0)(react@16.14.0) devDependencies: '@babel/cli': specifier: ^7.22.15 @@ -364,7 +367,7 @@ importers: version: 7.22.20(@babel/core@7.22.15) antd-token-previewer: specifier: ^1.1.0 - version: 1.1.0(@babel/core@7.22.15)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0) + version: 1.1.0(@babel/core@7.22.15)(react-dom@16.14.0)(react-is@18.2.0)(react@16.14.0) packages/icons: dependencies: @@ -501,6 +504,16 @@ packages: resolution: {integrity: sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg==} dev: true + /@ahooksjs/use-request@2.8.15(react@16.14.0): + resolution: {integrity: sha512-xhVaM4fyIiAMdVFuuU5i3CFUdFa/IblF+fvITVMFaUEO3w/V5tVCAF6WIA3T03n1/RPuzRkA7Ao1PFtSGtGelw==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 + dependencies: + lodash.debounce: 4.0.8 + lodash.throttle: 4.1.1 + react: 16.14.0 + dev: false + /@ahooksjs/use-request@2.8.15(react@18.2.0): resolution: {integrity: sha512-xhVaM4fyIiAMdVFuuU5i3CFUdFa/IblF+fvITVMFaUEO3w/V5tVCAF6WIA3T03n1/RPuzRkA7Ao1PFtSGtGelw==} peerDependencies: @@ -578,6 +591,22 @@ packages: stylis: 4.3.0 dev: false + /@ant-design/cssinjs@1.17.0(react-dom@16.14.0)(react@16.14.0): + resolution: {integrity: sha512-MgGCZ6sfD3yQB0XW0hN4jgixMxApTlDYyct+pc7fRZNO4CaqWWm/9iXkkljNR27lyWLZmm+XiDfcIOo1bnrnMA==} + peerDependencies: + react: '>=16.0.0' + react-dom: '>=16.0.0' + dependencies: + '@babel/runtime': 7.22.15 + '@emotion/hash': 0.8.0 + '@emotion/unitless': 0.7.5 + classnames: 2.3.2 + csstype: 3.1.2 + rc-util: 5.37.0(react-dom@16.14.0)(react@16.14.0) + react: 16.14.0 + react-dom: 16.14.0(react@16.14.0) + stylis: 4.3.0 + /@ant-design/cssinjs@1.17.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-MgGCZ6sfD3yQB0XW0hN4jgixMxApTlDYyct+pc7fRZNO4CaqWWm/9iXkkljNR27lyWLZmm+XiDfcIOo1bnrnMA==} peerDependencies: @@ -639,6 +668,23 @@ packages: /@ant-design/icons-svg@4.3.1: resolution: {integrity: sha512-4QBZg8ccyC6LPIRii7A0bZUk3+lEDCLnhB+FVsflGdcWPPmV+j3fire4AwwoqHV/BibgvBmR9ZIo4s867smv+g==} + /@ant-design/icons@4.8.1(react-dom@16.14.0)(react@16.14.0): + resolution: {integrity: sha512-JRAuiqllnMsiZIO8OvBOeFconprC3cnMpJ9MvXrHh+H5co9rlg8/aSHQfLf5jKKe18lUgRaIwC2pz8YxH9VuCA==} + engines: {node: '>=8'} + peerDependencies: + react: '>=16.0.0' + react-dom: '>=16.0.0' + dependencies: + '@ant-design/colors': 6.0.0 + '@ant-design/icons-svg': 4.3.1 + '@babel/runtime': 7.22.15 + classnames: 2.3.2 + lodash: 4.17.21 + rc-util: 5.37.0(react-dom@16.14.0)(react@16.14.0) + react: 16.14.0 + react-dom: 16.14.0(react@16.14.0) + dev: true + /@ant-design/icons@4.8.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-JRAuiqllnMsiZIO8OvBOeFconprC3cnMpJ9MvXrHh+H5co9rlg8/aSHQfLf5jKKe18lUgRaIwC2pz8YxH9VuCA==} engines: {node: '>=8'} @@ -1816,6 +1862,17 @@ packages: - reflect-metadata dev: false + /@arvinxu/layout-kit@1.4.0(@babel/core@7.22.15)(react-dom@16.14.0)(react-is@18.2.0)(react@16.14.0): + resolution: {integrity: sha512-dEsmFwZa/NJ2XvDBL4sCPbgFPvCvpxP+G+90Ay9zqN92vc4YbgVo4NjpjsDihiNqwDQjWhasGCC3+v4w7bdYqg==} + dependencies: + styled-components: 5.3.11(@babel/core@7.22.15)(react-dom@16.14.0)(react-is@18.2.0)(react@16.14.0) + transitivePeerDependencies: + - '@babel/core' + - react + - react-dom + - react-is + dev: true + /@arvinxu/layout-kit@1.4.0(@babel/core@7.22.15)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0): resolution: {integrity: sha512-dEsmFwZa/NJ2XvDBL4sCPbgFPvCvpxP+G+90Ay9zqN92vc4YbgVo4NjpjsDihiNqwDQjWhasGCC3+v4w7bdYqg==} dependencies: @@ -7450,6 +7507,25 @@ packages: clean-stack: 2.2.0 indent-string: 4.0.0 + /ahooks@2.10.14(react@16.14.0): + resolution: {integrity: sha512-axWa7VoAgu7bxA56dDl0CXW4rvaQmDBiov/d3tAy0x1YNYywYMKokL8TdLgJ5zO/oXGiWmG7BxlGOQGkqE/zkQ==} + engines: {node: '>=8.0.0'} + peerDependencies: + react: ^16.8.6 || ^17.0 + dependencies: + '@ahooksjs/use-request': 2.8.15(react@16.14.0) + '@types/js-cookie': 2.2.7 + dayjs: 1.11.10 + intersection-observer: 0.7.0 + js-cookie: 2.2.1 + lodash.debounce: 4.0.8 + lodash.isequal: 4.5.0 + lodash.throttle: 4.1.1 + react: 16.14.0 + resize-observer-polyfill: 1.5.1 + screenfull: 5.2.0 + dev: false + /ahooks@2.10.14(react@18.2.0): resolution: {integrity: sha512-axWa7VoAgu7bxA56dDl0CXW4rvaQmDBiov/d3tAy0x1YNYywYMKokL8TdLgJ5zO/oXGiWmG7BxlGOQGkqE/zkQ==} engines: {node: '>=8.0.0'} @@ -7621,6 +7697,33 @@ packages: - react-dom dev: true + /antd-token-previewer@1.1.0(@babel/core@7.22.15)(react-dom@16.14.0)(react-is@18.2.0)(react@16.14.0): + resolution: {integrity: sha512-kXv0fps6YiSo2x6NCsa8IL7VQxMBoShIHeG6SUx9a8Nvjq8K0tzJvv3UYlZvS0kpGu987xlTw+/43yKjlI+q6A==} + peerDependencies: + react: '>=16.0.0' + react-dom: '>=16.0.0' + dependencies: + '@ant-design/colors': 6.0.0 + '@ant-design/cssinjs': 1.17.0(react-dom@16.14.0)(react@16.14.0) + '@ant-design/icons': 4.8.1(react-dom@16.14.0)(react@16.14.0) + '@arvinxu/layout-kit': 1.4.0(@babel/core@7.22.15)(react-dom@16.14.0)(react-is@18.2.0)(react@16.14.0) + '@babel/runtime': 7.22.15 + antd: 5.9.0(moment@2.29.4)(react-dom@18.2.0)(react@18.2.0) + classnames: 2.3.2 + rc-util: 5.37.0(react-dom@16.14.0)(react@16.14.0) + react: 16.14.0 + react-colorful: 5.6.1(react-dom@16.14.0)(react@16.14.0) + react-dom: 16.14.0(react@16.14.0) + tinycolor2: 1.6.0 + use-debouncy: 4.6.0(react@16.14.0) + transitivePeerDependencies: + - '@babel/core' + - date-fns + - luxon + - moment + - react-is + dev: true + /antd-token-previewer@1.1.0(@babel/core@7.22.15)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0): resolution: {integrity: sha512-kXv0fps6YiSo2x6NCsa8IL7VQxMBoShIHeG6SUx9a8Nvjq8K0tzJvv3UYlZvS0kpGu987xlTw+/43yKjlI+q6A==} peerDependencies: @@ -8255,7 +8358,7 @@ packages: '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.15) lodash: 4.17.21 picomatch: 2.3.1 - styled-components: 5.3.11(@babel/core@7.22.15)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0) + styled-components: 5.3.11(@babel/core@7.22.15)(react-dom@16.14.0)(react-is@18.2.0)(react@16.14.0) transitivePeerDependencies: - '@babel/core' dev: true @@ -20281,6 +20384,17 @@ packages: shallowequal: 1.1.0 dev: false + /rc-util@5.37.0(react-dom@16.14.0)(react@16.14.0): + resolution: {integrity: sha512-cPMV8DzaHI1KDaS7XPRXAf4J7mtBqjvjikLpQieaeOO7+cEbqY2j7Kso/T0R0OiEZTNcLS/8Zl9YrlXiO9UbjQ==} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + dependencies: + '@babel/runtime': 7.22.15 + react: 16.14.0 + react-dom: 16.14.0(react@16.14.0) + react-is: 16.13.1 + /rc-util@5.37.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-cPMV8DzaHI1KDaS7XPRXAf4J7mtBqjvjikLpQieaeOO7+cEbqY2j7Kso/T0R0OiEZTNcLS/8Zl9YrlXiO9UbjQ==} peerDependencies: @@ -20367,6 +20481,16 @@ packages: tinycolor2: 1.6.0 dev: true + /react-colorful@5.6.1(react-dom@16.14.0)(react@16.14.0): + resolution: {integrity: sha512-1exovf0uGTGyq5mXQT0zgQ80uvj2PCwvF8zY1RN9/vbJVSjSo3fsB/4L3ObbF7u70NduSiK4xu4Y6q1MHoUGEw==} + peerDependencies: + react: '>=16.8.0' + react-dom: '>=16.8.0' + dependencies: + react: 16.14.0 + react-dom: 16.14.0(react@16.14.0) + dev: true + /react-colorful@5.6.1(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-1exovf0uGTGyq5mXQT0zgQ80uvj2PCwvF8zY1RN9/vbJVSjSo3fsB/4L3ObbF7u70NduSiK4xu4Y6q1MHoUGEw==} peerDependencies: @@ -20395,6 +20519,17 @@ packages: prop-types: 15.8.1 react: 18.2.0 + /react-dom@16.14.0(react@16.14.0): + resolution: {integrity: sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==} + peerDependencies: + react: ^16.14.0 + dependencies: + loose-envify: 1.4.0 + object-assign: 4.1.1 + prop-types: 15.8.1 + react: 16.14.0 + scheduler: 0.19.1 + /react-dom@18.1.0(react@18.1.0): resolution: {integrity: sha512-fU1Txz7Budmvamp7bshe4Zi32d0ll7ect+ccxNu9FlObT605GOEB8BfO4tmRJ39R5Zj831VCpvQ05QPBW5yb+w==} peerDependencies: @@ -20634,14 +20769,14 @@ packages: react-style-proptype: 3.2.2 dev: false - /react-sticky-mouse-tooltip@0.0.1(react-dom@18.2.0)(react@18.2.0): + /react-sticky-mouse-tooltip@0.0.1(react-dom@16.14.0)(react@16.14.0): resolution: {integrity: sha512-nuKyvolX3Zsu48uoGXkEvEE8oAwl7jaUvJrA/SxCSmBmbzmECNBQp03Z60L6/1ImLUzLFUHh2Wul3GpkEffrPw==} peerDependencies: react: ^16.1.0 react-dom: ^16.1.0 dependencies: - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) + react: 16.14.0 + react-dom: 16.14.0(react@16.14.0) dev: false /react-style-proptype@3.2.2: @@ -20698,6 +20833,14 @@ packages: tslib: 2.6.2 dev: false + /react@16.14.0: + resolution: {integrity: sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==} + engines: {node: '>=0.10.0'} + dependencies: + loose-envify: 1.4.0 + object-assign: 4.1.1 + prop-types: 15.8.1 + /react@18.1.0: resolution: {integrity: sha512-4oL8ivCz5ZEPyclFQXaNksK3adutVS8l2xzZU0cqEFrE9Sb7fC0EFK5uEk74wIreL1DERyjvsU915j1pcT2uEQ==} engines: {node: '>=0.10.0'} @@ -21542,6 +21685,12 @@ packages: xmlchars: 2.2.0 dev: true + /scheduler@0.19.1: + resolution: {integrity: sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==} + dependencies: + loose-envify: 1.4.0 + object-assign: 4.1.1 + /scheduler@0.22.0: resolution: {integrity: sha512-6QAm1BgQI88NPYymgGQLCZgvep4FyePDWFpXVK+zNSUgHwlqpJy8VEh8Et0KxTACS4VWwMousBElAZOH9nkkoQ==} dependencies: @@ -22405,6 +22554,31 @@ packages: inline-style-parser: 0.1.1 dev: true + /styled-components@5.3.11(@babel/core@7.22.15)(react-dom@16.14.0)(react-is@18.2.0)(react@16.14.0): + resolution: {integrity: sha512-uuzIIfnVkagcVHv9nE0VPlHPSCmXIUGKfJ42LNjxCCTDTL5sgnJ8Z7GZBq0EnLYGln77tPpEpExt2+qa+cZqSw==} + engines: {node: '>=10'} + peerDependencies: + react: '>= 16.8.0' + react-dom: '>= 16.8.0' + react-is: '>= 16.8.0' + dependencies: + '@babel/helper-module-imports': 7.22.15 + '@babel/traverse': 7.22.15(supports-color@5.5.0) + '@emotion/is-prop-valid': 1.2.1 + '@emotion/stylis': 0.8.5 + '@emotion/unitless': 0.7.5 + babel-plugin-styled-components: 2.1.4(@babel/core@7.22.15)(styled-components@5.3.11) + css-to-react-native: 3.2.0 + hoist-non-react-statics: 3.3.2 + react: 16.14.0 + react-dom: 16.14.0(react@16.14.0) + react-is: 18.2.0 + shallowequal: 1.1.0 + supports-color: 5.5.0 + transitivePeerDependencies: + - '@babel/core' + dev: true + /styled-components@5.3.11(@babel/core@7.22.15)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0): resolution: {integrity: sha512-uuzIIfnVkagcVHv9nE0VPlHPSCmXIUGKfJ42LNjxCCTDTL5sgnJ8Z7GZBq0EnLYGln77tPpEpExt2+qa+cZqSw==} engines: {node: '>=10'} @@ -23958,6 +24132,14 @@ packages: react: 18.2.0 dev: false + /use-debouncy@4.6.0(react@16.14.0): + resolution: {integrity: sha512-5N3n/oQYMuU3QKLXDa9p/xtdPKBcNbGQdLqJJPrkT164IMpHdke5xqoehDZCmgDciy+wJC+iqyE3g8c+k03lGg==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + react: 16.14.0 + dev: true + /use-debouncy@4.6.0(react@18.2.0): resolution: {integrity: sha512-5N3n/oQYMuU3QKLXDa9p/xtdPKBcNbGQdLqJJPrkT164IMpHdke5xqoehDZCmgDciy+wJC+iqyE3g8c+k03lGg==} peerDependencies: