From 98b93be20283408ceca79282c1219e7b3a3d3f20 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Tue, 11 Jun 2024 23:03:46 +0100 Subject: [PATCH] Refactor on d.ts --- packages/core/package.json | 4 +++- .../{primevue/src/ts-helpers.d.ts => core/src/index.d.ts} | 0 packages/core/tsconfig.json | 2 +- packages/icons/src/angledoubledown/index.d.ts | 4 ++-- packages/icons/src/angledoubleleft/index.d.ts | 4 ++-- packages/icons/src/angledoubleright/index.d.ts | 4 ++-- packages/icons/src/angledoubleup/index.d.ts | 4 ++-- packages/icons/src/angledown/index.d.ts | 4 ++-- packages/icons/src/angleleft/index.d.ts | 4 ++-- packages/icons/src/angleright/index.d.ts | 4 ++-- packages/icons/src/angleup/index.d.ts | 4 ++-- packages/icons/src/arrowdown/index.d.ts | 4 ++-- packages/icons/src/arrowup/index.d.ts | 4 ++-- packages/icons/src/ban/index.d.ts | 4 ++-- packages/icons/src/bars/index.d.ts | 4 ++-- packages/icons/src/blank/index.d.ts | 4 ++-- packages/icons/src/calendar/index.d.ts | 4 ++-- packages/icons/src/check/index.d.ts | 4 ++-- packages/icons/src/chevrondown/index.d.ts | 4 ++-- packages/icons/src/chevronleft/index.d.ts | 4 ++-- packages/icons/src/chevronright/index.d.ts | 4 ++-- packages/icons/src/chevronup/index.d.ts | 4 ++-- packages/icons/src/exclamationtriangle/index.d.ts | 4 ++-- packages/icons/src/eye/index.d.ts | 4 ++-- packages/icons/src/eyeslash/index.d.ts | 4 ++-- packages/icons/src/filter/index.d.ts | 4 ++-- packages/icons/src/filterslash/index.d.ts | 4 ++-- packages/icons/src/index.d.ts | 2 +- packages/icons/src/infocircle/index.d.ts | 4 ++-- packages/icons/src/minus/index.d.ts | 4 ++-- packages/icons/src/pencil/index.d.ts | 4 ++-- packages/icons/src/plus/index.d.ts | 4 ++-- packages/icons/src/refresh/index.d.ts | 4 ++-- packages/icons/src/search/index.d.ts | 4 ++-- packages/icons/src/searchminus/index.d.ts | 4 ++-- packages/icons/src/searchplus/index.d.ts | 4 ++-- packages/icons/src/sortalt/index.d.ts | 4 ++-- packages/icons/src/sortamountdown/index.d.ts | 4 ++-- packages/icons/src/sortamountupalt/index.d.ts | 4 ++-- packages/icons/src/spinner/index.d.ts | 4 ++-- packages/icons/src/star/index.d.ts | 4 ++-- packages/icons/src/starfill/index.d.ts | 4 ++-- packages/icons/src/thlarge/index.d.ts | 4 ++-- packages/icons/src/times/index.d.ts | 4 ++-- packages/icons/src/timescircle/index.d.ts | 4 ++-- packages/icons/src/trash/index.d.ts | 4 ++-- packages/icons/src/undo/index.d.ts | 4 ++-- packages/icons/src/upload/index.d.ts | 4 ++-- packages/icons/src/windowmaximize/index.d.ts | 4 ++-- packages/icons/src/windowminimize/index.d.ts | 4 ++-- 50 files changed, 97 insertions(+), 95 deletions(-) rename packages/{primevue/src/ts-helpers.d.ts => core/src/index.d.ts} (100%) diff --git a/packages/core/package.json b/packages/core/package.json index 58bc4f213..fe934ce6c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -26,7 +26,9 @@ "./usestyle": "./src/usestyle/UseStyle.js", "./utils": "./src/utils/Utils.js" }, + "types": "./src/index.d.ts", "publishConfig": { + "types": "./index.d.ts", "exports": { "./*": { "types": "./*/index.d.ts", @@ -52,4 +54,4 @@ "engines": { "node": ">=12.11.0" } -} \ No newline at end of file +} diff --git a/packages/primevue/src/ts-helpers.d.ts b/packages/core/src/index.d.ts similarity index 100% rename from packages/primevue/src/ts-helpers.d.ts rename to packages/core/src/index.d.ts diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 70c435f40..76795a0f6 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -17,7 +17,7 @@ "baseUrl": ".", "paths": { "@primevue/core/*": ["./src/*"], - "primevue/*": ["../../packages/primevue/src/*"] + "primevue/themes/*": ["../../packages/themes/src/*"] } }, "include": ["**/*.ts", "src/*"], diff --git a/packages/icons/src/angledoubledown/index.d.ts b/packages/icons/src/angledoubledown/index.d.ts index 40d6cc069..ac8540070 100644 --- a/packages/icons/src/angledoubledown/index.d.ts +++ b/packages/icons/src/angledoubledown/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class AngleDoubleDownIcon extends Icon {} diff --git a/packages/icons/src/angledoubleleft/index.d.ts b/packages/icons/src/angledoubleleft/index.d.ts index 3a1439068..91122a025 100644 --- a/packages/icons/src/angledoubleleft/index.d.ts +++ b/packages/icons/src/angledoubleleft/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class AngleDoubleLeftIcon extends Icon {} diff --git a/packages/icons/src/angledoubleright/index.d.ts b/packages/icons/src/angledoubleright/index.d.ts index 96fc8dd73..4d30dd860 100644 --- a/packages/icons/src/angledoubleright/index.d.ts +++ b/packages/icons/src/angledoubleright/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class AngleDoubleRightIcon extends Icon {} diff --git a/packages/icons/src/angledoubleup/index.d.ts b/packages/icons/src/angledoubleup/index.d.ts index 68d4682e4..f51416c19 100644 --- a/packages/icons/src/angledoubleup/index.d.ts +++ b/packages/icons/src/angledoubleup/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class AngleDoubleUpIcon extends Icon {} diff --git a/packages/icons/src/angledown/index.d.ts b/packages/icons/src/angledown/index.d.ts index d34ed13da..728af1f69 100644 --- a/packages/icons/src/angledown/index.d.ts +++ b/packages/icons/src/angledown/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class AngleDownIcon extends Icon {} diff --git a/packages/icons/src/angleleft/index.d.ts b/packages/icons/src/angleleft/index.d.ts index 1852005ba..d08fe40a0 100644 --- a/packages/icons/src/angleleft/index.d.ts +++ b/packages/icons/src/angleleft/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class AngleLeftIcon extends Icon {} diff --git a/packages/icons/src/angleright/index.d.ts b/packages/icons/src/angleright/index.d.ts index c6b1232ab..0fc4c7c2e 100644 --- a/packages/icons/src/angleright/index.d.ts +++ b/packages/icons/src/angleright/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class AngleRightIcon extends Icon {} diff --git a/packages/icons/src/angleup/index.d.ts b/packages/icons/src/angleup/index.d.ts index fbef9eddf..dacf6e08b 100644 --- a/packages/icons/src/angleup/index.d.ts +++ b/packages/icons/src/angleup/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class AngleUpIcon extends Icon {} diff --git a/packages/icons/src/arrowdown/index.d.ts b/packages/icons/src/arrowdown/index.d.ts index 54a8bcd84..436a5ffa5 100644 --- a/packages/icons/src/arrowdown/index.d.ts +++ b/packages/icons/src/arrowdown/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class ArrowDownIcon extends Icon {} diff --git a/packages/icons/src/arrowup/index.d.ts b/packages/icons/src/arrowup/index.d.ts index d4dfabb2b..99271ff4e 100644 --- a/packages/icons/src/arrowup/index.d.ts +++ b/packages/icons/src/arrowup/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class ArrowUpIcon extends Icon {} diff --git a/packages/icons/src/ban/index.d.ts b/packages/icons/src/ban/index.d.ts index ae9aab564..9945cfe1e 100644 --- a/packages/icons/src/ban/index.d.ts +++ b/packages/icons/src/ban/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class BanIcon extends Icon {} diff --git a/packages/icons/src/bars/index.d.ts b/packages/icons/src/bars/index.d.ts index c84222ff5..617467c38 100644 --- a/packages/icons/src/bars/index.d.ts +++ b/packages/icons/src/bars/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class BarsIcon extends Icon {} diff --git a/packages/icons/src/blank/index.d.ts b/packages/icons/src/blank/index.d.ts index b90c31f9a..0e5608d57 100644 --- a/packages/icons/src/blank/index.d.ts +++ b/packages/icons/src/blank/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class BlankIcon extends Icon {} diff --git a/packages/icons/src/calendar/index.d.ts b/packages/icons/src/calendar/index.d.ts index 88922e17c..686c677e3 100644 --- a/packages/icons/src/calendar/index.d.ts +++ b/packages/icons/src/calendar/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class CalendarIcon extends Icon {} diff --git a/packages/icons/src/check/index.d.ts b/packages/icons/src/check/index.d.ts index 0c4400fc9..f2f2aeb6c 100644 --- a/packages/icons/src/check/index.d.ts +++ b/packages/icons/src/check/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class CheckIcon extends Icon {} diff --git a/packages/icons/src/chevrondown/index.d.ts b/packages/icons/src/chevrondown/index.d.ts index a3b769206..9976b577d 100644 --- a/packages/icons/src/chevrondown/index.d.ts +++ b/packages/icons/src/chevrondown/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class ChevronDownIcon extends Icon {} diff --git a/packages/icons/src/chevronleft/index.d.ts b/packages/icons/src/chevronleft/index.d.ts index f5b5b399f..ea67b744e 100644 --- a/packages/icons/src/chevronleft/index.d.ts +++ b/packages/icons/src/chevronleft/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class ChevronLeftIcon extends Icon {} diff --git a/packages/icons/src/chevronright/index.d.ts b/packages/icons/src/chevronright/index.d.ts index 368e5fad1..e7f61ed6b 100644 --- a/packages/icons/src/chevronright/index.d.ts +++ b/packages/icons/src/chevronright/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class ChevronRightIcon extends Icon {} diff --git a/packages/icons/src/chevronup/index.d.ts b/packages/icons/src/chevronup/index.d.ts index 1c8f42a26..951b043cb 100644 --- a/packages/icons/src/chevronup/index.d.ts +++ b/packages/icons/src/chevronup/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class ChevronUpIcon extends Icon {} diff --git a/packages/icons/src/exclamationtriangle/index.d.ts b/packages/icons/src/exclamationtriangle/index.d.ts index 5537e1feb..36a83a99c 100644 --- a/packages/icons/src/exclamationtriangle/index.d.ts +++ b/packages/icons/src/exclamationtriangle/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class ExclamationTriangleIcon extends Icon {} diff --git a/packages/icons/src/eye/index.d.ts b/packages/icons/src/eye/index.d.ts index 7726fdd34..652c78256 100644 --- a/packages/icons/src/eye/index.d.ts +++ b/packages/icons/src/eye/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class EyeIcon extends Icon {} diff --git a/packages/icons/src/eyeslash/index.d.ts b/packages/icons/src/eyeslash/index.d.ts index 0ed07490e..de4a9087e 100644 --- a/packages/icons/src/eyeslash/index.d.ts +++ b/packages/icons/src/eyeslash/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class EyeSlashIcon extends Icon {} diff --git a/packages/icons/src/filter/index.d.ts b/packages/icons/src/filter/index.d.ts index 54ced5e42..5cadee7b5 100644 --- a/packages/icons/src/filter/index.d.ts +++ b/packages/icons/src/filter/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class FilterIcon extends Icon {} diff --git a/packages/icons/src/filterslash/index.d.ts b/packages/icons/src/filterslash/index.d.ts index aba7ac29d..681102bd8 100644 --- a/packages/icons/src/filterslash/index.d.ts +++ b/packages/icons/src/filterslash/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class FilterSlashIcon extends Icon {} diff --git a/packages/icons/src/index.d.ts b/packages/icons/src/index.d.ts index 91d776646..3e24927b2 100644 --- a/packages/icons/src/index.d.ts +++ b/packages/icons/src/index.d.ts @@ -1,4 +1,4 @@ -import { DefineComponent, EmitFn } from '../../primevue/src/ts-helpers'; +import type { DefineComponent, EmitFn } from '@primevue/core'; export interface IconProps { label?: string | undefined; diff --git a/packages/icons/src/infocircle/index.d.ts b/packages/icons/src/infocircle/index.d.ts index 08cdcf270..ea871341f 100644 --- a/packages/icons/src/infocircle/index.d.ts +++ b/packages/icons/src/infocircle/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class InfoCircleIcon extends Icon {} diff --git a/packages/icons/src/minus/index.d.ts b/packages/icons/src/minus/index.d.ts index 76cc96fd1..bc21d49a4 100644 --- a/packages/icons/src/minus/index.d.ts +++ b/packages/icons/src/minus/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class MinusIcon extends Icon {} diff --git a/packages/icons/src/pencil/index.d.ts b/packages/icons/src/pencil/index.d.ts index e9f6cd3d0..c26838f66 100644 --- a/packages/icons/src/pencil/index.d.ts +++ b/packages/icons/src/pencil/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class PencilIcon extends Icon {} diff --git a/packages/icons/src/plus/index.d.ts b/packages/icons/src/plus/index.d.ts index 9eacc183a..c3bde8f7e 100644 --- a/packages/icons/src/plus/index.d.ts +++ b/packages/icons/src/plus/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class PlusIcon extends Icon {} diff --git a/packages/icons/src/refresh/index.d.ts b/packages/icons/src/refresh/index.d.ts index 947fb64fd..331d45472 100644 --- a/packages/icons/src/refresh/index.d.ts +++ b/packages/icons/src/refresh/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class RefreshIcon extends Icon {} diff --git a/packages/icons/src/search/index.d.ts b/packages/icons/src/search/index.d.ts index 440da6604..f7bb8ec15 100644 --- a/packages/icons/src/search/index.d.ts +++ b/packages/icons/src/search/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class SearchIcon extends Icon {} diff --git a/packages/icons/src/searchminus/index.d.ts b/packages/icons/src/searchminus/index.d.ts index ca05ee701..899d9ab30 100644 --- a/packages/icons/src/searchminus/index.d.ts +++ b/packages/icons/src/searchminus/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class SearchMinusIcon extends Icon {} diff --git a/packages/icons/src/searchplus/index.d.ts b/packages/icons/src/searchplus/index.d.ts index 199fdebd7..eed392b9f 100644 --- a/packages/icons/src/searchplus/index.d.ts +++ b/packages/icons/src/searchplus/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class SearchPlusIcon extends Icon {} diff --git a/packages/icons/src/sortalt/index.d.ts b/packages/icons/src/sortalt/index.d.ts index ab1133086..8857e49cb 100644 --- a/packages/icons/src/sortalt/index.d.ts +++ b/packages/icons/src/sortalt/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class SortAltIcon extends Icon {} diff --git a/packages/icons/src/sortamountdown/index.d.ts b/packages/icons/src/sortamountdown/index.d.ts index 34a604ffd..363b875ba 100644 --- a/packages/icons/src/sortamountdown/index.d.ts +++ b/packages/icons/src/sortamountdown/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class SortAmountDownIcon extends Icon {} diff --git a/packages/icons/src/sortamountupalt/index.d.ts b/packages/icons/src/sortamountupalt/index.d.ts index fb0d8f26c..3c0378084 100644 --- a/packages/icons/src/sortamountupalt/index.d.ts +++ b/packages/icons/src/sortamountupalt/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class SortAmountUpAltIcon extends Icon {} diff --git a/packages/icons/src/spinner/index.d.ts b/packages/icons/src/spinner/index.d.ts index 9c98a0dd5..3ea319c8f 100644 --- a/packages/icons/src/spinner/index.d.ts +++ b/packages/icons/src/spinner/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class SpinnerIcon extends Icon {} diff --git a/packages/icons/src/star/index.d.ts b/packages/icons/src/star/index.d.ts index ae3b60ce4..c86d4b725 100644 --- a/packages/icons/src/star/index.d.ts +++ b/packages/icons/src/star/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class StarIcon extends Icon {} diff --git a/packages/icons/src/starfill/index.d.ts b/packages/icons/src/starfill/index.d.ts index d3ee4ca38..0f888bc0f 100644 --- a/packages/icons/src/starfill/index.d.ts +++ b/packages/icons/src/starfill/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class StarFillIcon extends Icon {} diff --git a/packages/icons/src/thlarge/index.d.ts b/packages/icons/src/thlarge/index.d.ts index c8d85a33e..5d14dbaec 100644 --- a/packages/icons/src/thlarge/index.d.ts +++ b/packages/icons/src/thlarge/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class ThLargeIcon extends Icon {} diff --git a/packages/icons/src/times/index.d.ts b/packages/icons/src/times/index.d.ts index bcc08ac6e..494376e8e 100644 --- a/packages/icons/src/times/index.d.ts +++ b/packages/icons/src/times/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class TimesIcon extends Icon {} diff --git a/packages/icons/src/timescircle/index.d.ts b/packages/icons/src/timescircle/index.d.ts index 5bb1d0bd8..33102ff4a 100644 --- a/packages/icons/src/timescircle/index.d.ts +++ b/packages/icons/src/timescircle/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class TimesCircleIcon extends Icon {} diff --git a/packages/icons/src/trash/index.d.ts b/packages/icons/src/trash/index.d.ts index 9e5242789..9301ee15e 100644 --- a/packages/icons/src/trash/index.d.ts +++ b/packages/icons/src/trash/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class TrashIcon extends Icon {} diff --git a/packages/icons/src/undo/index.d.ts b/packages/icons/src/undo/index.d.ts index ca1f89161..b86b617ed 100644 --- a/packages/icons/src/undo/index.d.ts +++ b/packages/icons/src/undo/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class UndoIcon extends Icon {} diff --git a/packages/icons/src/upload/index.d.ts b/packages/icons/src/upload/index.d.ts index ede1f57f2..1a9a906ff 100644 --- a/packages/icons/src/upload/index.d.ts +++ b/packages/icons/src/upload/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class UploadIcon extends Icon {} diff --git a/packages/icons/src/windowmaximize/index.d.ts b/packages/icons/src/windowmaximize/index.d.ts index 691efb43e..6fe66958b 100644 --- a/packages/icons/src/windowmaximize/index.d.ts +++ b/packages/icons/src/windowmaximize/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class WindowMaximizeIcon extends Icon {} diff --git a/packages/icons/src/windowminimize/index.d.ts b/packages/icons/src/windowminimize/index.d.ts index 02f4d09c5..00f03bbd5 100644 --- a/packages/icons/src/windowminimize/index.d.ts +++ b/packages/icons/src/windowminimize/index.d.ts @@ -1,5 +1,5 @@ -import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers'; -import { Icon } from '../../icons/index'; +import type { GlobalComponentConstructor } from '@primevue/core'; +import type { Icon } from '@primevue/icons'; declare class WindowMinimizeIcon extends Icon {}