From 92c89f6e1e1f1f8bbe6a7304e6969f36736cf5c8 Mon Sep 17 00:00:00 2001 From: Segun Adebayo Date: Wed, 15 Nov 2023 17:05:10 +0000 Subject: [PATCH] revert: export type * --- packages/generator/src/engines/file.ts | 2 +- packages/studio/styled-system/css/index.d.ts | 8 ++-- packages/studio/styled-system/jsx/index.d.ts | 46 +++++++++---------- .../studio/styled-system/patterns/index.d.ts | 42 ++++++++--------- .../studio/styled-system/tokens/index.d.ts | 2 +- .../studio/styled-system/types/index.d.ts | 12 ++--- 6 files changed, 56 insertions(+), 56 deletions(-) diff --git a/packages/generator/src/engines/file.ts b/packages/generator/src/engines/file.ts index 4461a7ce1..fb750b474 100644 --- a/packages/generator/src/engines/file.ts +++ b/packages/generator/src/engines/file.ts @@ -27,7 +27,7 @@ export const getFileEngine = (config: UserConfig): PandaFileEngine => { return `export * from '${this.ext(file)}';` }, exportTypeStar(file: string) { - return `export type * from '${this.__extDts(file)}';` + return `export * from '${this.__extDts(file)}';` }, isTypeFile(file: string) { return file.endsWith('.d.ts') || file.endsWith('.d.mts') diff --git a/packages/studio/styled-system/css/index.d.ts b/packages/studio/styled-system/css/index.d.ts index 4912b3f6d..50a581d8e 100644 --- a/packages/studio/styled-system/css/index.d.ts +++ b/packages/studio/styled-system/css/index.d.ts @@ -1,5 +1,5 @@ /* eslint-disable */ -export type * from './css'; -export type * from './cx'; -export type * from './cva'; -export type * from './sva'; \ No newline at end of file +export * from './css'; +export * from './cx'; +export * from './cva'; +export * from './sva'; \ No newline at end of file diff --git a/packages/studio/styled-system/jsx/index.d.ts b/packages/studio/styled-system/jsx/index.d.ts index 8dfdc2e1f..0158c7550 100644 --- a/packages/studio/styled-system/jsx/index.d.ts +++ b/packages/studio/styled-system/jsx/index.d.ts @@ -1,28 +1,28 @@ /* eslint-disable */ -export type * from './factory'; +export * from './factory'; -export type * from './is-valid-prop'; +export * from './is-valid-prop'; -export type * from './box'; -export type * from './flex'; -export type * from './stack'; -export type * from './vstack'; -export type * from './hstack'; -export type * from './spacer'; -export type * from './square'; -export type * from './circle'; -export type * from './center'; -export type * from './link-box'; -export type * from './link-overlay'; -export type * from './aspect-ratio'; -export type * from './grid'; -export type * from './grid-item'; -export type * from './wrap'; -export type * from './container'; -export type * from './divider'; -export type * from './float'; -export type * from './bleed'; -export type * from './visually-hidden'; -export type * from './styled-link'; +export * from './box'; +export * from './flex'; +export * from './stack'; +export * from './vstack'; +export * from './hstack'; +export * from './spacer'; +export * from './square'; +export * from './circle'; +export * from './center'; +export * from './link-box'; +export * from './link-overlay'; +export * from './aspect-ratio'; +export * from './grid'; +export * from './grid-item'; +export * from './wrap'; +export * from './container'; +export * from './divider'; +export * from './float'; +export * from './bleed'; +export * from './visually-hidden'; +export * from './styled-link'; export type { HTMLPandaProps, PandaComponent } from '../types/jsx'; \ No newline at end of file diff --git a/packages/studio/styled-system/patterns/index.d.ts b/packages/studio/styled-system/patterns/index.d.ts index fc9ef75cb..04244a09f 100644 --- a/packages/studio/styled-system/patterns/index.d.ts +++ b/packages/studio/styled-system/patterns/index.d.ts @@ -1,22 +1,22 @@ /* eslint-disable */ -export type * from './box'; -export type * from './flex'; -export type * from './stack'; -export type * from './vstack'; -export type * from './hstack'; -export type * from './spacer'; -export type * from './square'; -export type * from './circle'; -export type * from './center'; -export type * from './link-box'; -export type * from './link-overlay'; -export type * from './aspect-ratio'; -export type * from './grid'; -export type * from './grid-item'; -export type * from './wrap'; -export type * from './container'; -export type * from './divider'; -export type * from './float'; -export type * from './bleed'; -export type * from './visually-hidden'; -export type * from './styled-link'; \ No newline at end of file +export * from './box'; +export * from './flex'; +export * from './stack'; +export * from './vstack'; +export * from './hstack'; +export * from './spacer'; +export * from './square'; +export * from './circle'; +export * from './center'; +export * from './link-box'; +export * from './link-overlay'; +export * from './aspect-ratio'; +export * from './grid'; +export * from './grid-item'; +export * from './wrap'; +export * from './container'; +export * from './divider'; +export * from './float'; +export * from './bleed'; +export * from './visually-hidden'; +export * from './styled-link'; \ No newline at end of file diff --git a/packages/studio/styled-system/tokens/index.d.ts b/packages/studio/styled-system/tokens/index.d.ts index ddec73b02..c398f48f7 100644 --- a/packages/studio/styled-system/tokens/index.d.ts +++ b/packages/studio/styled-system/tokens/index.d.ts @@ -6,4 +6,4 @@ export declare const token: { var: (path: Token, fallback?: string) => string } -export type * from './tokens'; \ No newline at end of file +export * from './tokens'; \ No newline at end of file diff --git a/packages/studio/styled-system/types/index.d.ts b/packages/studio/styled-system/types/index.d.ts index f180a46bc..97b491bb2 100644 --- a/packages/studio/styled-system/types/index.d.ts +++ b/packages/studio/styled-system/types/index.d.ts @@ -1,8 +1,8 @@ /* eslint-disable */ import './global.d.ts' -export type * from './conditions'; -export type * from './pattern'; -export type * from './recipe'; -export type * from './system-types'; -export type * from './jsx'; -export type * from './style-props'; \ No newline at end of file +export * from './conditions'; +export * from './pattern'; +export * from './recipe'; +export * from './system-types'; +export * from './jsx'; +export * from './style-props'; \ No newline at end of file