diff --git a/package-lock.json b/package-lock.json index 9637edf..79fa77d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@diplodoc/eslint-config": "^2.0.0", "@diplodoc/prettier-config": "^2.0.0", "@diplodoc/tsconfig": "^1.0.2", - "@gravity-ui/uikit": "^5.25.0", + "@gravity-ui/uikit": "^6.0.0", "@types/html-escaper": "^3.0.0", "@types/jest": "^29.5.2", "@types/jest-when": "^3.5.2", @@ -50,7 +50,7 @@ "npm": ">=9.*" }, "peerDependencies": { - "@gravity-ui/uikit": "^5.25.0", + "@gravity-ui/uikit": "^6.0.0", "markdown-it": "^13.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" @@ -1677,15 +1677,15 @@ } }, "node_modules/@gravity-ui/i18n": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@gravity-ui/i18n/-/i18n-1.1.0.tgz", - "integrity": "sha512-Ck+LNE1S2GGaMKMijIYWogiM/tYk0wHPlqLrhZmzp6P5keIu8YnPDeIlwAzq4eYVSrtTudLmshFB9QmYAeLryQ==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@gravity-ui/i18n/-/i18n-1.2.0.tgz", + "integrity": "sha512-1FNZmbxeT3arwU2bv1p77u/K7rYoX4pGrXf0SNwg45HbbgI0XV0WapXbWr/GIB7EXdjiOvQ7kzXCfVIFV4ifYw==", "dev": true }, "node_modules/@gravity-ui/icons": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@gravity-ui/icons/-/icons-2.6.0.tgz", - "integrity": "sha512-ZJi5uesS74YdWKAq8fiD0fL76OXpvPA0XncTIDj+Z3sWnFTOO7LRj0GUuIkH0T9GLdUACWbLEOOR8csFpri9pg==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/@gravity-ui/icons/-/icons-2.8.1.tgz", + "integrity": "sha512-cldaFAN3W2OAzEZBiurD7RsqyqGhS7xoVS9TC4DrOG9bXy8dWUvNEeeOnKgpIvZgAGFlTmg01BK6jMH0IFFSPw==", "dev": true }, "node_modules/@gravity-ui/prettier-config": { @@ -1698,27 +1698,26 @@ } }, "node_modules/@gravity-ui/uikit": { - "version": "5.25.0", - "resolved": "https://registry.npmjs.org/@gravity-ui/uikit/-/uikit-5.25.0.tgz", - "integrity": "sha512-v4TrGadP7AgKz+bphG5afgMVm4lb8xIfePUzVKAWmtTfb22hNe/fSkwT5OhTp58/8fN4TuJ95KRRTVV32ijipw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@gravity-ui/uikit/-/uikit-6.0.0.tgz", + "integrity": "sha512-16xgkTI646tZoAT5pnw7Ge2Q4e9c8DWYZw0w11X8A9hyuYaNjd0isUxpD4Beywi4ELKeFv3t2IXCn/RTU7/qVw==", "dev": true, "dependencies": { "@bem-react/classname": "^1.6.0", - "@gravity-ui/i18n": "^1.1.0", - "@gravity-ui/icons": "^2.5.0", + "@gravity-ui/i18n": "^1.2.0", + "@gravity-ui/icons": "^2.8.1", "@popperjs/core": "^2.11.8", "blueimp-md5": "^2.19.0", - "focus-trap": "^7.5.2", + "focus-trap": "^7.5.4", "lodash": "^4.17.21", "react-beautiful-dnd": "^13.1.1", "react-copy-to-clipboard": "^5.1.0", "react-popper": "^2.3.0", "react-transition-group": "^4.4.5", - "react-virtualized-auto-sizer": "^1.0.20", - "react-window": "^1.8.9", + "react-virtualized-auto-sizer": "^1.0.21", + "react-window": "^1.8.10", "tabbable": "^6.2.0", - "tslib": "^2.6.1", - "utility-types": "^3.10.0" + "tslib": "^2.6.2" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0", @@ -5900,9 +5899,9 @@ "dev": true }, "node_modules/focus-trap": { - "version": "7.5.2", - "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.5.2.tgz", - "integrity": "sha512-p6vGNNWLDGwJCiEjkSK6oERj/hEyI9ITsSwIUICBoKLlWiTWXJRfQibCwcoi50rTZdbi87qDtUlMCmQwsGSgPw==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.5.4.tgz", + "integrity": "sha512-N7kHdlgsO/v+iD/dMoJKtsSqs5Dz/dXZVebRgJw23LDk+jMi/974zyiOYDziY2JPp8xivq9BmUGwIJMiuSBi7w==", "dev": true, "dependencies": { "tabbable": "^6.2.0" @@ -10195,19 +10194,19 @@ } }, "node_modules/react-virtualized-auto-sizer": { - "version": "1.0.20", - "resolved": "https://registry.npmjs.org/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.20.tgz", - "integrity": "sha512-OdIyHwj4S4wyhbKHOKM1wLSj/UDXm839Z3Cvfg2a9j+He6yDa6i5p0qQvEiCnyQlGO/HyfSnigQwuxvYalaAXA==", + "version": "1.0.22", + "resolved": "https://registry.npmjs.org/react-virtualized-auto-sizer/-/react-virtualized-auto-sizer-1.0.22.tgz", + "integrity": "sha512-2CGT/4rZ6jvVkKqzJGnZlyQxj4rWPKAwZR80vMlmpYToN18xaB0yIODOoBltWZLbSgpHBpIk0Ae1nrVO9hVClA==", "dev": true, "peerDependencies": { - "react": "^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0-rc", - "react-dom": "^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0-rc" + "react": "^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0", + "react-dom": "^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0" } }, "node_modules/react-window": { - "version": "1.8.9", - "resolved": "https://registry.npmjs.org/react-window/-/react-window-1.8.9.tgz", - "integrity": "sha512-+Eqx/fj1Aa5WnhRfj9dJg4VYATGwIUP2ItwItiJ6zboKWA6EX3lYDAXfGF2hyNqplEprhbtjbipiADEcwQ823Q==", + "version": "1.8.10", + "resolved": "https://registry.npmjs.org/react-window/-/react-window-1.8.10.tgz", + "integrity": "sha512-Y0Cx+dnU6NLa5/EvoHukUD0BklJ8qITCtVEPY1C/nL8wwoZ0b5aEw8Ff1dOVHw7fCzMt55XfJDd8S8W8LCaUCg==", "dev": true, "dependencies": { "@babel/runtime": "^7.0.0", @@ -11547,15 +11546,6 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/utility-types": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz", - "integrity": "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/v8-to-istanbul": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz", diff --git a/package.json b/package.json index 2303ba9..e48e1af 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "includer" ], "peerDependencies": { - "@gravity-ui/uikit": "^5.25.0", + "@gravity-ui/uikit": "^6.0.0", "markdown-it": "^13.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" @@ -59,7 +59,7 @@ "@diplodoc/eslint-config": "^2.0.0", "@diplodoc/prettier-config": "^2.0.0", "@diplodoc/tsconfig": "^1.0.2", - "@gravity-ui/uikit": "^5.25.0", + "@gravity-ui/uikit": "^6.0.0", "@types/html-escaper": "^3.0.0", "@types/jest": "^29.5.2", "@types/jest-when": "^3.5.2", diff --git a/src/includer/traverse/tables.ts b/src/includer/traverse/tables.ts index 5c062f9..83fdd2e 100644 --- a/src/includer/traverse/tables.ts +++ b/src/includer/traverse/tables.ts @@ -188,7 +188,7 @@ export function prepareTableRowData( } function prepareComplexDescription(baseDescription: string, value: OpenJSONSchema): string { - let description = baseDescription + EOL; + let description = baseDescription + EOL; const enumValues = value.enum?.map((s) => `\`${s}\``).join(', '); diff --git a/src/includer/ui/common.ts b/src/includer/ui/common.ts index f6ccdcf..d35cd2d 100644 --- a/src/includer/ui/common.ts +++ b/src/includer/ui/common.ts @@ -64,8 +64,8 @@ function table(data: any[][]) { const colgen = (col: any) => { const content = Array.isArray(col) ? table(col) : escapeTableColContent(` ${col} `); - return `${EOL}${content}${EOL}` - } + return `${EOL}${content}${EOL}`; + }; /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ const rowgen = (row: any) => `||${row.map(colgen).join('|')}||`; diff --git a/src/runtime/components/Response.tsx b/src/runtime/components/Response.tsx index e9161cb..90fbf3c 100644 --- a/src/runtime/components/Response.tsx +++ b/src/runtime/components/Response.tsx @@ -58,7 +58,7 @@ export const Response: React.FC<{ diff --git a/src/runtime/index.scss b/src/runtime/index.scss index bd1d918..0b79767 100644 --- a/src/runtime/index.scss +++ b/src/runtime/index.scss @@ -13,7 +13,7 @@ --dc-openapi-highlight: rgb(233, 174, 86); &__required { - color: var(--yc-color-text-danger); + color: var(--g-color-text-danger); } & #request {