Skip to content

Commit e9f842f

Browse files
author
Kubit
committed
Delete import from barrel files
1 parent 8bc1977 commit e9f842f

File tree

1,701 files changed

+6507
-5755
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,701 files changed

+6507
-5755
lines changed

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kubit-ui-web/react-components",
3-
"version": "1.15.0",
3+
"version": "1.16.0",
44
"description": "Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience",
55
"author": {
66
"name": "Kubit",
@@ -93,16 +93,16 @@
9393
"@eslint/compat": "^1.2.2",
9494
"@eslint/eslintrc": "^3.1.0",
9595
"@eslint/js": "^9.14.0",
96-
"@storybook/addon-a11y": "^8.4.1",
97-
"@storybook/addon-controls": "^8.4.1",
96+
"@storybook/addon-a11y": "^8.4.2",
97+
"@storybook/addon-controls": "^8.4.2",
9898
"@storybook/addon-coverage": "^1.0.4",
99-
"@storybook/addon-essentials": "^8.4.1",
100-
"@storybook/addon-interactions": "^8.4.1",
101-
"@storybook/addon-links": "^8.4.1",
102-
"@storybook/addon-themes": "^8.4.1",
103-
"@storybook/blocks": "^8.4.1",
104-
"@storybook/react": "^8.4.1",
105-
"@storybook/react-vite": "^8.4.1",
99+
"@storybook/addon-essentials": "^8.4.2",
100+
"@storybook/addon-interactions": "^8.4.2",
101+
"@storybook/addon-links": "^8.4.2",
102+
"@storybook/addon-themes": "^8.4.2",
103+
"@storybook/blocks": "^8.4.2",
104+
"@storybook/react": "^8.4.2",
105+
"@storybook/react-vite": "^8.4.2",
106106
"@testing-library/jest-dom": "^6.6.3",
107107
"@testing-library/react": "^16.0.1",
108108
"@testing-library/react-hooks": "^8.0.1",
@@ -115,8 +115,8 @@
115115
"@types/react-dom": "^18.3.1",
116116
"@types/styled-components": "^5.1.34",
117117
"@types/ungap__structured-clone": "^1.2.0",
118-
"@typescript-eslint/eslint-plugin": "^8.12.2",
119-
"@typescript-eslint/parser": "^8.12.2",
118+
"@typescript-eslint/eslint-plugin": "^8.13.0",
119+
"@typescript-eslint/parser": "^8.13.0",
120120
"@ungap/structured-clone": "^1.2.0",
121121
"@vitejs/plugin-react": "^4.3.3",
122122
"babel-jest": "^29.7.0",
@@ -126,18 +126,18 @@
126126
"eslint-config-standard-with-typescript": "^43.0.1",
127127
"eslint-import-resolver-typescript": "^3.6.3",
128128
"eslint-plugin-import": "^2.31.0",
129-
"eslint-plugin-jest": "^28.8.3",
129+
"eslint-plugin-jest": "^28.9.0",
130130
"eslint-plugin-jsx-a11y": "^6.10.2",
131-
"eslint-plugin-n": "^17.12.0",
131+
"eslint-plugin-n": "^17.13.1",
132132
"eslint-plugin-node": "^11.1.0",
133133
"eslint-plugin-prettier": "5.2.1",
134134
"eslint-plugin-promise": "^7.1.0",
135135
"eslint-plugin-react": "^7.37.2",
136136
"eslint-plugin-react-hooks": "^5.0.0",
137137
"eslint-plugin-react-refresh": "^0.4.14",
138-
"eslint-plugin-storybook": "^0.10.2",
138+
"eslint-plugin-storybook": "^0.11.0",
139139
"eslint-plugin-unused-imports": "^4.1.4",
140-
"globals": "^15.11.0",
140+
"globals": "^15.12.0",
141141
"gts": "^6.0.2",
142142
"html-validate": "^8.24.2",
143143
"jest": "^29.7.0",
@@ -151,7 +151,7 @@
151151
"prettier": "^3.3.3",
152152
"react-transition-group": "^4.4.5",
153153
"sort-imports": "^1.1.0",
154-
"storybook": "^8.4.1",
154+
"storybook": "^8.4.2",
155155
"ts-jest": "^29.2.5",
156156
"tsc-alias": "1.8.10",
157157
"typedoc": "^0.26.11",

src/assets/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/assets/storybook/icons/icons.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import ICON_CHECKMARK_THICK from './checkmark_thick.svg';
2+
import ICON_CHEVRON_DOWN from './icon_chevron_down.svg';
3+
import ICON_CHEVRON_LEFT from './icon_chevron_left.svg';
4+
import ICON_CHEVRON_RIGHT from './icon_chevron_right.svg';
5+
import ICON_CHEVRON_UP from './icon_chevron_up.svg';
6+
import ICON_DRAG from './icon_ds_handle.svg';
7+
import ICON_GHOST from './icon_ghost.svg';
8+
import ICON_PLACEHOLDER from './icon_placeholder.svg';
9+
import ICON_CLOSE from './icon_x_close.svg';
10+
import ICON_PLAY_BUTTON from './play_button.svg';
11+
import ICON_REPLACE from './replace.svg';
12+
13+
export const ICONS = {
14+
NO_ICON: null,
15+
ICON_CHEVRON_UP,
16+
ICON_CHEVRON_DOWN,
17+
ICON_GHOST,
18+
ICON_PLACEHOLDER,
19+
ICON_CHEVRON_LEFT,
20+
ICON_CHEVRON_RIGHT,
21+
ICON_CLOSE,
22+
ICON_PLAY_BUTTON,
23+
ICON_CHECKMARK_THICK,
24+
ICON_REPLACE,
25+
ICON_DRAG,
26+
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import ILLUSTRATION from './illustration.svg';
2+
3+
export const ILLUSTRATIONS = {
4+
NO_ILLUSTRATION: null,
5+
ILLUSTRATION,
6+
};

src/assets/storybook/images/images.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import IMAGE_1 from './image_1.png';
2+
import IMAGE_2 from './image_2.png';
3+
import IMAGE_3 from './image_3.png';
4+
import IMAGE_4 from './image_4.png';
5+
6+
export const IMAGES = {
7+
NO_IMAGE: null,
8+
IMAGE_1,
9+
IMAGE_2,
10+
IMAGE_3,
11+
IMAGE_4,
12+
};

src/assets/storybook/index.ts

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/components/accordion/__tests__/accordion.test.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
import userEvent from '@testing-library/user-event';
22

33
import { fireEvent } from '@testing-library/react';
4-
import * as React from 'react';
4+
import React from 'react';
55

66
import 'jest-styled-components';
77

88
import { axe } from 'jest-axe';
99

10-
import { FooterPositionType } from '@/components/footer';
1110
import { Link } from '@/components/link/link';
12-
import { TextComponentType } from '@/components/text';
11+
import { renderProvider } from '@/tests/renderProvider/renderProvider.utility';
1312

14-
import { renderProvider } from '../../../tests/renderProvider/renderProvider.utility';
15-
import { Accordion, AccordionControlled } from '../index';
13+
import { FooterPositionType } from '../../footer/types/position';
14+
import { TextComponentType } from '../../text/types/component';
15+
import { AccordionControlled } from '../accordionControlled';
16+
import { AccordionUnControlled as Accordion } from '../accordionUnControlled';
1617

1718
const commonAccordionUncontrolledProps = {
1819
headerRightContent: 'Right content',

src/components/accordion/accordion.styled.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import styled, { css } from 'styled-components';
22

3-
import { CommonStyleType } from '@/types/styles';
43
import { getStyles, getTypographyStyles } from '@/utils/getStyles/getStyles';
54

6-
import { LineSeparatorLinePropsStylesType, LineSeparatorPositionType } from '../lineSeparator';
5+
import { CommonStyleType } from '../../types/styles/commonStyle';
6+
import {
7+
LineSeparatorLinePropsStylesType,
8+
LineSeparatorPositionType,
9+
} from '../lineSeparator/types/lineSeparatorTheme';
710

811
export interface IAccordionStyles {
912
styles?: CommonStyleType;

src/components/accordion/accordionControlled.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
import * as React from 'react';
1+
import React from 'react';
22

3-
import { STYLES_NAME } from '@/constants';
3+
import { STYLES_NAME } from '@/constants/stylesName/stylesName';
44
import { useStyles } from '@/hooks/useStyles/useStyles';
5-
import { ErrorBoundary, FallbackComponent } from '@/provider/errorBoundary';
65

7-
import { LineSeparatorLinePropsStylesType } from '../lineSeparator';
6+
import { ErrorBoundary } from '../../provider/errorBoundary/errorBoundary';
7+
import { FallbackComponent } from '../../provider/errorBoundary/fallbackComponent';
8+
import { LineSeparatorLinePropsStylesType } from '../lineSeparator/types/lineSeparatorTheme';
89
import { AccordionStandAlone } from './accordionStandAlone';
9-
import type { IAccordionControlled, IAccordionStandAlone } from './types';
10+
import { IAccordionControlled, IAccordionStandAlone } from './types/accordion';
1011
import { AccordionPropsStylesType } from './types/accordionTheme';
1112

1213
const AccordionControlledComponent = React.forwardRef(

0 commit comments

Comments
 (0)