Skip to content

Commit

Permalink
Merge branch 'main' into timofeyevvv/readme-ru
Browse files Browse the repository at this point in the history
  • Loading branch information
vvtimofeev authored Dec 27, 2024
2 parents 2fa0760 + 489bd65 commit 388bb61
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [3.13.2](https://github.com/gravity-ui/components/compare/v3.13.1...v3.13.2) (2024-12-24)


### Bug Fixes

* rename unstable namespace keyset ([#253](https://github.com/gravity-ui/components/issues/253)) ([1d5052a](https://github.com/gravity-ui/components/commit/1d5052a308ad1208a1df99b9109d72e0b00f04f9))

## [3.13.1](https://github.com/gravity-ui/components/compare/v3.13.0...v3.13.1) (2024-12-16)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gravity-ui/components",
"version": "3.13.1",
"version": "3.13.2",
"description": "",
"license": "MIT",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/unstable/Stories/i18n/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {addComponentKeysets} from '@gravity-ui/uikit/i18n';

import {NAMESPACE} from '../../../utils/cn';
import {UNSTABLE_NAMESPACE} from '../../../utils/cn';

import en from './en.json';
import ru from './ru.json';

export const i18n = addComponentKeysets({en, ru}, `${NAMESPACE}stories`);
export const i18n = addComponentKeysets({en, ru}, `${UNSTABLE_NAMESPACE}stories`);
1 change: 1 addition & 0 deletions src/components/utils/cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {withNaming} from '@bem-react/classname';
export type CnMods = Record<string, string | boolean | undefined>;

export const NAMESPACE = 'gc-';
export const UNSTABLE_NAMESPACE = 'gcu-';

export const cn = withNaming({e: '__', m: '_', v: '_'});
export const block = withNaming({n: NAMESPACE, e: '__', m: '_', v: '_'});

0 comments on commit 388bb61

Please sign in to comment.