Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/polite-badgers-film.md

This file was deleted.

2 changes: 1 addition & 1 deletion core/vibes/soul/primitives/compare-drawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ interface CompareDrawerContext {
maxItems?: number;
}

const CompareDrawerContext = createContext<CompareDrawerContext>({
export const CompareDrawerContext = createContext<CompareDrawerContext>({
optimisticItems: [],
// eslint-disable-next-line @typescript-eslint/no-empty-function
setOptimisticItems: () => {},
Expand Down
2 changes: 1 addition & 1 deletion core/vibes/soul/primitives/cursor-pagination/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function SkeletonLink({ children }: { children: React.ReactNode }) {
);
}

function CursorPaginationSkeleton() {
export function CursorPaginationSkeleton() {
return (
<div className="flex w-full justify-center bg-background py-10 text-xs">
<div className="flex gap-2">
Expand Down
2 changes: 1 addition & 1 deletion core/vibes/soul/sections/blog-post-content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function BlogPostBodySkeleton() {
);
}

function BlogPostContentSkeleton() {
export function BlogPostContentSkeleton() {
return (
<div>
<div className="mx-auto w-full max-w-4xl pb-8 @2xl:pb-12 @4xl:pb-16">
Expand Down
4 changes: 2 additions & 2 deletions core/vibes/soul/sections/blog-post-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function BlogPostList({
);
}

function BlogPostListSkeleton({
export function BlogPostListSkeleton({
className,
placeholderCount = 6,
}: Pick<Props, 'className' | 'placeholderCount'>) {
Expand All @@ -68,7 +68,7 @@ function BlogPostListSkeleton({
);
}

function BlogPostListEmptyState({
export function BlogPostListEmptyState({
className,
placeholderCount = 6,
emptyStateTitle,
Expand Down
2 changes: 1 addition & 1 deletion core/vibes/soul/sections/breadcrumbs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export function BreadcrumbsSkeleton({ className }: Pick<BreadcrumbsProps, 'class
);
}

function BreadCrumbEmptyState({ className }: Pick<BreadcrumbsProps, 'className'>) {
export function BreadCrumbEmptyState({ className }: Pick<BreadcrumbsProps, 'className'>) {
return (
<Skeleton.Root className={className}>
<div className={clsx('min-h-[1lh]', className)} />
Expand Down
4 changes: 2 additions & 2 deletions core/vibes/soul/sections/compare-section/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export function CompareSection({
);
}

function CompareSectionSkeleton({
export function CompareSectionSkeleton({
className,
title = 'Compare products',
placeholderCount = 4,
Expand Down Expand Up @@ -189,7 +189,7 @@ function CompareSectionSkeleton({
);
}

function CompareSectionEmptyState({
export function CompareSectionEmptyState({
className,
emptyStateTitle,
emptyStateSubtitle,
Expand Down
4 changes: 2 additions & 2 deletions core/vibes/soul/sections/product-carousel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export function ProductCarousel({
);
}

function ProductsCarouselSkeleton({
export function ProductsCarouselSkeleton({
className,
placeholderCount = 8,
hideOverflow,
Expand Down Expand Up @@ -163,7 +163,7 @@ function ProductsCarouselSkeleton({
);
}

function ProductsCarouselEmptyState({
export function ProductsCarouselEmptyState({
className,
placeholderCount = 8,
emptyStateTitle,
Expand Down
2 changes: 1 addition & 1 deletion core/vibes/soul/sections/product-detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ function ProductAccordionsSkeleton() {
);
}

function ProductDetailSkeleton() {
export function ProductDetailSkeleton() {
return (
<Skeleton.Root
className="grid grid-cols-1 items-stretch gap-x-6 gap-y-8 group-has-[[data-pending]]/product-detail:animate-pulse @2xl:grid-cols-2 @5xl:gap-x-12"
Expand Down
4 changes: 2 additions & 2 deletions core/vibes/soul/sections/product-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function ProductList({
);
}

function ProductListSkeleton({
export function ProductListSkeleton({
className,
placeholderCount = 8,
}: Pick<ProductListProps, 'className' | 'placeholderCount'>) {
Expand All @@ -145,7 +145,7 @@ function ProductListSkeleton({
);
}

function ProductListEmptyState({
export function ProductListEmptyState({
className,
placeholderCount = 8,
emptyStateTitle,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function FiltersPanel({
);
}

function FiltersPanelInner({
export function FiltersPanelInner({
className,
filters: streamableFilters,
resetFiltersLabel: streamableResetFiltersLabel,
Expand Down Expand Up @@ -301,7 +301,7 @@ function FiltersPanelInner({
);
}

function FiltersSkeleton() {
export function FiltersSkeleton() {
return (
<div className="space-y-5">
<AccordionSkeleton>
Expand Down
4 changes: 2 additions & 2 deletions core/vibes/soul/sections/reviews/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export function Reviews({
);
}

function ReviewsEmptyState({
export function ReviewsEmptyState({
message = 'No reviews have been added for this product',
reviewsLabel = 'Reviews',
}: {
Expand Down Expand Up @@ -141,7 +141,7 @@ function ReviewsEmptyState({
);
}

function ReviewsSkeleton({ reviewsLabel = 'Reviews' }: { reviewsLabel?: string }) {
export function ReviewsSkeleton({ reviewsLabel = 'Reviews' }: { reviewsLabel?: string }) {
return (
<StickySidebarLayout
sidebar={
Expand Down
Loading