Skip to content

Commit

Permalink
feat(deps)!: update gravity-ui/uikit v6
Browse files Browse the repository at this point in the history
  • Loading branch information
martyanovandrey committed Feb 20, 2024
1 parent 278a2f1 commit 593549d
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 45 deletions.
66 changes: 28 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/includer/traverse/tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(', ');

Expand Down
4 changes: 2 additions & 2 deletions src/includer/ui/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('|')}||`;

Expand Down
2 changes: 1 addition & 1 deletion src/runtime/components/Response.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const Response: React.FC<{
</Text>
</Card>
<ClipboardButton
size={16}
size={'m'}
text={text}
className={yfmSandbox('clipboard-button')}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 593549d

Please sign in to comment.