From bebda3ee7df7e82b271f1cc350958e2523602a89 Mon Sep 17 00:00:00 2001 From: "Irina V. Kuzmina" Date: Tue, 27 Feb 2024 17:44:29 +0300 Subject: [PATCH] fix import --- .github/workflows/ci.yml | 4 ++-- src/plugins/d3/__stories__/bar-x/Playground.stories.tsx | 1 + src/plugins/d3/__stories__/bar-y/Playground.stories.tsx | 1 + src/plugins/d3/__stories__/line/Playground.stories.tsx | 1 + src/plugins/d3/__stories__/pie/Playground.stories.tsx | 1 + src/plugins/d3/__stories__/treemap/Playground.stories.tsx | 3 ++- 6 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c52cb4d..f65d15b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main, v4-2] + branches: [main] pull_request: - branches: [main, v4-2] + branches: [main] jobs: verify_files: diff --git a/src/plugins/d3/__stories__/bar-x/Playground.stories.tsx b/src/plugins/d3/__stories__/bar-x/Playground.stories.tsx index e4d9fefc..cace04c1 100644 --- a/src/plugins/d3/__stories__/bar-x/Playground.stories.tsx +++ b/src/plugins/d3/__stories__/bar-x/Playground.stories.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import {action} from '@storybook/addon-actions'; import {StoryObj} from '@storybook/react'; import {Button} from '@gravity-ui/uikit'; import {settings} from '../../../../libs'; diff --git a/src/plugins/d3/__stories__/bar-y/Playground.stories.tsx b/src/plugins/d3/__stories__/bar-y/Playground.stories.tsx index 760e4f1e..dac51a43 100644 --- a/src/plugins/d3/__stories__/bar-y/Playground.stories.tsx +++ b/src/plugins/d3/__stories__/bar-y/Playground.stories.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import {action} from '@storybook/addon-actions'; import {StoryObj} from '@storybook/react'; import {Button} from '@gravity-ui/uikit'; import {settings} from '../../../../libs'; diff --git a/src/plugins/d3/__stories__/line/Playground.stories.tsx b/src/plugins/d3/__stories__/line/Playground.stories.tsx index d6963164..b53a5fb7 100644 --- a/src/plugins/d3/__stories__/line/Playground.stories.tsx +++ b/src/plugins/d3/__stories__/line/Playground.stories.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import {action} from '@storybook/addon-actions'; import {StoryObj} from '@storybook/react'; import {Button} from '@gravity-ui/uikit'; import {settings} from '../../../../libs'; diff --git a/src/plugins/d3/__stories__/pie/Playground.stories.tsx b/src/plugins/d3/__stories__/pie/Playground.stories.tsx index ca50e719..aec6bedb 100644 --- a/src/plugins/d3/__stories__/pie/Playground.stories.tsx +++ b/src/plugins/d3/__stories__/pie/Playground.stories.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import {action} from '@storybook/addon-actions'; import {StoryObj} from '@storybook/react'; import {Button} from '@gravity-ui/uikit'; import {settings} from '../../../../libs'; diff --git a/src/plugins/d3/__stories__/treemap/Playground.stories.tsx b/src/plugins/d3/__stories__/treemap/Playground.stories.tsx index 3d5cea15..922cd58e 100644 --- a/src/plugins/d3/__stories__/treemap/Playground.stories.tsx +++ b/src/plugins/d3/__stories__/treemap/Playground.stories.tsx @@ -1,9 +1,10 @@ import React from 'react'; +import {action} from '@storybook/addon-actions'; import {StoryObj} from '@storybook/react'; import {Button} from '@gravity-ui/uikit'; import {settings} from '../../../../libs'; import {ChartKit} from '../../../../components/ChartKit'; -import type {ChartKitRef} from '../../../../types'; +import type {ChartKitRef, TreemapSeries} from '../../../../types'; import type {ChartKitWidgetData} from '../../../../types/widget-data'; import {D3Plugin} from '../..';