Skip to content

Commit b4b8e10

Browse files
Merge pull request #9 from FlippoSoftware/package_headless_ui_dev
Package headless UI dev
2 parents e419054 + b168546 commit b4b8e10

733 files changed

Lines changed: 35194 additions & 17118 deletions

File tree

Some content is hidden

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

frontend/.storybook/main.ts

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
import type { StorybookConfig } from '@storybook/react-vite';
22

33
const config: StorybookConfig = {
4-
addons: [
5-
'@storybook/addon-onboarding',
6-
'@storybook/addon-essentials',
7-
'@chromatic-com/storybook',
8-
'@storybook/addon-interactions',
9-
'storybook-react-i18next'
10-
],
11-
framework: {
12-
name: '@storybook/react-vite',
13-
options: {}
14-
},
15-
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)']
4+
addons: [
5+
'@storybook/addon-onboarding',
6+
'@storybook/addon-essentials',
7+
'@chromatic-com/storybook',
8+
'@storybook/addon-interactions',
9+
'storybook-react-i18next'
10+
],
11+
framework: {
12+
name: '@storybook/react-vite',
13+
options: {}
14+
},
15+
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
16+
typescript: {
17+
// Disable react-docgen to avoid errors with namespace exports and ObjectMethod patterns
18+
reactDocgen: false
19+
}
1620
};
1721
export default config;

frontend/src/modules/auth/view/ui/Auth/Auth.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use client';
1+
22

33
import type { JSX } from 'react';
44
import type { TAuthContent } from '../../../types/TAuthContent';

frontend/src/modules/auth/view/ui/Auth/AuthorizationMethodContent/AuthorizationMethodContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use client';
1+
22

33
import type { TAuthProvider } from '@shared/query';
44
import type { ChangeEvent } from 'react';

frontend/src/modules/auth/view/ui/Auth/InputUsernameContent/InputUsernameContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use client';
1+
22

33
import type { ChangeEvent } from 'react';
44
import { LoadingButton } from '@shared/ui/Button';

frontend/src/modules/auth/view/ui/Auth/VerificationCodeContent/VerificationCodeContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use client';
1+
22

33
import { ArrowIcon, EmailIcon } from '@shared/icons';
44

frontend/src/modules/auth/view/ui/AuthCallback/AuthCallback.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use client';
1+
22

33
import type { JSX } from 'react';
44
import { FadeTransition } from '@shared/ui/FadeTransition';

frontend/src/modules/auth/vm/useAuthorizationMethod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use client';
1+
22

33
import { useUnit } from 'effector-react';
44
import { useEffect, useRef } from 'react';

frontend/src/modules/auth/vm/useVerificationCode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use client';
1+
22

33
import type { TVerifyInputHandler } from '@shared/ui/Input';
44
import { useUnit } from 'effector-react';

frontend/src/shared/ui/Dialog/ui/Dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use client';
1+
22

33
import type { TDialogProps } from '../types/TDialogProps';
44
import clsx from 'clsx';

frontend/src/shared/ui/Input/InputVerificationCode/ui/InputVerificationCode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use client';
1+
22

33
import type { ChangeEvent, ClipboardEvent, KeyboardEvent, MouseEvent } from 'react';
44

0 commit comments

Comments
 (0)