Skip to content

Commit

Permalink
chore(deps): update @consta/uikit
Browse files Browse the repository at this point in the history
  • Loading branch information
gizeasy committed Oct 11, 2022
1 parent ef3f93d commit 6d77975
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 24 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).

##### Пример с изменением размера

Expand Down
4 changes: 2 additions & 2 deletions src/docs/start/start.stand.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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), чтобы добавить стили и значения по умолчанию для некоторых свойств.

## Быстрый старт

Expand Down
31 changes: 15 additions & 16 deletions src/stand/standConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6d77975

Please sign in to comment.