From 6d77975de15ca6a2a8780d914c6f708539412b01 Mon Sep 17 00:00:00 2001 From: gizeasy Date: Tue, 11 Oct 2022 16:28:04 +0300 Subject: [PATCH] chore(deps): update @consta/uikit --- package.json | 2 +- .../__stand__/rcTreeAdapter.dev.stand.mdx | 2 +- src/docs/start/start.stand.mdx | 4 +-- src/stand/standConfig.ts | 31 +++++++++---------- yarn.lock | 8 ++--- 5 files changed, 23 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index b475f13..0d99bbd 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "@babel/preset-typescript": "^7.18.6", "@bem/sdk.naming.cell.match": "^0.1.3", "@bem/sdk.naming.presets": "^0.2.3", - "@consta/stand": "^0.0.53", + "@consta/stand": "^0.0.55", "@consta/uikit": "^4.0.1", "@oclif/command": "^1.8.16", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", diff --git a/src/adapters/rcTreeAdapter/__stand__/rcTreeAdapter.dev.stand.mdx b/src/adapters/rcTreeAdapter/__stand__/rcTreeAdapter.dev.stand.mdx index e4fa174..7051648 100644 --- a/src/adapters/rcTreeAdapter/__stand__/rcTreeAdapter.dev.stand.mdx +++ b/src/adapters/rcTreeAdapter/__stand__/rcTreeAdapter.dev.stand.mdx @@ -123,7 +123,7 @@ export function RcTreeAdapterStoriesExample() { ### Размер -Вы можете поменять размер дерева — так же, как в [миксине `RcTree`](##LIBS.STAND|stand:rc-tree-adapter-mixs-rctree-stable). +Вы можете поменять размер дерева — так же, как в [миксине `RcTree`](##LIBS.LIB.STAND/lib:rc-tree-adapter/stand:mixs-rctree-stable). ##### Пример с изменением размера diff --git a/src/docs/start/start.stand.mdx b/src/docs/start/start.stand.mdx index 32f723e..9705290 100644 --- a/src/docs/start/start.stand.mdx +++ b/src/docs/start/start.stand.mdx @@ -2,8 +2,8 @@ ## Как создать стилизованное дерево -- Подключите миксин [RcTree](##LIBS.STAND/stand:rc-tree-adapter-mixs-rctree-stable) — он добавит дереву стили из Consta. -- Подключите адаптер [rcTreeAdapter](##LIBS.STAND/stand:rc-tree-adapter-adapters-rctreeadapter-stable), чтобы добавить стили и значения по умолчанию для некоторых свойств. +- Подключите миксин [RcTree](##LIBS.LIB.STAND/lib:rc-tree-adapter/stand:mixs-rctree-stable) — он добавит дереву стили из Consta. +- Подключите адаптер [rcTreeAdapter](##LIBS.LIB.STAND/lib:rc-tree-adapter/stand:adapters-rctreeadapter-stable), чтобы добавить стили и значения по умолчанию для некоторых свойств. ## Быстрый старт diff --git a/src/stand/standConfig.ts b/src/stand/standConfig.ts index 2eef6b0..609179f 100644 --- a/src/stand/standConfig.ts +++ b/src/stand/standConfig.ts @@ -2,25 +2,24 @@ import { createConfig } from '@consta/stand'; import image from './ConstaImage.png'; -const groups = [ - { - title: 'Документация', - id: 'docs', - }, - { - title: 'Миксины', - id: 'mixs', - }, - { - title: 'Адаптеры', - id: 'adapters', - }, -] as const; - export const { createStand } = createConfig({ title: 'Consta rc-tree-adapter', id: 'rc-tree-adapter', - groups, + groups: [ + { + title: 'Документация', + id: 'docs', + }, + { + title: 'Миксины', + id: 'mixs', + }, + { + title: 'Адаптеры', + id: 'adapters', + view: 'card', + }, + ], group: 'Адаптеры', image, description: diff --git a/yarn.lock b/yarn.lock index 889765b..9e59d72 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1609,10 +1609,10 @@ date-fns "^2.17.0" react-transition-group "^4.4.2" -"@consta/stand@^0.0.53": - version "0.0.53" - resolved "https://registry.yarnpkg.com/@consta/stand/-/stand-0.0.53.tgz#c519f0709f9bc528e24e09d6ab48b09b17efb851" - integrity sha512-WTRvipfTCAInlppKq/MQfUBt6h7X9pwS5YUv+MkIiPJ1m54hjv6A5Nm643u91lRRT8EJv8wB2Rga9/2OEE4zfQ== +"@consta/stand@^0.0.55": + version "0.0.55" + resolved "https://registry.yarnpkg.com/@consta/stand/-/stand-0.0.55.tgz#052e218eb81900b320851b01cb34b1f1fa2251b2" + integrity sha512-22XojN10uOUaB4MRzfDEGii90RalbX5tcpq7PilUhdde+XhTg7LGy3HpJRD3ow7itCN6Cf7pqweAQsWa1TBVfw== dependencies: "@bem-react/classname" "^1.5.12" "@bem-react/classnames" "^1.3.10"