From 8a5251bcfe37bae742fdcb4a4d31fc0470aff08c Mon Sep 17 00:00:00 2001 From: Krivonos Aleksandr Date: Tue, 26 Dec 2023 17:13:36 +0300 Subject: [PATCH] feat(plasma-hope): remove skeleton component and mixin --- packages/plasma-hope/src/components/Skeleton/index.ts | 2 -- packages/plasma-hope/src/hocs/index.ts | 4 ++-- packages/plasma-hope/src/index.ts | 1 - packages/plasma-hope/src/mixins/index.ts | 2 -- 4 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 packages/plasma-hope/src/components/Skeleton/index.ts diff --git a/packages/plasma-hope/src/components/Skeleton/index.ts b/packages/plasma-hope/src/components/Skeleton/index.ts deleted file mode 100644 index 6a5fcb6dd3..0000000000 --- a/packages/plasma-hope/src/components/Skeleton/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { LineSkeleton, RectSkeleton, TextSkeleton } from '@salutejs/plasma-core'; -export type { LineSkeletonProps, RectSkeletonProps, TextSkeletonProps } from '@salutejs/plasma-core'; diff --git a/packages/plasma-hope/src/hocs/index.ts b/packages/plasma-hope/src/hocs/index.ts index 88c9df83ca..734db9ee55 100644 --- a/packages/plasma-hope/src/hocs/index.ts +++ b/packages/plasma-hope/src/hocs/index.ts @@ -1,2 +1,2 @@ -export { withAutoFocus, withSkeleton } from '@salutejs/plasma-core'; -export type { WithAutoFocusProps, WithSkeletonProps } from '@salutejs/plasma-core'; +export { withAutoFocus } from '@salutejs/plasma-core'; +export type { WithAutoFocusProps } from '@salutejs/plasma-core'; diff --git a/packages/plasma-hope/src/index.ts b/packages/plasma-hope/src/index.ts index 07a0e45d69..a13136f30e 100644 --- a/packages/plasma-hope/src/index.ts +++ b/packages/plasma-hope/src/index.ts @@ -17,7 +17,6 @@ export * from './components/Price'; export * from './components/Progress'; export * from './components/PreviewGallery'; export * from './components/Select'; -export * from './components/Skeleton'; export * from './components/SSRProvider'; export * from './components/Switch'; export * from './components/Slider'; diff --git a/packages/plasma-hope/src/mixins/index.ts b/packages/plasma-hope/src/mixins/index.ts index 295ff16ed4..deea794cc4 100644 --- a/packages/plasma-hope/src/mixins/index.ts +++ b/packages/plasma-hope/src/mixins/index.ts @@ -10,7 +10,6 @@ export { applyNoSelect, applyRoundness, radiuses, - applySkeletonGradient, applyView, views, applyScrollSnap, @@ -26,7 +25,6 @@ export type { MaxLinesProps, RoundnessProps, Roundness, - SkeletonGradientProps, ViewProps, View, ScrollSnapProps,