Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 8.24.0 #242

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [8.24.0](https://github.com/gravity-ui/dashkit/compare/v8.23.0...v8.24.0) (2025-01-13)


### Features

* **Title:** add title font customization ([#241](https://github.com/gravity-ui/dashkit/issues/241)) ([51fbb91](https://github.com/gravity-ui/dashkit/commit/51fbb91888c8e64750ecf6aa3431709797839a5d))

## [8.23.0](https://github.com/gravity-ui/dashkit/compare/v8.22.1...v8.23.0) (2024-12-18)


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/dashkit",
"version": "8.23.0",
"version": "8.24.0",
"description": "Library for rendering dashboard grid layout",
"license": "MIT",
"repository": {

Unchanged files with check annotations Beta

defaultProps: defaultGridProps,
groups: groups.reduce<Record<string, GridReflowOptions>>((memo, g) => {
const groupId = g.id || DEFAULT_GROUP;
memo[groupId] = g.gridProperties

Check warning on line 96 in src/components/DashKit/DashKit.tsx

GitHub Actions / Verify Files

Assignment to property of function parameter 'memo'
? getReflowProps(g.gridProperties(defaultGridProps))
: defaultGridProps;
export const DashKitDnDShowcase: React.FC = () => {
const onClick = () => {
console.log('click');

Check warning on line 13 in src/components/DashKit/__stories__/DashKitDnDShowcase.tsx

GitHub Actions / Verify Files

Unexpected console statement
};
const items = React.useMemo(
);
const [config, setConfig] = React.useState(getConfig());
const onChange = React.useCallback(({config}: {config: DashKitProps['config']}) => {

Check warning on line 75 in src/components/DashKit/__stories__/DashKitDnDShowcase.tsx

GitHub Actions / Verify Files

'config' is already declared in the upper scope on line 73 column 12
setConfig(config);
}, []);
);
const onDragStart = React.useCallback(() => {
console.log('dragStarted');

Check warning on line 121 in src/components/DashKit/__stories__/DashKitDnDShowcase.tsx

GitHub Actions / Verify Files

Unexpected console statement
}, []);
const onDragEnd = React.useCallback(() => {
console.log('dragEnded');

Check warning on line 125 in src/components/DashKit/__stories__/DashKitDnDShowcase.tsx

GitHub Actions / Verify Files

Unexpected console statement
}, []);
const onItemMountChange = React.useCallback<
Exclude<DashKitProps['onItemMountChange'], undefined>
>((item, state) => {
console.log('onItemMountChange', item, state);

Check warning on line 131 in src/components/DashKit/__stories__/DashKitDnDShowcase.tsx

GitHub Actions / Verify Files

Unexpected console statement
}, []);
const onItemRender = React.useCallback<Exclude<DashKitProps['onItemRender'], undefined>>(
(item) => {
console.log('onItemRender', item);

Check warning on line 136 in src/components/DashKit/__stories__/DashKitDnDShowcase.tsx

GitHub Actions / Verify Files

Unexpected console statement
},
[],
);
const [headerInteractions, setHeaderInteractions] = React.useState(true);
const onClick = () => {
console.log('click');

Check warning on line 37 in src/components/DashKit/__stories__/DashKitGroupsShowcase.tsx

GitHub Actions / Verify Files

Unexpected console statement
};
const items = React.useMemo(
);
const [config, setConfig] = React.useState(getConfig(true));
const onChange = React.useCallback(({config}: {config: DashKitProps['config']}) => {

Check warning on line 99 in src/components/DashKit/__stories__/DashKitGroupsShowcase.tsx

GitHub Actions / Verify Files

'config' is already declared in the upper scope on line 97 column 12
setConfig(config);
}, []);
const overlayMenuItems = React.useMemo(() => {
const layoutById = config.layout.reduce<Record<string, ConfigLayout>>((memo, item) => {
memo[item.i] = item;

Check warning on line 154 in src/components/DashKit/__stories__/DashKitGroupsShowcase.tsx

GitHub Actions / Verify Files

Assignment to property of function parameter 'memo'
return memo;
}, {});
const maxOffset = config.layout