From b7d74e30220b5aee7bd22bfef38c9f8bbf3627bb Mon Sep 17 00:00:00 2001 From: piyumaldk Date: Thu, 3 Oct 2024 13:23:43 +0530 Subject: [PATCH 1/2] fix(react): fix the `usePastelColorGenerator` hook public api exposing issue --- packages/react/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index d22be757..d18a118e 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -18,6 +18,7 @@ export * from './components'; export * from './theme'; +export {default as usePastelColorGenerator } from './hooks/use-pastel-color-generator'; export * from './hooks/use-pastel-color-generator'; export {default} from './utils/generate-pastel-color'; export { From f2c0d4f610537e9de2c5b7af16ab1409ae9445f4 Mon Sep 17 00:00:00 2001 From: piyumaldk Date: Thu, 3 Oct 2024 14:20:27 +0530 Subject: [PATCH 2/2] fix linter issue --- packages/react/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index d18a118e..70ee6b9e 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -18,7 +18,7 @@ export * from './components'; export * from './theme'; -export {default as usePastelColorGenerator } from './hooks/use-pastel-color-generator'; +export {default as usePastelColorGenerator} from './hooks/use-pastel-color-generator'; export * from './hooks/use-pastel-color-generator'; export {default} from './utils/generate-pastel-color'; export {