From 667dfe3d8a102a1344744284bd3542c464eaac45 Mon Sep 17 00:00:00 2001 From: Lilith Date: Fri, 23 Jan 2026 09:21:38 -0800 Subject: [PATCH] =?UTF-8?q?chore(src):=20=F0=9F=94=A7=20Update=20TypeScrip?= =?UTF-8?q?t=20files=20in=20src=20directory=20to=20maintain=20consistency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- features/profile/frontend-app/src/App.tsx | 3 ++- features/profile/frontend-app/src/pages/ProfileEditorPage.tsx | 3 ++- features/profile/plugin-profile-editor/src/CompletionBar.tsx | 3 ++- features/profile/plugin-profile-editor/src/FieldRenderer.tsx | 3 ++- features/profile/plugin-profile-editor/src/ProfileEditor.tsx | 3 ++- features/profile/plugin-profile-editor/src/TabNavigation.tsx | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/features/profile/frontend-app/src/App.tsx b/features/profile/frontend-app/src/App.tsx index b6b580fed..6d8942ef9 100755 --- a/features/profile/frontend-app/src/App.tsx +++ b/features/profile/frontend-app/src/App.tsx @@ -1,4 +1,5 @@ -import React from 'react'; +/** @jsxImportSource react */ + import { DeveloperFab } from '@lilith/ui-developer-fab'; import { Routes, Route, Navigate } from '@lilith/ui-router'; diff --git a/features/profile/frontend-app/src/pages/ProfileEditorPage.tsx b/features/profile/frontend-app/src/pages/ProfileEditorPage.tsx index 31e0765ac..fba834e9f 100755 --- a/features/profile/frontend-app/src/pages/ProfileEditorPage.tsx +++ b/features/profile/frontend-app/src/pages/ProfileEditorPage.tsx @@ -1,4 +1,5 @@ -import React from 'react'; +/** @jsxImportSource react */ + import { ProfileAttributeEditor } from '@lilith/attributes-admin'; import { useNavigate } from '@lilith/ui-router'; diff --git a/features/profile/plugin-profile-editor/src/CompletionBar.tsx b/features/profile/plugin-profile-editor/src/CompletionBar.tsx index d510272ee..4fba36f3e 100755 --- a/features/profile/plugin-profile-editor/src/CompletionBar.tsx +++ b/features/profile/plugin-profile-editor/src/CompletionBar.tsx @@ -4,7 +4,8 @@ * Displays profile completion percentage based on critical fields. */ -import React from 'react'; +/** @jsxImportSource react */ + import { CompletionBar as StyledCompletionBar, CompletionText, diff --git a/features/profile/plugin-profile-editor/src/FieldRenderer.tsx b/features/profile/plugin-profile-editor/src/FieldRenderer.tsx index 21be09835..1b446d466 100755 --- a/features/profile/plugin-profile-editor/src/FieldRenderer.tsx +++ b/features/profile/plugin-profile-editor/src/FieldRenderer.tsx @@ -5,7 +5,8 @@ * Handles all field types: text, email, number, textarea, select, multiselect, checkbox, radio. */ -import React from 'react'; +/** @jsxImportSource react */ + import type { ProfileFieldConfig } from './types'; import { FieldGroup, diff --git a/features/profile/plugin-profile-editor/src/ProfileEditor.tsx b/features/profile/plugin-profile-editor/src/ProfileEditor.tsx index b35af36bc..1f7073253 100755 --- a/features/profile/plugin-profile-editor/src/ProfileEditor.tsx +++ b/features/profile/plugin-profile-editor/src/ProfileEditor.tsx @@ -12,7 +12,8 @@ * - useProfileForm.ts: Form state management */ -import React from 'react'; +/** @jsxImportSource react */ + import type { ProfileEditorProps } from './types'; import { useProfileForm } from './useProfileForm'; import { FieldRenderer } from './FieldRenderer'; diff --git a/features/profile/plugin-profile-editor/src/TabNavigation.tsx b/features/profile/plugin-profile-editor/src/TabNavigation.tsx index 326712904..f7eb70b46 100755 --- a/features/profile/plugin-profile-editor/src/TabNavigation.tsx +++ b/features/profile/plugin-profile-editor/src/TabNavigation.tsx @@ -4,7 +4,8 @@ * Handles tabbed navigation for profile editor sections. */ -import React from 'react'; +/** @jsxImportSource react */ + import type { ProfileTabConfig } from './types'; import { TabList, TabButton, TabIcon } from './styles';