@digilogiclabs/saas-factory-ui 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +182 -1
- package/dist/index.d.ts +182 -1
- package/dist/index.js +1231 -261
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1272 -302
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4143,6 +4143,187 @@ interface NewsTickerProps<T> {
|
|
|
4143
4143
|
}
|
|
4144
4144
|
declare function NewsTicker<T>({ items, speed, height, variant, className, getKey, getLabel, getHref, getDot, filters, sorts, onItemClick, linkComponent, emptyMessage, }: NewsTickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
4145
4145
|
|
|
4146
|
+
/**
|
|
4147
|
+
* FilterableGrid — A polished, generic grid component with built-in
|
|
4148
|
+
* search, faceted filtering, sorting, category navigation, quick tabs,
|
|
4149
|
+
* grid/list layout toggling, pagination, and stagger animations.
|
|
4150
|
+
*
|
|
4151
|
+
* Self-themed via shadcn-style CSS variables (`--card`, `--primary`,
|
|
4152
|
+
* `--border`, `--muted-foreground`, etc.), so it automatically adapts
|
|
4153
|
+
* to whatever design system the consuming app uses — including
|
|
4154
|
+
* light/dark mode. Each token is also exposed as `--fg-*` so consumers
|
|
4155
|
+
* can override individual values without disturbing their wider theme.
|
|
4156
|
+
*
|
|
4157
|
+
* Card rendering is fully delegated to consumers via `renderCard`, so
|
|
4158
|
+
* the component imposes no opinion on item shape or visual treatment.
|
|
4159
|
+
*
|
|
4160
|
+
* Supports two modes:
|
|
4161
|
+
*
|
|
4162
|
+
* - **`client`** (default): Items are filtered, sorted, and paginated
|
|
4163
|
+
* in memory. Use this when the full dataset is small and known up
|
|
4164
|
+
* front.
|
|
4165
|
+
* - **`server`**: The component renders `items` as-is and emits
|
|
4166
|
+
* `onStateChange` whenever search/filters/sort/layout change so the
|
|
4167
|
+
* parent can refetch. Use this when filters drive a server query
|
|
4168
|
+
* (e.g., URL-driven Next.js server components).
|
|
4169
|
+
*
|
|
4170
|
+
* The category bar can be replaced wholesale via `renderCategoryNav`,
|
|
4171
|
+
* allowing consumers to drop in `<NewsTicker />` or any other nav.
|
|
4172
|
+
*
|
|
4173
|
+
* @example
|
|
4174
|
+
* ```tsx
|
|
4175
|
+
* import { FilterableGrid } from "@digilogiclabs/saas-factory-ui";
|
|
4176
|
+
*
|
|
4177
|
+
* <FilterableGrid
|
|
4178
|
+
* items={sports}
|
|
4179
|
+
* getId={(s) => s.slug}
|
|
4180
|
+
* getLabel={(s) => s.name}
|
|
4181
|
+
* getCategory={(s) => s.category}
|
|
4182
|
+
* categories={CATEGORIES}
|
|
4183
|
+
* filters={FILTERS}
|
|
4184
|
+
* sorts={SORTS}
|
|
4185
|
+
* quickTabs={[
|
|
4186
|
+
* { key: "favorites", label: "Favorites", filter: (s) => favs.includes(s.slug) },
|
|
4187
|
+
* ]}
|
|
4188
|
+
* pageSize={24}
|
|
4189
|
+
* renderCard={(sport, i, ctx) => (
|
|
4190
|
+
* <SportCard key={sport.slug} sport={sport} layout={ctx.layout} index={i} />
|
|
4191
|
+
* )}
|
|
4192
|
+
* />
|
|
4193
|
+
* ```
|
|
4194
|
+
*/
|
|
4195
|
+
interface FilterableGridCategory {
|
|
4196
|
+
key: string;
|
|
4197
|
+
label: string;
|
|
4198
|
+
icon?: React$1.ReactNode;
|
|
4199
|
+
}
|
|
4200
|
+
interface FilterableGridFilterOption {
|
|
4201
|
+
value: string;
|
|
4202
|
+
label: string;
|
|
4203
|
+
icon?: React$1.ReactNode;
|
|
4204
|
+
count?: number;
|
|
4205
|
+
}
|
|
4206
|
+
interface FilterableGridFilter {
|
|
4207
|
+
/** Item field key to filter on (must match a property of T) */
|
|
4208
|
+
key: string;
|
|
4209
|
+
label: string;
|
|
4210
|
+
options: FilterableGridFilterOption[];
|
|
4211
|
+
/** Allow multiple values per filter group (default true) */
|
|
4212
|
+
multi?: boolean;
|
|
4213
|
+
}
|
|
4214
|
+
interface FilterableGridSort<T> {
|
|
4215
|
+
key: string;
|
|
4216
|
+
label: string;
|
|
4217
|
+
fn: (a: T, b: T) => number;
|
|
4218
|
+
}
|
|
4219
|
+
interface FilterableGridQuickTab<T> {
|
|
4220
|
+
key: string;
|
|
4221
|
+
label: string;
|
|
4222
|
+
icon?: React$1.ReactNode;
|
|
4223
|
+
count?: number;
|
|
4224
|
+
/** Predicate (only used in client mode). In server mode the parent reads
|
|
4225
|
+
* the active quick tab from `onStateChange` and applies its own logic. */
|
|
4226
|
+
filter?: (item: T) => boolean;
|
|
4227
|
+
}
|
|
4228
|
+
type FilterableGridLayout = "grid" | "list";
|
|
4229
|
+
interface FilterableGridState {
|
|
4230
|
+
search: string;
|
|
4231
|
+
category: string | null;
|
|
4232
|
+
filters: Record<string, string[]>;
|
|
4233
|
+
sort: string | null;
|
|
4234
|
+
layout: FilterableGridLayout;
|
|
4235
|
+
quickTab: string | null;
|
|
4236
|
+
}
|
|
4237
|
+
interface FilterableGridCategoryNavProps {
|
|
4238
|
+
categories: FilterableGridCategory[];
|
|
4239
|
+
activeCategory: string | null;
|
|
4240
|
+
onCategoryChange: (category: string | null) => void;
|
|
4241
|
+
quickTabs: ReadonlyArray<FilterableGridQuickTab<unknown>>;
|
|
4242
|
+
activeQuickTab: string | null;
|
|
4243
|
+
onQuickTabChange: (key: string | null) => void;
|
|
4244
|
+
labels: FilterableGridLabels;
|
|
4245
|
+
}
|
|
4246
|
+
interface FilterableGridRenderCardContext {
|
|
4247
|
+
layout: FilterableGridLayout;
|
|
4248
|
+
isFav: boolean;
|
|
4249
|
+
index: number;
|
|
4250
|
+
}
|
|
4251
|
+
interface FilterableGridLabels {
|
|
4252
|
+
searchPlaceholder: string;
|
|
4253
|
+
searchAriaLabel: string;
|
|
4254
|
+
clearSearchAriaLabel: string;
|
|
4255
|
+
allCategories: string;
|
|
4256
|
+
clearAll: string;
|
|
4257
|
+
showMore: string;
|
|
4258
|
+
remaining: string;
|
|
4259
|
+
noResults: string;
|
|
4260
|
+
clearFilters: string;
|
|
4261
|
+
itemsLabel: string;
|
|
4262
|
+
showing: string;
|
|
4263
|
+
filtersTitle: string;
|
|
4264
|
+
filtersAriaLabel: string;
|
|
4265
|
+
filtersTriggerLabel: string;
|
|
4266
|
+
closeFiltersLabel: string;
|
|
4267
|
+
sortByTitle: string;
|
|
4268
|
+
layoutGridLabel: string;
|
|
4269
|
+
layoutListLabel: string;
|
|
4270
|
+
layoutToggleAriaLabel: string;
|
|
4271
|
+
countAnnouncement: (count: number, total: number) => string;
|
|
4272
|
+
}
|
|
4273
|
+
interface FilterableGridProps<T> {
|
|
4274
|
+
/** Items to display. In `client` mode these are filtered locally;
|
|
4275
|
+
* in `server` mode they are rendered as-is. */
|
|
4276
|
+
items: T[];
|
|
4277
|
+
/** Filtering mode (default `"client"`) */
|
|
4278
|
+
mode?: "client" | "server";
|
|
4279
|
+
/** Stable id for each item (used for favorites + React keys). Default: `item.id` */
|
|
4280
|
+
getId?: (item: T) => string;
|
|
4281
|
+
/** Display label fallback (used by default `getSearchText`). Default: `item.label || item.name || item.title` */
|
|
4282
|
+
getLabel?: (item: T) => string;
|
|
4283
|
+
/** Category key for client-mode category filtering. Default: `item.category` */
|
|
4284
|
+
getCategory?: (item: T) => string | undefined;
|
|
4285
|
+
/** Searchable text for client-mode search. Default: `getLabel(item)` */
|
|
4286
|
+
getSearchText?: (item: T) => string;
|
|
4287
|
+
categories?: FilterableGridCategory[];
|
|
4288
|
+
filters?: FilterableGridFilter[];
|
|
4289
|
+
sorts?: FilterableGridSort<T>[];
|
|
4290
|
+
quickTabs?: FilterableGridQuickTab<T>[];
|
|
4291
|
+
defaultSort?: string | null;
|
|
4292
|
+
defaultCategory?: string | null;
|
|
4293
|
+
defaultLayout?: FilterableGridLayout;
|
|
4294
|
+
/** Items per page in client mode. `0` disables pagination. */
|
|
4295
|
+
pageSize?: number;
|
|
4296
|
+
showLayoutToggle?: boolean;
|
|
4297
|
+
showSearch?: boolean;
|
|
4298
|
+
showCount?: boolean;
|
|
4299
|
+
/** Search debounce in ms (default 300, set to 0 to disable) */
|
|
4300
|
+
searchDebounceMs?: number;
|
|
4301
|
+
/** Maximum index to apply stagger animation delay to (default 9) */
|
|
4302
|
+
staggerCap?: number;
|
|
4303
|
+
/** Per-card stagger step in ms (default 50) */
|
|
4304
|
+
staggerStepMs?: number;
|
|
4305
|
+
/** Replace the entire category/quick-tab nav with a custom component
|
|
4306
|
+
* (e.g. `<NewsTicker />`). Receives all the state needed to render. */
|
|
4307
|
+
renderCategoryNav?: (props: FilterableGridCategoryNavProps) => React$1.ReactNode;
|
|
4308
|
+
/** Required: card renderer. The component is intentionally card-agnostic. */
|
|
4309
|
+
renderCard: (item: T, index: number, ctx: FilterableGridRenderCardContext) => React$1.ReactNode;
|
|
4310
|
+
renderEmpty?: (state: FilterableGridState) => React$1.ReactNode;
|
|
4311
|
+
renderSkeleton?: (count: number) => React$1.ReactNode;
|
|
4312
|
+
loading?: boolean;
|
|
4313
|
+
hasMore?: boolean;
|
|
4314
|
+
totalCount?: number;
|
|
4315
|
+
onLoadMore?: () => void;
|
|
4316
|
+
/** Fires whenever the internal filter state changes. Use this in
|
|
4317
|
+
* `server` mode to translate state into a fetch / URL update. */
|
|
4318
|
+
onStateChange?: (state: FilterableGridState) => void;
|
|
4319
|
+
favorites?: string[];
|
|
4320
|
+
onFavoriteToggle?: (item: T) => void;
|
|
4321
|
+
onItemClick?: (item: T) => void;
|
|
4322
|
+
labels?: Partial<FilterableGridLabels>;
|
|
4323
|
+
className?: string;
|
|
4324
|
+
}
|
|
4325
|
+
declare function FilterableGrid<T>({ items, mode, getId, getLabel, getCategory, getSearchText, categories, filters, sorts, quickTabs, defaultSort, defaultCategory, defaultLayout, pageSize, showLayoutToggle, showSearch, showCount, searchDebounceMs, staggerCap, staggerStepMs, renderCategoryNav, renderCard, renderEmpty, renderSkeleton, loading, hasMore: serverHasMore, totalCount: serverTotalCount, onLoadMore: serverOnLoadMore, onStateChange, favorites, onItemClick, labels: labelOverrides, className, }: FilterableGridProps<T>): react_jsx_runtime.JSX.Element;
|
|
4326
|
+
|
|
4146
4327
|
/**
|
|
4147
4328
|
* ErrorBoundary - Catches JavaScript errors in child component trees.
|
|
4148
4329
|
*
|
|
@@ -5890,4 +6071,4 @@ declare class OptimizedStateManager {
|
|
|
5890
6071
|
}
|
|
5891
6072
|
declare const stateManager: OptimizedStateManager;
|
|
5892
6073
|
|
|
5893
|
-
export { ANIMATION_DURATION, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityType, type AdvancedAudioTrack, AdvancedPlayer, type AdvancedPlayerProps, Alert, AlertDescription, AlertTitle, AnalyticsDashboard, AnimatedSectionTitle, type AnimatedSectionTitleProps, type AnimationPreset, type AnimationTokens, Breadcrumbs as AppBreadcrumbs, AppShell, AudioFeed, type AudioFeedProps, AudioPlayer, type AudioPlayerProps, SearchWithFilters as AudioSearch, type AudioTrack, type AudioTrackCardData, AuthLayout, Avatar, AvatarFallback, AvatarImage, Badge, BarChart, type BarChart3IconBand, type BarChartProps, type BaseAccordionItemProps, type BaseAccordionProps, type BaseBreadcrumbsProps, type BaseChartProps, type BaseComponentProps, type BaseEmptyStateProps, type BaseSliderProps, type BaseSwitchProps, type BaseTextareaProps, type BaseTheme, type BorderRadiusScale, type BreadcrumbItem$1 as BreadcrumbItem, Breadcrumbs$1 as Breadcrumbs, type BreadcrumbsProps$1 as BreadcrumbsProps, type BugReportPayload, BugReporter, type BugReporterProps, Button, type ButtonVariants, type CTAAction, CTACluster, type CTAClusterProps, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, type ChartSeries, Checkbox, CollaborativePlaylist, type CollaborativePlaylistData, type CollaborativePlaylistProps, type Collaborator, type CollaboratorRole, type Column$1 as Column, CommandPalette, type Comment, type CommentData, CommentSystem, type CommentSystemProps, type CommentUser, type ComponentProps, type ComponentSize, type ComponentVariant, Container$1 as Container, ConversionKPI, type CrossfadeMode, DISTANCES, DURATIONS, DashboardGrid, DashboardLayout, DashboardWidget, type DashboardWidgetProps, DataGrid, type DataGridProps, type DataItem, DataTable, type Column as DataTableColumn, type DataTableProps, type DateFilter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, EASINGS, type Easing, EmptyState, type EmptyStateProps, EnhancedScrollToTop, type EnhancedScrollToTopProps, type EnvConfig, ErrorAnimation, ErrorBoundary, type ErrorBoundaryProps, ErrorEmptyState, type ErrorEmptyStateProps, ErrorFallback, type ErrorFallbackProps, type ExportOptions, type ExportService, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FixedAudioBar, type FixedAudioBarProps, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, type GenreFilter, type GlassmorphismTokens, GradientBorderCard, type GradientBorderCardProps, Grid$1 as Grid, GridItem, HOVER, HOVER_TRANSITION, HamburgerIcon, type HamburgerIconProps, Header, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputVariants, type IntersectionObserverOptions, KPIDashboard, type KPIData, KPIWidget, type KPIWidgetProps, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, LineChart, type LineChartProps, LoadingSpinner, LogoCloud, type LogoCloudProps, type LogoItem, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type MotionVariant, MultiSlider, NativeAccordionComponent as NativeAccordion, NativeAccordionItem, type NativeAccordionItemComponentProps as NativeAccordionItemProps, type NativeAccordionComponentProps as NativeAccordionProps, NativeBreadcrumbsComponent as NativeBreadcrumbs, type NativeBreadcrumbsComponentProps as NativeBreadcrumbsProps, type NativeComponentProps, Container as NativeContainer, NativeEmptyStateComponent as NativeEmptyState, type NativeEmptyStateComponentProps as NativeEmptyStateProps, NativeErrorEmptyState, type NativeErrorEmptyStateProps as NativeErrorEmptyStateComponentProps, Grid as NativeGrid, NativeMultiSlider, NativeNoDataEmptyState, type NativeNoDataEmptyStateProps as NativeNoDataEmptyStateComponentProps, NativeNoResultsEmptyState, type NativeNoResultsEmptyStateProps as NativeNoResultsEmptyStateComponentProps, Section as NativeSection, type NativeSimpleAccordionItem, NativeSimpleBreadcrumbs, type NativeSimpleBreadcrumbsProps, NativeSliderComponent as NativeSlider, type NativeSliderComponentProps as NativeSliderProps, type NativeStyle, NativeSwitchComponent as NativeSwitch, type NativeSwitchComponentProps as NativeSwitchProps, NativeTextareaComponent as NativeTextarea, type NativeTextareaComponentProps as NativeTextareaProps, NativeTextareaWithCounter, type NativeTextareaWithCounterProps, Pagination as NavigationPagination, Stepper as NavigationStepper, Tabs as NavigationTabs, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, NewsTicker, type NewsTickerFilter, type NewsTickerFilterOption, type NewsTickerProps, type NewsTickerSort, NoDataEmptyState, type NoDataEmptyStateProps, NoResultsEmptyState, type NoResultsEmptyStateProps, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationType, type NotificationUser, TrackCard as NowPlayingCard, OfflineWrapper, type OfflineWrapperProps, Onboarding, OptimizedStateManager, type OptimizedStoreOptions, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination$1 as Pagination, type PaginationConfig, PaginationInfo, type PaginationInfoProps, type PaginationProps$1 as PaginationProps, type PerformanceMetrics, type PieChartProps, Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, type PlatformType, type PlaybackQuality, type PlaybackState, type PlaylistActivity, PlaylistBuilder, type PlaylistBuilderProps, PlaylistBuilder as PlaylistCard, type PlaylistData, PlaylistBuilder as PlaylistSidebar, type PlaylistTrack, type PlaylistVisibility, Preloader, type PreloaderProps, PremiumCard, PremiumCardContent, PremiumCardFooter, PremiumCardHeader, type PremiumCardProps, PricingHero, type PricingHeroProps, type PricingPlan, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, PulseIndicator, type PulseIndicatorProps, type PulseStatus, QuickForm, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, ScrollProgressBar, type ScrollProgressBarProps, ScrollProgressLine, type ScrollProgressLineProps, ScrollToTop, type ScrollToTopProps, type SearchCategory, type SearchFilters, type SearchResult, type SearchSortBy, type SearchSuggestion, SearchWithFilters, type SearchWithFiltersProps, Section$1 as Section, SectionBlock, type SectionBlockProps, SectionLabel, type SectionLabelProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionConfig, SettingsLayout, type ShareOption, Sidebar, SimpleAccordion, type SimpleAccordionItem, type SimpleAccordionProps, SimpleBreadcrumbs, type SimpleBreadcrumbsProps, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, SkipToContent, Slider, type SliderProps, type SocialAction, SocialActions, type SocialActionsProps, type SocialLinks, type SortConfig, type SpacingScale, Stack, type StaggerSpeed, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, Switch, type SwitchProps, THEME_COLORS, type TabItem$1 as TabItem, TabNavigation, type TabNavigationProps, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, TextareaWithCounter, type TextareaWithCounterProps, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, ToastIcon, type ToastIconProps, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$1 as TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, Tour, Tooltip as TourTooltip, type Track, TrackCard, type TrackCardProps, AudioFeed as TrackList, type TrendingSection, type TrendingTrack, TrendingTracks, type TrendingTracksProps, type TutorialAction, TutorialEmbed, type TutorialEmbedProps, TutorialGallery, type TutorialGalleryProps, type TutorialMedia, type TutorialMetadata, TutorialSequence, type TutorialSequenceProps, type TutorialStep, type UseFocusTrapOptions, type UseIntersectionObserverResult, type UsePerformanceObserverOptions, UserProfile, type UserProfileData, type UserProfileProps, type UserStats, UsersKPI, VARIANTS, VARIANT_ICONS, VIEWPORT, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, type ViewportSetting, VirtualScrollList, type VirtualScrollListProps, type VirtualizationConfig, type VirtualizedItem, type VisualizerType, WarningAnimation, type WaveformData, WaveformPlayer, type WaveformPlayerProps, Accordion as WebAccordion, type AccordionProps as WebAccordionComponentProps, AccordionContent as WebAccordionContent, type AccordionContentProps as WebAccordionContentComponentProps, AccordionItem as WebAccordionItem, type AccordionItemProps as WebAccordionItemComponentProps, AccordionTrigger as WebAccordionTrigger, type AccordionTriggerProps as WebAccordionTriggerComponentProps, type WebAnimation, Breadcrumbs$1 as WebBreadcrumbs, type BreadcrumbsProps$1 as WebBreadcrumbsComponentProps, type WebComponentProps, EmptyState as WebEmptyState, type EmptyStateProps as WebEmptyStateComponentProps, ErrorEmptyState as WebErrorEmptyState, type ErrorEmptyStateProps as WebErrorEmptyStateComponentProps, MultiSlider as WebMultiSlider, NoDataEmptyState as WebNoDataEmptyState, type NoDataEmptyStateProps as WebNoDataEmptyStateComponentProps, NoResultsEmptyState as WebNoResultsEmptyState, type NoResultsEmptyStateProps as WebNoResultsEmptyStateComponentProps, SimpleAccordion as WebSimpleAccordion, type SimpleAccordionItem as WebSimpleAccordionComponentItem, type SimpleAccordionProps as WebSimpleAccordionComponentProps, SimpleBreadcrumbs as WebSimpleBreadcrumbs, type SimpleBreadcrumbsProps as WebSimpleBreadcrumbsComponentProps, Slider as WebSlider, type SliderProps as WebSliderComponentProps, type WebStyle, Switch as WebSwitch, type SwitchProps as WebSwitchProps, Textarea as WebTextarea, type TextareaProps as WebTextareaComponentProps, TextareaWithCounter as WebTextareaWithCounter, type TextareaWithCounterProps as WebTextareaWithCounterComponentProps, WelcomeModal, Z_INDEX, accordionVariants, animationPresets, audioAppTabs, audioPlayerVariants, breadcrumbsVariants, cn, commonValidators, containerVariants, contentVariants, createAnimation, createDataStore, createFormStore, createOptimizedStore, createSlideVariant, createTransition, dailyTrendingConfig, detectAuthProvider, disableScroll, emptyStateVariants, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, genreChartsConfigs, getConfig, getEnvInfo, getEnvVar, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, mergeVariants, musicAppTabs, nativeAnimations, nativeConfig, optimizeForPerformance, podcastAppTabs, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
|
|
6074
|
+
export { ANIMATION_DURATION, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityType, type AdvancedAudioTrack, AdvancedPlayer, type AdvancedPlayerProps, Alert, AlertDescription, AlertTitle, AnalyticsDashboard, AnimatedSectionTitle, type AnimatedSectionTitleProps, type AnimationPreset, type AnimationTokens, Breadcrumbs as AppBreadcrumbs, AppShell, AudioFeed, type AudioFeedProps, AudioPlayer, type AudioPlayerProps, SearchWithFilters as AudioSearch, type AudioTrack, type AudioTrackCardData, AuthLayout, Avatar, AvatarFallback, AvatarImage, Badge, BarChart, type BarChart3IconBand, type BarChartProps, type BaseAccordionItemProps, type BaseAccordionProps, type BaseBreadcrumbsProps, type BaseChartProps, type BaseComponentProps, type BaseEmptyStateProps, type BaseSliderProps, type BaseSwitchProps, type BaseTextareaProps, type BaseTheme, type BorderRadiusScale, type BreadcrumbItem$1 as BreadcrumbItem, Breadcrumbs$1 as Breadcrumbs, type BreadcrumbsProps$1 as BreadcrumbsProps, type BugReportPayload, BugReporter, type BugReporterProps, Button, type ButtonVariants, type CTAAction, CTACluster, type CTAClusterProps, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, type ChartSeries, Checkbox, CollaborativePlaylist, type CollaborativePlaylistData, type CollaborativePlaylistProps, type Collaborator, type CollaboratorRole, type Column$1 as Column, CommandPalette, type Comment, type CommentData, CommentSystem, type CommentSystemProps, type CommentUser, type ComponentProps, type ComponentSize, type ComponentVariant, Container$1 as Container, ConversionKPI, type CrossfadeMode, DISTANCES, DURATIONS, DashboardGrid, DashboardLayout, DashboardWidget, type DashboardWidgetProps, DataGrid, type DataGridProps, type DataItem, DataTable, type Column as DataTableColumn, type DataTableProps, type DateFilter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, EASINGS, type Easing, EmptyState, type EmptyStateProps, EnhancedScrollToTop, type EnhancedScrollToTopProps, type EnvConfig, ErrorAnimation, ErrorBoundary, type ErrorBoundaryProps, ErrorEmptyState, type ErrorEmptyStateProps, ErrorFallback, type ErrorFallbackProps, type ExportOptions, type ExportService, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FilterableGrid, type FilterableGridCategory, type FilterableGridCategoryNavProps, type FilterableGridFilter, type FilterableGridFilterOption, type FilterableGridLabels, type FilterableGridLayout, type FilterableGridProps, type FilterableGridQuickTab, type FilterableGridRenderCardContext, type FilterableGridSort, type FilterableGridState, FixedAudioBar, type FixedAudioBarProps, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, type GenreFilter, type GlassmorphismTokens, GradientBorderCard, type GradientBorderCardProps, Grid$1 as Grid, GridItem, HOVER, HOVER_TRANSITION, HamburgerIcon, type HamburgerIconProps, Header, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputVariants, type IntersectionObserverOptions, KPIDashboard, type KPIData, KPIWidget, type KPIWidgetProps, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, LineChart, type LineChartProps, LoadingSpinner, LogoCloud, type LogoCloudProps, type LogoItem, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type MotionVariant, MultiSlider, NativeAccordionComponent as NativeAccordion, NativeAccordionItem, type NativeAccordionItemComponentProps as NativeAccordionItemProps, type NativeAccordionComponentProps as NativeAccordionProps, NativeBreadcrumbsComponent as NativeBreadcrumbs, type NativeBreadcrumbsComponentProps as NativeBreadcrumbsProps, type NativeComponentProps, Container as NativeContainer, NativeEmptyStateComponent as NativeEmptyState, type NativeEmptyStateComponentProps as NativeEmptyStateProps, NativeErrorEmptyState, type NativeErrorEmptyStateProps as NativeErrorEmptyStateComponentProps, Grid as NativeGrid, NativeMultiSlider, NativeNoDataEmptyState, type NativeNoDataEmptyStateProps as NativeNoDataEmptyStateComponentProps, NativeNoResultsEmptyState, type NativeNoResultsEmptyStateProps as NativeNoResultsEmptyStateComponentProps, Section as NativeSection, type NativeSimpleAccordionItem, NativeSimpleBreadcrumbs, type NativeSimpleBreadcrumbsProps, NativeSliderComponent as NativeSlider, type NativeSliderComponentProps as NativeSliderProps, type NativeStyle, NativeSwitchComponent as NativeSwitch, type NativeSwitchComponentProps as NativeSwitchProps, NativeTextareaComponent as NativeTextarea, type NativeTextareaComponentProps as NativeTextareaProps, NativeTextareaWithCounter, type NativeTextareaWithCounterProps, Pagination as NavigationPagination, Stepper as NavigationStepper, Tabs as NavigationTabs, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, NewsTicker, type NewsTickerFilter, type NewsTickerFilterOption, type NewsTickerProps, type NewsTickerSort, NoDataEmptyState, type NoDataEmptyStateProps, NoResultsEmptyState, type NoResultsEmptyStateProps, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationType, type NotificationUser, TrackCard as NowPlayingCard, OfflineWrapper, type OfflineWrapperProps, Onboarding, OptimizedStateManager, type OptimizedStoreOptions, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination$1 as Pagination, type PaginationConfig, PaginationInfo, type PaginationInfoProps, type PaginationProps$1 as PaginationProps, type PerformanceMetrics, type PieChartProps, Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, type PlatformType, type PlaybackQuality, type PlaybackState, type PlaylistActivity, PlaylistBuilder, type PlaylistBuilderProps, PlaylistBuilder as PlaylistCard, type PlaylistData, PlaylistBuilder as PlaylistSidebar, type PlaylistTrack, type PlaylistVisibility, Preloader, type PreloaderProps, PremiumCard, PremiumCardContent, PremiumCardFooter, PremiumCardHeader, type PremiumCardProps, PricingHero, type PricingHeroProps, type PricingPlan, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, PulseIndicator, type PulseIndicatorProps, type PulseStatus, QuickForm, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, ScrollProgressBar, type ScrollProgressBarProps, ScrollProgressLine, type ScrollProgressLineProps, ScrollToTop, type ScrollToTopProps, type SearchCategory, type SearchFilters, type SearchResult, type SearchSortBy, type SearchSuggestion, SearchWithFilters, type SearchWithFiltersProps, Section$1 as Section, SectionBlock, type SectionBlockProps, SectionLabel, type SectionLabelProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionConfig, SettingsLayout, type ShareOption, Sidebar, SimpleAccordion, type SimpleAccordionItem, type SimpleAccordionProps, SimpleBreadcrumbs, type SimpleBreadcrumbsProps, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, SkipToContent, Slider, type SliderProps, type SocialAction, SocialActions, type SocialActionsProps, type SocialLinks, type SortConfig, type SpacingScale, Stack, type StaggerSpeed, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, Switch, type SwitchProps, THEME_COLORS, type TabItem$1 as TabItem, TabNavigation, type TabNavigationProps, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, TextareaWithCounter, type TextareaWithCounterProps, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, ToastIcon, type ToastIconProps, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$1 as TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, Tour, Tooltip as TourTooltip, type Track, TrackCard, type TrackCardProps, AudioFeed as TrackList, type TrendingSection, type TrendingTrack, TrendingTracks, type TrendingTracksProps, type TutorialAction, TutorialEmbed, type TutorialEmbedProps, TutorialGallery, type TutorialGalleryProps, type TutorialMedia, type TutorialMetadata, TutorialSequence, type TutorialSequenceProps, type TutorialStep, type UseFocusTrapOptions, type UseIntersectionObserverResult, type UsePerformanceObserverOptions, UserProfile, type UserProfileData, type UserProfileProps, type UserStats, UsersKPI, VARIANTS, VARIANT_ICONS, VIEWPORT, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, type ViewportSetting, VirtualScrollList, type VirtualScrollListProps, type VirtualizationConfig, type VirtualizedItem, type VisualizerType, WarningAnimation, type WaveformData, WaveformPlayer, type WaveformPlayerProps, Accordion as WebAccordion, type AccordionProps as WebAccordionComponentProps, AccordionContent as WebAccordionContent, type AccordionContentProps as WebAccordionContentComponentProps, AccordionItem as WebAccordionItem, type AccordionItemProps as WebAccordionItemComponentProps, AccordionTrigger as WebAccordionTrigger, type AccordionTriggerProps as WebAccordionTriggerComponentProps, type WebAnimation, Breadcrumbs$1 as WebBreadcrumbs, type BreadcrumbsProps$1 as WebBreadcrumbsComponentProps, type WebComponentProps, EmptyState as WebEmptyState, type EmptyStateProps as WebEmptyStateComponentProps, ErrorEmptyState as WebErrorEmptyState, type ErrorEmptyStateProps as WebErrorEmptyStateComponentProps, MultiSlider as WebMultiSlider, NoDataEmptyState as WebNoDataEmptyState, type NoDataEmptyStateProps as WebNoDataEmptyStateComponentProps, NoResultsEmptyState as WebNoResultsEmptyState, type NoResultsEmptyStateProps as WebNoResultsEmptyStateComponentProps, SimpleAccordion as WebSimpleAccordion, type SimpleAccordionItem as WebSimpleAccordionComponentItem, type SimpleAccordionProps as WebSimpleAccordionComponentProps, SimpleBreadcrumbs as WebSimpleBreadcrumbs, type SimpleBreadcrumbsProps as WebSimpleBreadcrumbsComponentProps, Slider as WebSlider, type SliderProps as WebSliderComponentProps, type WebStyle, Switch as WebSwitch, type SwitchProps as WebSwitchProps, Textarea as WebTextarea, type TextareaProps as WebTextareaComponentProps, TextareaWithCounter as WebTextareaWithCounter, type TextareaWithCounterProps as WebTextareaWithCounterComponentProps, WelcomeModal, Z_INDEX, accordionVariants, animationPresets, audioAppTabs, audioPlayerVariants, breadcrumbsVariants, cn, commonValidators, containerVariants, contentVariants, createAnimation, createDataStore, createFormStore, createOptimizedStore, createSlideVariant, createTransition, dailyTrendingConfig, detectAuthProvider, disableScroll, emptyStateVariants, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, genreChartsConfigs, getConfig, getEnvInfo, getEnvVar, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, mergeVariants, musicAppTabs, nativeAnimations, nativeConfig, optimizeForPerformance, podcastAppTabs, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
|
package/dist/index.d.ts
CHANGED
|
@@ -4143,6 +4143,187 @@ interface NewsTickerProps<T> {
|
|
|
4143
4143
|
}
|
|
4144
4144
|
declare function NewsTicker<T>({ items, speed, height, variant, className, getKey, getLabel, getHref, getDot, filters, sorts, onItemClick, linkComponent, emptyMessage, }: NewsTickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
4145
4145
|
|
|
4146
|
+
/**
|
|
4147
|
+
* FilterableGrid — A polished, generic grid component with built-in
|
|
4148
|
+
* search, faceted filtering, sorting, category navigation, quick tabs,
|
|
4149
|
+
* grid/list layout toggling, pagination, and stagger animations.
|
|
4150
|
+
*
|
|
4151
|
+
* Self-themed via shadcn-style CSS variables (`--card`, `--primary`,
|
|
4152
|
+
* `--border`, `--muted-foreground`, etc.), so it automatically adapts
|
|
4153
|
+
* to whatever design system the consuming app uses — including
|
|
4154
|
+
* light/dark mode. Each token is also exposed as `--fg-*` so consumers
|
|
4155
|
+
* can override individual values without disturbing their wider theme.
|
|
4156
|
+
*
|
|
4157
|
+
* Card rendering is fully delegated to consumers via `renderCard`, so
|
|
4158
|
+
* the component imposes no opinion on item shape or visual treatment.
|
|
4159
|
+
*
|
|
4160
|
+
* Supports two modes:
|
|
4161
|
+
*
|
|
4162
|
+
* - **`client`** (default): Items are filtered, sorted, and paginated
|
|
4163
|
+
* in memory. Use this when the full dataset is small and known up
|
|
4164
|
+
* front.
|
|
4165
|
+
* - **`server`**: The component renders `items` as-is and emits
|
|
4166
|
+
* `onStateChange` whenever search/filters/sort/layout change so the
|
|
4167
|
+
* parent can refetch. Use this when filters drive a server query
|
|
4168
|
+
* (e.g., URL-driven Next.js server components).
|
|
4169
|
+
*
|
|
4170
|
+
* The category bar can be replaced wholesale via `renderCategoryNav`,
|
|
4171
|
+
* allowing consumers to drop in `<NewsTicker />` or any other nav.
|
|
4172
|
+
*
|
|
4173
|
+
* @example
|
|
4174
|
+
* ```tsx
|
|
4175
|
+
* import { FilterableGrid } from "@digilogiclabs/saas-factory-ui";
|
|
4176
|
+
*
|
|
4177
|
+
* <FilterableGrid
|
|
4178
|
+
* items={sports}
|
|
4179
|
+
* getId={(s) => s.slug}
|
|
4180
|
+
* getLabel={(s) => s.name}
|
|
4181
|
+
* getCategory={(s) => s.category}
|
|
4182
|
+
* categories={CATEGORIES}
|
|
4183
|
+
* filters={FILTERS}
|
|
4184
|
+
* sorts={SORTS}
|
|
4185
|
+
* quickTabs={[
|
|
4186
|
+
* { key: "favorites", label: "Favorites", filter: (s) => favs.includes(s.slug) },
|
|
4187
|
+
* ]}
|
|
4188
|
+
* pageSize={24}
|
|
4189
|
+
* renderCard={(sport, i, ctx) => (
|
|
4190
|
+
* <SportCard key={sport.slug} sport={sport} layout={ctx.layout} index={i} />
|
|
4191
|
+
* )}
|
|
4192
|
+
* />
|
|
4193
|
+
* ```
|
|
4194
|
+
*/
|
|
4195
|
+
interface FilterableGridCategory {
|
|
4196
|
+
key: string;
|
|
4197
|
+
label: string;
|
|
4198
|
+
icon?: React$1.ReactNode;
|
|
4199
|
+
}
|
|
4200
|
+
interface FilterableGridFilterOption {
|
|
4201
|
+
value: string;
|
|
4202
|
+
label: string;
|
|
4203
|
+
icon?: React$1.ReactNode;
|
|
4204
|
+
count?: number;
|
|
4205
|
+
}
|
|
4206
|
+
interface FilterableGridFilter {
|
|
4207
|
+
/** Item field key to filter on (must match a property of T) */
|
|
4208
|
+
key: string;
|
|
4209
|
+
label: string;
|
|
4210
|
+
options: FilterableGridFilterOption[];
|
|
4211
|
+
/** Allow multiple values per filter group (default true) */
|
|
4212
|
+
multi?: boolean;
|
|
4213
|
+
}
|
|
4214
|
+
interface FilterableGridSort<T> {
|
|
4215
|
+
key: string;
|
|
4216
|
+
label: string;
|
|
4217
|
+
fn: (a: T, b: T) => number;
|
|
4218
|
+
}
|
|
4219
|
+
interface FilterableGridQuickTab<T> {
|
|
4220
|
+
key: string;
|
|
4221
|
+
label: string;
|
|
4222
|
+
icon?: React$1.ReactNode;
|
|
4223
|
+
count?: number;
|
|
4224
|
+
/** Predicate (only used in client mode). In server mode the parent reads
|
|
4225
|
+
* the active quick tab from `onStateChange` and applies its own logic. */
|
|
4226
|
+
filter?: (item: T) => boolean;
|
|
4227
|
+
}
|
|
4228
|
+
type FilterableGridLayout = "grid" | "list";
|
|
4229
|
+
interface FilterableGridState {
|
|
4230
|
+
search: string;
|
|
4231
|
+
category: string | null;
|
|
4232
|
+
filters: Record<string, string[]>;
|
|
4233
|
+
sort: string | null;
|
|
4234
|
+
layout: FilterableGridLayout;
|
|
4235
|
+
quickTab: string | null;
|
|
4236
|
+
}
|
|
4237
|
+
interface FilterableGridCategoryNavProps {
|
|
4238
|
+
categories: FilterableGridCategory[];
|
|
4239
|
+
activeCategory: string | null;
|
|
4240
|
+
onCategoryChange: (category: string | null) => void;
|
|
4241
|
+
quickTabs: ReadonlyArray<FilterableGridQuickTab<unknown>>;
|
|
4242
|
+
activeQuickTab: string | null;
|
|
4243
|
+
onQuickTabChange: (key: string | null) => void;
|
|
4244
|
+
labels: FilterableGridLabels;
|
|
4245
|
+
}
|
|
4246
|
+
interface FilterableGridRenderCardContext {
|
|
4247
|
+
layout: FilterableGridLayout;
|
|
4248
|
+
isFav: boolean;
|
|
4249
|
+
index: number;
|
|
4250
|
+
}
|
|
4251
|
+
interface FilterableGridLabels {
|
|
4252
|
+
searchPlaceholder: string;
|
|
4253
|
+
searchAriaLabel: string;
|
|
4254
|
+
clearSearchAriaLabel: string;
|
|
4255
|
+
allCategories: string;
|
|
4256
|
+
clearAll: string;
|
|
4257
|
+
showMore: string;
|
|
4258
|
+
remaining: string;
|
|
4259
|
+
noResults: string;
|
|
4260
|
+
clearFilters: string;
|
|
4261
|
+
itemsLabel: string;
|
|
4262
|
+
showing: string;
|
|
4263
|
+
filtersTitle: string;
|
|
4264
|
+
filtersAriaLabel: string;
|
|
4265
|
+
filtersTriggerLabel: string;
|
|
4266
|
+
closeFiltersLabel: string;
|
|
4267
|
+
sortByTitle: string;
|
|
4268
|
+
layoutGridLabel: string;
|
|
4269
|
+
layoutListLabel: string;
|
|
4270
|
+
layoutToggleAriaLabel: string;
|
|
4271
|
+
countAnnouncement: (count: number, total: number) => string;
|
|
4272
|
+
}
|
|
4273
|
+
interface FilterableGridProps<T> {
|
|
4274
|
+
/** Items to display. In `client` mode these are filtered locally;
|
|
4275
|
+
* in `server` mode they are rendered as-is. */
|
|
4276
|
+
items: T[];
|
|
4277
|
+
/** Filtering mode (default `"client"`) */
|
|
4278
|
+
mode?: "client" | "server";
|
|
4279
|
+
/** Stable id for each item (used for favorites + React keys). Default: `item.id` */
|
|
4280
|
+
getId?: (item: T) => string;
|
|
4281
|
+
/** Display label fallback (used by default `getSearchText`). Default: `item.label || item.name || item.title` */
|
|
4282
|
+
getLabel?: (item: T) => string;
|
|
4283
|
+
/** Category key for client-mode category filtering. Default: `item.category` */
|
|
4284
|
+
getCategory?: (item: T) => string | undefined;
|
|
4285
|
+
/** Searchable text for client-mode search. Default: `getLabel(item)` */
|
|
4286
|
+
getSearchText?: (item: T) => string;
|
|
4287
|
+
categories?: FilterableGridCategory[];
|
|
4288
|
+
filters?: FilterableGridFilter[];
|
|
4289
|
+
sorts?: FilterableGridSort<T>[];
|
|
4290
|
+
quickTabs?: FilterableGridQuickTab<T>[];
|
|
4291
|
+
defaultSort?: string | null;
|
|
4292
|
+
defaultCategory?: string | null;
|
|
4293
|
+
defaultLayout?: FilterableGridLayout;
|
|
4294
|
+
/** Items per page in client mode. `0` disables pagination. */
|
|
4295
|
+
pageSize?: number;
|
|
4296
|
+
showLayoutToggle?: boolean;
|
|
4297
|
+
showSearch?: boolean;
|
|
4298
|
+
showCount?: boolean;
|
|
4299
|
+
/** Search debounce in ms (default 300, set to 0 to disable) */
|
|
4300
|
+
searchDebounceMs?: number;
|
|
4301
|
+
/** Maximum index to apply stagger animation delay to (default 9) */
|
|
4302
|
+
staggerCap?: number;
|
|
4303
|
+
/** Per-card stagger step in ms (default 50) */
|
|
4304
|
+
staggerStepMs?: number;
|
|
4305
|
+
/** Replace the entire category/quick-tab nav with a custom component
|
|
4306
|
+
* (e.g. `<NewsTicker />`). Receives all the state needed to render. */
|
|
4307
|
+
renderCategoryNav?: (props: FilterableGridCategoryNavProps) => React$1.ReactNode;
|
|
4308
|
+
/** Required: card renderer. The component is intentionally card-agnostic. */
|
|
4309
|
+
renderCard: (item: T, index: number, ctx: FilterableGridRenderCardContext) => React$1.ReactNode;
|
|
4310
|
+
renderEmpty?: (state: FilterableGridState) => React$1.ReactNode;
|
|
4311
|
+
renderSkeleton?: (count: number) => React$1.ReactNode;
|
|
4312
|
+
loading?: boolean;
|
|
4313
|
+
hasMore?: boolean;
|
|
4314
|
+
totalCount?: number;
|
|
4315
|
+
onLoadMore?: () => void;
|
|
4316
|
+
/** Fires whenever the internal filter state changes. Use this in
|
|
4317
|
+
* `server` mode to translate state into a fetch / URL update. */
|
|
4318
|
+
onStateChange?: (state: FilterableGridState) => void;
|
|
4319
|
+
favorites?: string[];
|
|
4320
|
+
onFavoriteToggle?: (item: T) => void;
|
|
4321
|
+
onItemClick?: (item: T) => void;
|
|
4322
|
+
labels?: Partial<FilterableGridLabels>;
|
|
4323
|
+
className?: string;
|
|
4324
|
+
}
|
|
4325
|
+
declare function FilterableGrid<T>({ items, mode, getId, getLabel, getCategory, getSearchText, categories, filters, sorts, quickTabs, defaultSort, defaultCategory, defaultLayout, pageSize, showLayoutToggle, showSearch, showCount, searchDebounceMs, staggerCap, staggerStepMs, renderCategoryNav, renderCard, renderEmpty, renderSkeleton, loading, hasMore: serverHasMore, totalCount: serverTotalCount, onLoadMore: serverOnLoadMore, onStateChange, favorites, onItemClick, labels: labelOverrides, className, }: FilterableGridProps<T>): react_jsx_runtime.JSX.Element;
|
|
4326
|
+
|
|
4146
4327
|
/**
|
|
4147
4328
|
* ErrorBoundary - Catches JavaScript errors in child component trees.
|
|
4148
4329
|
*
|
|
@@ -5890,4 +6071,4 @@ declare class OptimizedStateManager {
|
|
|
5890
6071
|
}
|
|
5891
6072
|
declare const stateManager: OptimizedStateManager;
|
|
5892
6073
|
|
|
5893
|
-
export { ANIMATION_DURATION, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityType, type AdvancedAudioTrack, AdvancedPlayer, type AdvancedPlayerProps, Alert, AlertDescription, AlertTitle, AnalyticsDashboard, AnimatedSectionTitle, type AnimatedSectionTitleProps, type AnimationPreset, type AnimationTokens, Breadcrumbs as AppBreadcrumbs, AppShell, AudioFeed, type AudioFeedProps, AudioPlayer, type AudioPlayerProps, SearchWithFilters as AudioSearch, type AudioTrack, type AudioTrackCardData, AuthLayout, Avatar, AvatarFallback, AvatarImage, Badge, BarChart, type BarChart3IconBand, type BarChartProps, type BaseAccordionItemProps, type BaseAccordionProps, type BaseBreadcrumbsProps, type BaseChartProps, type BaseComponentProps, type BaseEmptyStateProps, type BaseSliderProps, type BaseSwitchProps, type BaseTextareaProps, type BaseTheme, type BorderRadiusScale, type BreadcrumbItem$1 as BreadcrumbItem, Breadcrumbs$1 as Breadcrumbs, type BreadcrumbsProps$1 as BreadcrumbsProps, type BugReportPayload, BugReporter, type BugReporterProps, Button, type ButtonVariants, type CTAAction, CTACluster, type CTAClusterProps, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, type ChartSeries, Checkbox, CollaborativePlaylist, type CollaborativePlaylistData, type CollaborativePlaylistProps, type Collaborator, type CollaboratorRole, type Column$1 as Column, CommandPalette, type Comment, type CommentData, CommentSystem, type CommentSystemProps, type CommentUser, type ComponentProps, type ComponentSize, type ComponentVariant, Container$1 as Container, ConversionKPI, type CrossfadeMode, DISTANCES, DURATIONS, DashboardGrid, DashboardLayout, DashboardWidget, type DashboardWidgetProps, DataGrid, type DataGridProps, type DataItem, DataTable, type Column as DataTableColumn, type DataTableProps, type DateFilter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, EASINGS, type Easing, EmptyState, type EmptyStateProps, EnhancedScrollToTop, type EnhancedScrollToTopProps, type EnvConfig, ErrorAnimation, ErrorBoundary, type ErrorBoundaryProps, ErrorEmptyState, type ErrorEmptyStateProps, ErrorFallback, type ErrorFallbackProps, type ExportOptions, type ExportService, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FixedAudioBar, type FixedAudioBarProps, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, type GenreFilter, type GlassmorphismTokens, GradientBorderCard, type GradientBorderCardProps, Grid$1 as Grid, GridItem, HOVER, HOVER_TRANSITION, HamburgerIcon, type HamburgerIconProps, Header, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputVariants, type IntersectionObserverOptions, KPIDashboard, type KPIData, KPIWidget, type KPIWidgetProps, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, LineChart, type LineChartProps, LoadingSpinner, LogoCloud, type LogoCloudProps, type LogoItem, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type MotionVariant, MultiSlider, NativeAccordionComponent as NativeAccordion, NativeAccordionItem, type NativeAccordionItemComponentProps as NativeAccordionItemProps, type NativeAccordionComponentProps as NativeAccordionProps, NativeBreadcrumbsComponent as NativeBreadcrumbs, type NativeBreadcrumbsComponentProps as NativeBreadcrumbsProps, type NativeComponentProps, Container as NativeContainer, NativeEmptyStateComponent as NativeEmptyState, type NativeEmptyStateComponentProps as NativeEmptyStateProps, NativeErrorEmptyState, type NativeErrorEmptyStateProps as NativeErrorEmptyStateComponentProps, Grid as NativeGrid, NativeMultiSlider, NativeNoDataEmptyState, type NativeNoDataEmptyStateProps as NativeNoDataEmptyStateComponentProps, NativeNoResultsEmptyState, type NativeNoResultsEmptyStateProps as NativeNoResultsEmptyStateComponentProps, Section as NativeSection, type NativeSimpleAccordionItem, NativeSimpleBreadcrumbs, type NativeSimpleBreadcrumbsProps, NativeSliderComponent as NativeSlider, type NativeSliderComponentProps as NativeSliderProps, type NativeStyle, NativeSwitchComponent as NativeSwitch, type NativeSwitchComponentProps as NativeSwitchProps, NativeTextareaComponent as NativeTextarea, type NativeTextareaComponentProps as NativeTextareaProps, NativeTextareaWithCounter, type NativeTextareaWithCounterProps, Pagination as NavigationPagination, Stepper as NavigationStepper, Tabs as NavigationTabs, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, NewsTicker, type NewsTickerFilter, type NewsTickerFilterOption, type NewsTickerProps, type NewsTickerSort, NoDataEmptyState, type NoDataEmptyStateProps, NoResultsEmptyState, type NoResultsEmptyStateProps, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationType, type NotificationUser, TrackCard as NowPlayingCard, OfflineWrapper, type OfflineWrapperProps, Onboarding, OptimizedStateManager, type OptimizedStoreOptions, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination$1 as Pagination, type PaginationConfig, PaginationInfo, type PaginationInfoProps, type PaginationProps$1 as PaginationProps, type PerformanceMetrics, type PieChartProps, Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, type PlatformType, type PlaybackQuality, type PlaybackState, type PlaylistActivity, PlaylistBuilder, type PlaylistBuilderProps, PlaylistBuilder as PlaylistCard, type PlaylistData, PlaylistBuilder as PlaylistSidebar, type PlaylistTrack, type PlaylistVisibility, Preloader, type PreloaderProps, PremiumCard, PremiumCardContent, PremiumCardFooter, PremiumCardHeader, type PremiumCardProps, PricingHero, type PricingHeroProps, type PricingPlan, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, PulseIndicator, type PulseIndicatorProps, type PulseStatus, QuickForm, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, ScrollProgressBar, type ScrollProgressBarProps, ScrollProgressLine, type ScrollProgressLineProps, ScrollToTop, type ScrollToTopProps, type SearchCategory, type SearchFilters, type SearchResult, type SearchSortBy, type SearchSuggestion, SearchWithFilters, type SearchWithFiltersProps, Section$1 as Section, SectionBlock, type SectionBlockProps, SectionLabel, type SectionLabelProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionConfig, SettingsLayout, type ShareOption, Sidebar, SimpleAccordion, type SimpleAccordionItem, type SimpleAccordionProps, SimpleBreadcrumbs, type SimpleBreadcrumbsProps, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, SkipToContent, Slider, type SliderProps, type SocialAction, SocialActions, type SocialActionsProps, type SocialLinks, type SortConfig, type SpacingScale, Stack, type StaggerSpeed, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, Switch, type SwitchProps, THEME_COLORS, type TabItem$1 as TabItem, TabNavigation, type TabNavigationProps, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, TextareaWithCounter, type TextareaWithCounterProps, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, ToastIcon, type ToastIconProps, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$1 as TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, Tour, Tooltip as TourTooltip, type Track, TrackCard, type TrackCardProps, AudioFeed as TrackList, type TrendingSection, type TrendingTrack, TrendingTracks, type TrendingTracksProps, type TutorialAction, TutorialEmbed, type TutorialEmbedProps, TutorialGallery, type TutorialGalleryProps, type TutorialMedia, type TutorialMetadata, TutorialSequence, type TutorialSequenceProps, type TutorialStep, type UseFocusTrapOptions, type UseIntersectionObserverResult, type UsePerformanceObserverOptions, UserProfile, type UserProfileData, type UserProfileProps, type UserStats, UsersKPI, VARIANTS, VARIANT_ICONS, VIEWPORT, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, type ViewportSetting, VirtualScrollList, type VirtualScrollListProps, type VirtualizationConfig, type VirtualizedItem, type VisualizerType, WarningAnimation, type WaveformData, WaveformPlayer, type WaveformPlayerProps, Accordion as WebAccordion, type AccordionProps as WebAccordionComponentProps, AccordionContent as WebAccordionContent, type AccordionContentProps as WebAccordionContentComponentProps, AccordionItem as WebAccordionItem, type AccordionItemProps as WebAccordionItemComponentProps, AccordionTrigger as WebAccordionTrigger, type AccordionTriggerProps as WebAccordionTriggerComponentProps, type WebAnimation, Breadcrumbs$1 as WebBreadcrumbs, type BreadcrumbsProps$1 as WebBreadcrumbsComponentProps, type WebComponentProps, EmptyState as WebEmptyState, type EmptyStateProps as WebEmptyStateComponentProps, ErrorEmptyState as WebErrorEmptyState, type ErrorEmptyStateProps as WebErrorEmptyStateComponentProps, MultiSlider as WebMultiSlider, NoDataEmptyState as WebNoDataEmptyState, type NoDataEmptyStateProps as WebNoDataEmptyStateComponentProps, NoResultsEmptyState as WebNoResultsEmptyState, type NoResultsEmptyStateProps as WebNoResultsEmptyStateComponentProps, SimpleAccordion as WebSimpleAccordion, type SimpleAccordionItem as WebSimpleAccordionComponentItem, type SimpleAccordionProps as WebSimpleAccordionComponentProps, SimpleBreadcrumbs as WebSimpleBreadcrumbs, type SimpleBreadcrumbsProps as WebSimpleBreadcrumbsComponentProps, Slider as WebSlider, type SliderProps as WebSliderComponentProps, type WebStyle, Switch as WebSwitch, type SwitchProps as WebSwitchProps, Textarea as WebTextarea, type TextareaProps as WebTextareaComponentProps, TextareaWithCounter as WebTextareaWithCounter, type TextareaWithCounterProps as WebTextareaWithCounterComponentProps, WelcomeModal, Z_INDEX, accordionVariants, animationPresets, audioAppTabs, audioPlayerVariants, breadcrumbsVariants, cn, commonValidators, containerVariants, contentVariants, createAnimation, createDataStore, createFormStore, createOptimizedStore, createSlideVariant, createTransition, dailyTrendingConfig, detectAuthProvider, disableScroll, emptyStateVariants, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, genreChartsConfigs, getConfig, getEnvInfo, getEnvVar, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, mergeVariants, musicAppTabs, nativeAnimations, nativeConfig, optimizeForPerformance, podcastAppTabs, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
|
|
6074
|
+
export { ANIMATION_DURATION, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityType, type AdvancedAudioTrack, AdvancedPlayer, type AdvancedPlayerProps, Alert, AlertDescription, AlertTitle, AnalyticsDashboard, AnimatedSectionTitle, type AnimatedSectionTitleProps, type AnimationPreset, type AnimationTokens, Breadcrumbs as AppBreadcrumbs, AppShell, AudioFeed, type AudioFeedProps, AudioPlayer, type AudioPlayerProps, SearchWithFilters as AudioSearch, type AudioTrack, type AudioTrackCardData, AuthLayout, Avatar, AvatarFallback, AvatarImage, Badge, BarChart, type BarChart3IconBand, type BarChartProps, type BaseAccordionItemProps, type BaseAccordionProps, type BaseBreadcrumbsProps, type BaseChartProps, type BaseComponentProps, type BaseEmptyStateProps, type BaseSliderProps, type BaseSwitchProps, type BaseTextareaProps, type BaseTheme, type BorderRadiusScale, type BreadcrumbItem$1 as BreadcrumbItem, Breadcrumbs$1 as Breadcrumbs, type BreadcrumbsProps$1 as BreadcrumbsProps, type BugReportPayload, BugReporter, type BugReporterProps, Button, type ButtonVariants, type CTAAction, CTACluster, type CTAClusterProps, type CacheStrategy, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartDataPoint, type ChartSeries, Checkbox, CollaborativePlaylist, type CollaborativePlaylistData, type CollaborativePlaylistProps, type Collaborator, type CollaboratorRole, type Column$1 as Column, CommandPalette, type Comment, type CommentData, CommentSystem, type CommentSystemProps, type CommentUser, type ComponentProps, type ComponentSize, type ComponentVariant, Container$1 as Container, ConversionKPI, type CrossfadeMode, DISTANCES, DURATIONS, DashboardGrid, DashboardLayout, DashboardWidget, type DashboardWidgetProps, DataGrid, type DataGridProps, type DataItem, DataTable, type Column as DataTableColumn, type DataTableProps, type DateFilter, Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, type Distance, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, type Duration, type DurationFilter, EASINGS, type Easing, EmptyState, type EmptyStateProps, EnhancedScrollToTop, type EnhancedScrollToTopProps, type EnvConfig, ErrorAnimation, ErrorBoundary, type ErrorBoundaryProps, ErrorEmptyState, type ErrorEmptyStateProps, ErrorFallback, type ErrorFallbackProps, type ExportOptions, type ExportService, FeatureGrid, type FeatureGridProps, FeatureHighlight, type FeatureItem, type FeedFilter, type FeedItem, type FeedSortOrder, type FeedbackCategory, FilterChip, type FilterChipProps, type FilterConfig, FilterableGrid, type FilterableGridCategory, type FilterableGridCategoryNavProps, type FilterableGridFilter, type FilterableGridFilterOption, type FilterableGridLabels, type FilterableGridLayout, type FilterableGridProps, type FilterableGridQuickTab, type FilterableGridRenderCardContext, type FilterableGridSort, type FilterableGridState, FixedAudioBar, type FixedAudioBarProps, Form, FormBuilder, type FormBuilderProps, FormDescription, type FormField, FormGroup, FormLabel, FormMessage, FormProgress, type FormProps, type FormSchema, FormSection, type GenreFilter, type GlassmorphismTokens, GradientBorderCard, type GradientBorderCardProps, Grid$1 as Grid, GridItem, HOVER, HOVER_TRANSITION, HamburgerIcon, type HamburgerIconProps, Header, HeaderActions, HeaderBrand, HeaderContainer, HeaderDesktopNav, HeaderMobileTrigger, HeaderNavLink, Hero, HeroCTA, HeroContent, type HeroProps, HeroSubtitle, HeroTitle, InfoAnimation, Input, type InputVariants, type IntersectionObserverOptions, KPIDashboard, type KPIData, KPIWidget, type KPIWidgetProps, Label, LavaLamp, type LavaLampProps, LazyImage, type LazyImagePlaceholder, type LazyImageProps, LineChart, type LineChartProps, LoadingSpinner, LogoCloud, type LogoCloudProps, type LogoItem, MobileContainer, type MobileContainerProps, MobileContent, MobileEmailInput, MobileForm, MobileFormActions, MobileFormField, MobileFormGroup, type MobileFormProps, MobileFormSection, MobileGrid, MobileHero, type MobileHeroProps, MobileNavButton, MobileNavContent, MobileNavDrawer, MobileNavFooter, MobileNavHeader, MobileNavLink, MobileNavOverlay, MobileNavTrigger, MobileNavigation, MobileOTPInput, MobilePage, MobilePhoneInput, MobileSection, MobileSticky, Modal, type MotionVariant, MultiSlider, NativeAccordionComponent as NativeAccordion, NativeAccordionItem, type NativeAccordionItemComponentProps as NativeAccordionItemProps, type NativeAccordionComponentProps as NativeAccordionProps, NativeBreadcrumbsComponent as NativeBreadcrumbs, type NativeBreadcrumbsComponentProps as NativeBreadcrumbsProps, type NativeComponentProps, Container as NativeContainer, NativeEmptyStateComponent as NativeEmptyState, type NativeEmptyStateComponentProps as NativeEmptyStateProps, NativeErrorEmptyState, type NativeErrorEmptyStateProps as NativeErrorEmptyStateComponentProps, Grid as NativeGrid, NativeMultiSlider, NativeNoDataEmptyState, type NativeNoDataEmptyStateProps as NativeNoDataEmptyStateComponentProps, NativeNoResultsEmptyState, type NativeNoResultsEmptyStateProps as NativeNoResultsEmptyStateComponentProps, Section as NativeSection, type NativeSimpleAccordionItem, NativeSimpleBreadcrumbs, type NativeSimpleBreadcrumbsProps, NativeSliderComponent as NativeSlider, type NativeSliderComponentProps as NativeSliderProps, type NativeStyle, NativeSwitchComponent as NativeSwitch, type NativeSwitchComponentProps as NativeSwitchProps, NativeTextareaComponent as NativeTextarea, type NativeTextareaComponentProps as NativeTextareaProps, NativeTextareaWithCounter, type NativeTextareaWithCounterProps, Pagination as NavigationPagination, Stepper as NavigationStepper, Tabs as NavigationTabs, NetworkAwareContent, type NetworkAwareContentProps, type NetworkInfo, type NetworkSpeed, type NetworkType, NewsTicker, type NewsTickerFilter, type NewsTickerFilterOption, type NewsTickerProps, type NewsTickerSort, NoDataEmptyState, type NoDataEmptyStateProps, NoResultsEmptyState, type NoResultsEmptyStateProps, NotificationCenter, type NotificationCenterProps, type NotificationItem, type NotificationType, type NotificationUser, TrackCard as NowPlayingCard, OfflineWrapper, type OfflineWrapperProps, Onboarding, OptimizedStateManager, type OptimizedStoreOptions, PageHeader, type PageHeaderProps, PageShell, type PageShellProps, PageTransition, type PageTransitionDirection, type PageTransitionProps, type PageTransitionType, Pagination$1 as Pagination, type PaginationConfig, PaginationInfo, type PaginationInfoProps, type PaginationProps$1 as PaginationProps, type PerformanceMetrics, type PieChartProps, Platform, type PlatformConfig, type PlatformSelect, type PlatformSelectMultiple, type PlatformType, type PlaybackQuality, type PlaybackState, type PlaylistActivity, PlaylistBuilder, type PlaylistBuilderProps, PlaylistBuilder as PlaylistCard, type PlaylistData, PlaylistBuilder as PlaylistSidebar, type PlaylistTrack, type PlaylistVisibility, Preloader, type PreloaderProps, PremiumCard, PremiumCardContent, PremiumCardFooter, PremiumCardHeader, type PremiumCardProps, PricingHero, type PricingHeroProps, type PricingPlan, Progress, ProgressiveImage, type ProgressiveImageProps, type ProgressiveImageStrategy, type ProgressiveImageTransition, PullToRefresh, type PullToRefreshProps, PulseIndicator, type PulseIndicatorProps, type PulseStatus, QuickForm, type RefreshState, type RepeatMode, type ResponsiveColumns, ResponsiveFlex, ResponsiveGrid, type ResponsiveGridProps, ResponsiveHeader, type ResponsiveHeaderProps, RevenueKPI, STAGGER, STAGGER_CONTAINERS, STAGGER_ITEMS, SafeAreaWrapper, ScrollProgressBar, type ScrollProgressBarProps, ScrollProgressLine, type ScrollProgressLineProps, ScrollToTop, type ScrollToTopProps, type SearchCategory, type SearchFilters, type SearchResult, type SearchSortBy, type SearchSuggestion, SearchWithFilters, type SearchWithFiltersProps, Section$1 as Section, SectionBlock, type SectionBlockProps, SectionLabel, type SectionLabelProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionConfig, SettingsLayout, type ShareOption, Sidebar, SimpleAccordion, type SimpleAccordionItem, type SimpleAccordionProps, SimpleBreadcrumbs, type SimpleBreadcrumbsProps, SimpleHero, SimpleResponsiveHeader, type Size, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonText, SkipToContent, Slider, type SliderProps, type SocialAction, SocialActions, type SocialActionsProps, type SocialLinks, type SortConfig, type SpacingScale, Stack, type StaggerSpeed, SuccessAnimation, type SuccessAnimationProps, SuccessCheckmark, type SwipeAction, SwipeableCard, type SwipeableCardProps, Switch, type SwitchProps, THEME_COLORS, type TabItem$1 as TabItem, TabNavigation, type TabNavigationProps, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, TextareaWithCounter, type TextareaWithCounterProps, type Theme, type ThemeColors, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, ToastIcon, type ToastIconProps, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$1 as TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, TouchInput, type TouchInputProps, Tour, Tooltip as TourTooltip, type Track, TrackCard, type TrackCardProps, AudioFeed as TrackList, type TrendingSection, type TrendingTrack, TrendingTracks, type TrendingTracksProps, type TutorialAction, TutorialEmbed, type TutorialEmbedProps, TutorialGallery, type TutorialGalleryProps, type TutorialMedia, type TutorialMetadata, TutorialSequence, type TutorialSequenceProps, type TutorialStep, type UseFocusTrapOptions, type UseIntersectionObserverResult, type UsePerformanceObserverOptions, UserProfile, type UserProfileData, type UserProfileProps, type UserStats, UsersKPI, VARIANTS, VARIANT_ICONS, VIEWPORT, type Variant, type VideoAuthor, type VideoChapter, VideoPlayer, type VideoPlayerProps, type VideoQuality, type VideoSubtitle, type VideoTrack, type ViewportSetting, VirtualScrollList, type VirtualScrollListProps, type VirtualizationConfig, type VirtualizedItem, type VisualizerType, WarningAnimation, type WaveformData, WaveformPlayer, type WaveformPlayerProps, Accordion as WebAccordion, type AccordionProps as WebAccordionComponentProps, AccordionContent as WebAccordionContent, type AccordionContentProps as WebAccordionContentComponentProps, AccordionItem as WebAccordionItem, type AccordionItemProps as WebAccordionItemComponentProps, AccordionTrigger as WebAccordionTrigger, type AccordionTriggerProps as WebAccordionTriggerComponentProps, type WebAnimation, Breadcrumbs$1 as WebBreadcrumbs, type BreadcrumbsProps$1 as WebBreadcrumbsComponentProps, type WebComponentProps, EmptyState as WebEmptyState, type EmptyStateProps as WebEmptyStateComponentProps, ErrorEmptyState as WebErrorEmptyState, type ErrorEmptyStateProps as WebErrorEmptyStateComponentProps, MultiSlider as WebMultiSlider, NoDataEmptyState as WebNoDataEmptyState, type NoDataEmptyStateProps as WebNoDataEmptyStateComponentProps, NoResultsEmptyState as WebNoResultsEmptyState, type NoResultsEmptyStateProps as WebNoResultsEmptyStateComponentProps, SimpleAccordion as WebSimpleAccordion, type SimpleAccordionItem as WebSimpleAccordionComponentItem, type SimpleAccordionProps as WebSimpleAccordionComponentProps, SimpleBreadcrumbs as WebSimpleBreadcrumbs, type SimpleBreadcrumbsProps as WebSimpleBreadcrumbsComponentProps, Slider as WebSlider, type SliderProps as WebSliderComponentProps, type WebStyle, Switch as WebSwitch, type SwitchProps as WebSwitchProps, Textarea as WebTextarea, type TextareaProps as WebTextareaComponentProps, TextareaWithCounter as WebTextareaWithCounter, type TextareaWithCounterProps as WebTextareaWithCounterComponentProps, WelcomeModal, Z_INDEX, accordionVariants, animationPresets, audioAppTabs, audioPlayerVariants, breadcrumbsVariants, cn, commonValidators, containerVariants, contentVariants, createAnimation, createDataStore, createFormStore, createOptimizedStore, createSlideVariant, createTransition, dailyTrendingConfig, detectAuthProvider, disableScroll, emptyStateVariants, enableScroll, fadeIn, formVariants, formatCurrency, formatDate, formatNumber, genreChartsConfigs, getConfig, getEnvInfo, getEnvVar, getScrollbarWidth, gridVariants, hamburgerVariants, headerVariants, heroVariants, inputVariants, isBrowser, isExpo, isNative, isWeb, labelVariants, mergeVariants, musicAppTabs, nativeAnimations, nativeConfig, optimizeForPerformance, podcastAppTabs, scaleIn, slideIn, sliderVariants, stateManager, stickyActionsVariants, switchVariants, textareaVariants, theme, themes, toast, toastVariants, useAnimationTokens, useCache, useClickOutside, useCustomPerformanceTracking, useDebouncedCallback, useEscapeKey, useFocusTrap, useGlassmorphism, useInfiniteScroll, useIntersectionObserver, useLazyLoad, useLockBody, useMediaQuery, useMobileNavigation, useMounted, useNetworkInfo, useOfflineState, useOptimizedMemo, useOptimizedStoreSelector, usePerformanceObserver, useRenderPerformanceTracking, useTheme, useThrottledCallback, useToast, useVirtualization, useVisibilityTracking, validateEmail, validateEnvConfig, validatePassword, videoPlayerVariants, webAnimations, webConfig, weeklyChartsConfig, withNetworkAware, withPageTransition };
|