react-component-kit-ui 0.0.0-stage → 0.1.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/CHANGELOG.md +25 -0
- package/LICENSE +21 -0
- package/README.md +225 -2
- package/dist/apexcharts.js +327 -0
- package/dist/app.js +21 -0
- package/dist/buttons.js +26 -0
- package/dist/cards.js +26 -0
- package/dist/charts.js +50 -0
- package/dist/chunks/ActivityHeatmapGrid-P3FP0D6z.js +416 -0
- package/dist/chunks/AnimatedCheckmark-CJEmTxC6.js +19 -0
- package/dist/chunks/AnimatedInput-Dt37HZSs.js +21 -0
- package/dist/chunks/AuthCard-BkWHMFho.js +1409 -0
- package/dist/chunks/Badge-CHkR__dT.js +11 -0
- package/dist/chunks/CartPageList-DvsbjjCi.js +331 -0
- package/dist/chunks/CartToast-UIJFD2CK.js +570 -0
- package/dist/chunks/ChangelogSection-eY4neMby.js +2409 -0
- package/dist/chunks/CountdownBanner-CcpsvvE8.js +1263 -0
- package/dist/chunks/CtaNewsletterSection-Cl3fLVpQ.js +75 -0
- package/dist/chunks/CustomRadioGroup-DAwliU9n.js +26 -0
- package/dist/chunks/DiagonalSectionDivider-CwOOEFbn.js +541 -0
- package/dist/chunks/FloatingFeedbackWidget-D_0EpalW.js +348 -0
- package/dist/chunks/FooterMegaSection-DG1qtKuZ.js +67 -0
- package/dist/chunks/HackerDecodeText-hutANQXI.js +289 -0
- package/dist/chunks/LogoWallGrid-BEpsn1Gt.js +433 -0
- package/dist/chunks/LogoWithGalaxy-q_3-9vGU.js +139 -0
- package/dist/chunks/ProductCardMinimal-lQi5vy3-.js +88 -0
- package/dist/chunks/QuickJumpDock-DZzwR0vg.js +294 -0
- package/dist/chunks/SegmentedBarChart-DEBZURnS.js +384 -0
- package/dist/chunks/ShopCategoryHero-BLlWZ-i3.js +695 -0
- package/dist/chunks/StackedAreaChart-DF1-3rDG.js +453 -0
- package/dist/chunks/StatsTrendCard--nij2Jv0.js +491 -0
- package/dist/chunks/StatusTimelineFeed-BRYwz08g.js +62 -0
- package/dist/chunks/StepBreadcrumbBar-BGXvx5NX.js +32 -0
- package/dist/chunks/StepperInput-Ck_9n2BL.js +30 -0
- package/dist/chunks/TagsAutocompleteInput-BdbVqPbF.js +467 -0
- package/dist/chunks/TiltGlowButton-BRHwq9Af.js +650 -0
- package/dist/chunks/TypingIndicator-DshBNXhx.js +373 -0
- package/dist/chunks/WaterfallChart-C6NFbfO0.js +1337 -0
- package/dist/chunks/cart-store-u-ScUvte.js +212 -0
- package/dist/chunks/chart-tooltip-C7pIc_Su.js +49 -0
- package/dist/chunks/galaxy-scene-C854qLoX.js +231 -0
- package/dist/data.js +28 -0
- package/dist/ecommerce.js +43 -0
- package/dist/favicon.svg +14 -0
- package/dist/feedback.js +28 -0
- package/dist/forms.js +31 -0
- package/dist/global.css +254 -0
- package/dist/index.js +397 -0
- package/dist/layout.js +26 -0
- package/dist/logo-animated.svg +46 -0
- package/dist/logo.svg +46 -0
- package/dist/navigation.js +28 -0
- package/dist/overlays.js +27 -0
- package/dist/robots.txt +4 -0
- package/dist/sections.js +68 -0
- package/dist/styles.css +1 -0
- package/dist/templates/ecommerce-editorial.js +481 -0
- package/dist/templates/ecommerce.js +556 -0
- package/dist/templates/saas-hotel.js +540 -0
- package/dist/three.js +17 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/components/apexcharts.d.ts +3 -0
- package/dist/types/components/index.d.ts +15 -0
- package/dist/types/components/lib/AnimatedGalaxy.d.ts +8 -0
- package/dist/types/components/lib/Galaxy3D.d.ts +15 -0
- package/dist/types/components/lib/LogoWithGalaxy.d.ts +8 -0
- package/dist/types/components/lib/app/AppSidebar.d.ts +53 -0
- package/dist/types/components/lib/app/AppTopbar.d.ts +52 -0
- package/dist/types/components/lib/app/ArrivalsBoard.d.ts +45 -0
- package/dist/types/components/lib/app/AuthCard.d.ts +45 -0
- package/dist/types/components/lib/app/DataTable.d.ts +54 -0
- package/dist/types/components/lib/app/GuestProfileCard.d.ts +48 -0
- package/dist/types/components/lib/app/HousekeepingBoard.d.ts +38 -0
- package/dist/types/components/lib/app/PageHeader.d.ts +45 -0
- package/dist/types/components/lib/app/PlanUsageCard.d.ts +44 -0
- package/dist/types/components/lib/app/RoomRack.d.ts +42 -0
- package/dist/types/components/lib/app/SettingsSection.d.ts +34 -0
- package/dist/types/components/lib/app/SwitchRow.d.ts +28 -0
- package/dist/types/components/lib/app/TeamMembers.d.ts +33 -0
- package/dist/types/components/lib/app/app-icons.d.ts +37 -0
- package/dist/types/components/lib/app/index.d.ts +15 -0
- package/dist/types/components/lib/buttons/AnimatedIconButton.d.ts +22 -0
- package/dist/types/components/lib/buttons/BorderDrawButton.d.ts +19 -0
- package/dist/types/components/lib/buttons/CyberpunkButton.d.ts +23 -0
- package/dist/types/components/lib/buttons/DoubleBorderButton.d.ts +17 -0
- package/dist/types/components/lib/buttons/GhostOutlineButton.d.ts +21 -0
- package/dist/types/components/lib/buttons/GlassButton.d.ts +23 -0
- package/dist/types/components/lib/buttons/GlowButton.d.ts +19 -0
- package/dist/types/components/lib/buttons/LiquidButton.d.ts +19 -0
- package/dist/types/components/lib/buttons/LoadingButton.d.ts +20 -0
- package/dist/types/components/lib/buttons/MagneticButton.d.ts +21 -0
- package/dist/types/components/lib/buttons/MinimalPillButton.d.ts +17 -0
- package/dist/types/components/lib/buttons/NeonBorderButton.d.ts +19 -0
- package/dist/types/components/lib/buttons/NeumorphicButton.d.ts +21 -0
- package/dist/types/components/lib/buttons/PulseButton.d.ts +20 -0
- package/dist/types/components/lib/buttons/RetroArcadeButton.d.ts +17 -0
- package/dist/types/components/lib/buttons/RetroShadowButton.d.ts +17 -0
- package/dist/types/components/lib/buttons/RippleButton.d.ts +17 -0
- package/dist/types/components/lib/buttons/ShimmerButton.d.ts +17 -0
- package/dist/types/components/lib/buttons/ShinyButton.d.ts +17 -0
- package/dist/types/components/lib/buttons/SlideRevealButton.d.ts +20 -0
- package/dist/types/components/lib/buttons/ThreeDPushButton.d.ts +19 -0
- package/dist/types/components/lib/buttons/TiltGlowButton.d.ts +21 -0
- package/dist/types/components/lib/buttons/index.d.ts +22 -0
- package/dist/types/components/lib/cards/BlogHorizontalCard.d.ts +17 -0
- package/dist/types/components/lib/cards/CyberFeatureCard.d.ts +15 -0
- package/dist/types/components/lib/cards/EcommerceProductCard.d.ts +21 -0
- package/dist/types/components/lib/cards/GithubRepoCard.d.ts +25 -0
- package/dist/types/components/lib/cards/GlassCard.d.ts +19 -0
- package/dist/types/components/lib/cards/GlassEventCard.d.ts +17 -0
- package/dist/types/components/lib/cards/GlowPortfolioCard.d.ts +17 -0
- package/dist/types/components/lib/cards/InteractiveTiltCard.d.ts +13 -0
- package/dist/types/components/lib/cards/KanbanItemCard.d.ts +15 -0
- package/dist/types/components/lib/cards/MinimalLinkCard.d.ts +13 -0
- package/dist/types/components/lib/cards/MusicPlayerMini.d.ts +17 -0
- package/dist/types/components/lib/cards/NeumorphicCard.d.ts +13 -0
- package/dist/types/components/lib/cards/NotificationCard.d.ts +15 -0
- package/dist/types/components/lib/cards/PricingCard.d.ts +17 -0
- package/dist/types/components/lib/cards/PricingCompareMiniCard.d.ts +25 -0
- package/dist/types/components/lib/cards/ProfileCard.d.ts +17 -0
- package/dist/types/components/lib/cards/RetroGameCard.d.ts +15 -0
- package/dist/types/components/lib/cards/StatCard.d.ts +15 -0
- package/dist/types/components/lib/cards/StatsTrendCard.d.ts +19 -0
- package/dist/types/components/lib/cards/TaskKanbanCard.d.ts +17 -0
- package/dist/types/components/lib/cards/TestimonialCardClean.d.ts +17 -0
- package/dist/types/components/lib/cards/WeatherWidgetCard.d.ts +17 -0
- package/dist/types/components/lib/cards/index.d.ts +22 -0
- package/dist/types/components/lib/charts/ActivityRings.d.ts +26 -0
- package/dist/types/components/lib/charts/AreaChart.d.ts +16 -0
- package/dist/types/components/lib/charts/BarChart.d.ts +17 -0
- package/dist/types/components/lib/charts/BoxPlotChart.d.ts +26 -0
- package/dist/types/components/lib/charts/BubbleChart.d.ts +35 -0
- package/dist/types/components/lib/charts/BulletChart.d.ts +29 -0
- package/dist/types/components/lib/charts/BumpChart.d.ts +25 -0
- package/dist/types/components/lib/charts/CandlestickChart.d.ts +30 -0
- package/dist/types/components/lib/charts/ChartFrame.d.ts +43 -0
- package/dist/types/components/lib/charts/DivergingBarChart.d.ts +31 -0
- package/dist/types/components/lib/charts/DonutChart.d.ts +16 -0
- package/dist/types/components/lib/charts/DumbbellChart.d.ts +31 -0
- package/dist/types/components/lib/charts/ForecastLineChart.d.ts +30 -0
- package/dist/types/components/lib/charts/FunnelChart.d.ts +24 -0
- package/dist/types/components/lib/charts/GaugeChart.d.ts +29 -0
- package/dist/types/components/lib/charts/GoalProgressChart.d.ts +29 -0
- package/dist/types/components/lib/charts/GroupedBarChart.d.ts +32 -0
- package/dist/types/components/lib/charts/HeatmapChart.d.ts +29 -0
- package/dist/types/components/lib/charts/HistogramChart.d.ts +27 -0
- package/dist/types/components/lib/charts/HorizontalBarChart.d.ts +32 -0
- package/dist/types/components/lib/charts/KpiStatTile.d.ts +28 -0
- package/dist/types/components/lib/charts/KpiTrendGrid.d.ts +27 -0
- package/dist/types/components/lib/charts/LineChart.d.ts +38 -0
- package/dist/types/components/lib/charts/LinearProgressGauge.d.ts +19 -0
- package/dist/types/components/lib/charts/LollipopChart.d.ts +32 -0
- package/dist/types/components/lib/charts/MeterGauge.d.ts +32 -0
- package/dist/types/components/lib/charts/MetricDeltaTable.d.ts +36 -0
- package/dist/types/components/lib/charts/PieChart.d.ts +32 -0
- package/dist/types/components/lib/charts/PolarAreaChart.d.ts +27 -0
- package/dist/types/components/lib/charts/PopulationPyramid.d.ts +31 -0
- package/dist/types/components/lib/charts/PunchCardChart.d.ts +26 -0
- package/dist/types/components/lib/charts/RadarChart.d.ts +28 -0
- package/dist/types/components/lib/charts/RadarMetricChart.d.ts +20 -0
- package/dist/types/components/lib/charts/RadialBarChart.d.ts +27 -0
- package/dist/types/components/lib/charts/RangeAreaChart.d.ts +34 -0
- package/dist/types/components/lib/charts/RetentionCohortTable.d.ts +27 -0
- package/dist/types/components/lib/charts/SankeyChart.d.ts +30 -0
- package/dist/types/components/lib/charts/ScatterPlot.d.ts +35 -0
- package/dist/types/components/lib/charts/SegmentedBarChart.d.ts +30 -0
- package/dist/types/components/lib/charts/SlopeChart.d.ts +33 -0
- package/dist/types/components/lib/charts/SparklineChart.d.ts +24 -0
- package/dist/types/components/lib/charts/StackedAreaChart.d.ts +34 -0
- package/dist/types/components/lib/charts/StackedBarChart.d.ts +33 -0
- package/dist/types/components/lib/charts/SunburstChart.d.ts +33 -0
- package/dist/types/components/lib/charts/TreemapChart.d.ts +31 -0
- package/dist/types/components/lib/charts/WaffleChart.d.ts +26 -0
- package/dist/types/components/lib/charts/WaterfallChart.d.ts +32 -0
- package/dist/types/components/lib/charts/chart-tooltip.d.ts +1 -0
- package/dist/types/components/lib/charts/chart-utils.d.ts +46 -0
- package/dist/types/components/lib/charts/index.d.ts +44 -0
- package/dist/types/components/lib/data/AccordionGroupGlass.d.ts +6 -0
- package/dist/types/components/lib/data/ActivityHeatmapGrid.d.ts +13 -0
- package/dist/types/components/lib/data/AvatarGroupStack.d.ts +6 -0
- package/dist/types/components/lib/data/CalendarGridView.d.ts +6 -0
- package/dist/types/components/lib/data/DataChipsGroup.d.ts +6 -0
- package/dist/types/components/lib/data/DescriptionListHoriz.d.ts +6 -0
- package/dist/types/components/lib/data/FileTreeView.d.ts +6 -0
- package/dist/types/components/lib/data/GanttChartMinimal.d.ts +6 -0
- package/dist/types/components/lib/data/GlassTable.d.ts +6 -0
- package/dist/types/components/lib/data/KeyValuePillGroup.d.ts +6 -0
- package/dist/types/components/lib/data/MetricComparisonRow.d.ts +19 -0
- package/dist/types/components/lib/data/PriceCompareTable.d.ts +6 -0
- package/dist/types/components/lib/data/ProgressListSmall.d.ts +6 -0
- package/dist/types/components/lib/data/RatingBreakdownBar.d.ts +6 -0
- package/dist/types/components/lib/data/SparklineStatCard.d.ts +6 -0
- package/dist/types/components/lib/data/StatsGridDashboard.d.ts +6 -0
- package/dist/types/components/lib/data/StatusTimelineFeed.d.ts +16 -0
- package/dist/types/components/lib/data/StepperDataVertical.d.ts +6 -0
- package/dist/types/components/lib/data/TagCloudData.d.ts +6 -0
- package/dist/types/components/lib/data/TimelineHorizSteps.d.ts +6 -0
- package/dist/types/components/lib/data/TreeItemInteractive.d.ts +6 -0
- package/dist/types/components/lib/data/UserDirectoryItem.d.ts +6 -0
- package/dist/types/components/lib/data/VerticalTimeline.d.ts +6 -0
- package/dist/types/components/lib/data/index.d.ts +23 -0
- package/dist/types/components/lib/ecommerce/CartDrawer.d.ts +43 -0
- package/dist/types/components/lib/ecommerce/CartPageList.d.ts +36 -0
- package/dist/types/components/lib/ecommerce/CartToast.d.ts +34 -0
- package/dist/types/components/lib/ecommerce/CategoryTiles.d.ts +32 -0
- package/dist/types/components/lib/ecommerce/CheckoutForm.d.ts +44 -0
- package/dist/types/components/lib/ecommerce/CountdownBanner.d.ts +38 -0
- package/dist/types/components/lib/ecommerce/FilterBar.d.ts +48 -0
- package/dist/types/components/lib/ecommerce/FilterSidebar.d.ts +42 -0
- package/dist/types/components/lib/ecommerce/LiveActivityToast.d.ts +43 -0
- package/dist/types/components/lib/ecommerce/OrderSummary.d.ts +39 -0
- package/dist/types/components/lib/ecommerce/ProductBuyBox.d.ts +39 -0
- package/dist/types/components/lib/ecommerce/ProductCardMinimal.d.ts +38 -0
- package/dist/types/components/lib/ecommerce/ProductGallery.d.ts +29 -0
- package/dist/types/components/lib/ecommerce/ProductGrid.d.ts +41 -0
- package/dist/types/components/lib/ecommerce/ProductMedia.d.ts +30 -0
- package/dist/types/components/lib/ecommerce/ProductRating.d.ts +23 -0
- package/dist/types/components/lib/ecommerce/ProductToolbar.d.ts +35 -0
- package/dist/types/components/lib/ecommerce/PromoBar.d.ts +29 -0
- package/dist/types/components/lib/ecommerce/StockIndicator.d.ts +29 -0
- package/dist/types/components/lib/ecommerce/StoreHeader.d.ts +54 -0
- package/dist/types/components/lib/ecommerce/StoreHero.d.ts +48 -0
- package/dist/types/components/lib/ecommerce/StoreProductCard.d.ts +40 -0
- package/dist/types/components/lib/ecommerce/TrustBadges.d.ts +24 -0
- package/dist/types/components/lib/ecommerce/VariantPicker.d.ts +37 -0
- package/dist/types/components/lib/ecommerce/cart-store.d.ts +31 -0
- package/dist/types/components/lib/ecommerce/catalog-filter.d.ts +12 -0
- package/dist/types/components/lib/ecommerce/index.d.ts +30 -0
- package/dist/types/components/lib/ecommerce/product-icons.d.ts +20 -0
- package/dist/types/components/lib/ecommerce/types.d.ts +61 -0
- package/dist/types/components/lib/feedback/AnimatedCheckmark.d.ts +14 -0
- package/dist/types/components/lib/feedback/Badge.d.ts +17 -0
- package/dist/types/components/lib/feedback/CircleProgress.d.ts +18 -0
- package/dist/types/components/lib/feedback/ConfettiFeedback.d.ts +18 -0
- package/dist/types/components/lib/feedback/CyberGlitchAlert.d.ts +14 -0
- package/dist/types/components/lib/feedback/EmptyStateCard.d.ts +20 -0
- package/dist/types/components/lib/feedback/GlassAlert.d.ts +15 -0
- package/dist/types/components/lib/feedback/GlassModal.d.ts +24 -0
- package/dist/types/components/lib/feedback/GlassProgress.d.ts +14 -0
- package/dist/types/components/lib/feedback/IndicatorBadgeMinimal.d.ts +17 -0
- package/dist/types/components/lib/feedback/NeonSpinner.d.ts +16 -0
- package/dist/types/components/lib/feedback/ProgressRingCounter.d.ts +22 -0
- package/dist/types/components/lib/feedback/PulseDot.d.ts +14 -0
- package/dist/types/components/lib/feedback/RatingPill.d.ts +15 -0
- package/dist/types/components/lib/feedback/ShakeErrorGroup.d.ts +17 -0
- package/dist/types/components/lib/feedback/SimpleTooltip.d.ts +15 -0
- package/dist/types/components/lib/feedback/SkeletonList.d.ts +12 -0
- package/dist/types/components/lib/feedback/Spotlight.d.ts +15 -0
- package/dist/types/components/lib/feedback/StepProgress.d.ts +16 -0
- package/dist/types/components/lib/feedback/ToastNotif.d.ts +18 -0
- package/dist/types/components/lib/feedback/ToastNotificationGroup.d.ts +22 -0
- package/dist/types/components/lib/feedback/TypingIndicator.d.ts +14 -0
- package/dist/types/components/lib/feedback/index.d.ts +22 -0
- package/dist/types/components/lib/forms/AnimatedInput.d.ts +23 -0
- package/dist/types/components/lib/forms/ChipInput.d.ts +17 -0
- package/dist/types/components/lib/forms/ColorPickerInput.d.ts +17 -0
- package/dist/types/components/lib/forms/CurrencyInput.d.ts +21 -0
- package/dist/types/components/lib/forms/CustomRadioGroup.d.ts +21 -0
- package/dist/types/components/lib/forms/CyberpunkCheckbox.d.ts +17 -0
- package/dist/types/components/lib/forms/DragDropUpload.d.ts +19 -0
- package/dist/types/components/lib/forms/ErrorInput.d.ts +19 -0
- package/dist/types/components/lib/forms/FloatingPassword.d.ts +17 -0
- package/dist/types/components/lib/forms/FormGroupVertical.d.ts +21 -0
- package/dist/types/components/lib/forms/GlassInlineToggleGroup.d.ts +21 -0
- package/dist/types/components/lib/forms/GlassSlider.d.ts +23 -0
- package/dist/types/components/lib/forms/GlassTextarea.d.ts +21 -0
- package/dist/types/components/lib/forms/ModernSelect.d.ts +23 -0
- package/dist/types/components/lib/forms/NeumorphicSwitch.d.ts +17 -0
- package/dist/types/components/lib/forms/OTPInput.d.ts +17 -0
- package/dist/types/components/lib/forms/PasswordStrengthInput.d.ts +19 -0
- package/dist/types/components/lib/forms/PhoneCountryInput.d.ts +19 -0
- package/dist/types/components/lib/forms/RatingStars.d.ts +17 -0
- package/dist/types/components/lib/forms/SearchReveal.d.ts +15 -0
- package/dist/types/components/lib/forms/SegmentedControl.d.ts +19 -0
- package/dist/types/components/lib/forms/SimpleFileInput.d.ts +17 -0
- package/dist/types/components/lib/forms/StepperInput.d.ts +23 -0
- package/dist/types/components/lib/forms/TagsAutocompleteInput.d.ts +19 -0
- package/dist/types/components/lib/forms/index.d.ts +24 -0
- package/dist/types/components/lib/galaxy-scene.d.ts +5 -0
- package/dist/types/components/lib/layout/BentoGrid3.d.ts +14 -0
- package/dist/types/components/lib/layout/CenterFixedBox.d.ts +11 -0
- package/dist/types/components/lib/layout/CenteredContainer.d.ts +27 -0
- package/dist/types/components/lib/layout/ClusterHorizontal.d.ts +13 -0
- package/dist/types/components/lib/layout/DiagonalSectionDivider.d.ts +17 -0
- package/dist/types/components/lib/layout/FeatureHero.d.ts +35 -0
- package/dist/types/components/lib/layout/FooterCenteredMinimal.d.ts +23 -0
- package/dist/types/components/lib/layout/FullBleedSection.d.ts +11 -0
- package/dist/types/components/lib/layout/GalleryGrid4.d.ts +11 -0
- package/dist/types/components/lib/layout/GlassCardGrid.d.ts +16 -0
- package/dist/types/components/lib/layout/GlassSectionHeader.d.ts +30 -0
- package/dist/types/components/lib/layout/HolyGrailGrid.d.ts +23 -0
- package/dist/types/components/lib/layout/LandingSectionSplit.d.ts +14 -0
- package/dist/types/components/lib/layout/MasonryGrid.d.ts +13 -0
- package/dist/types/components/lib/layout/MinimalFooterGrid.d.ts +10 -0
- package/dist/types/components/lib/layout/ScrollSnapSection.d.ts +12 -0
- package/dist/types/components/lib/layout/SectionDividerText.d.ts +23 -0
- package/dist/types/components/lib/layout/SidebarLayoutWrapper.d.ts +33 -0
- package/dist/types/components/lib/layout/SplitScreenLayout.d.ts +12 -0
- package/dist/types/components/lib/layout/StepLayoutVertical.d.ts +9 -0
- package/dist/types/components/lib/layout/StickySidebarWrapper.d.ts +35 -0
- package/dist/types/components/lib/layout/VerticalStack.d.ts +27 -0
- package/dist/types/components/lib/layout/index.d.ts +22 -0
- package/dist/types/components/lib/navigation/AnchorSideNav.d.ts +6 -0
- package/dist/types/components/lib/navigation/BottomNavMobile.d.ts +6 -0
- package/dist/types/components/lib/navigation/BreadcrumbsMinimal.d.ts +6 -0
- package/dist/types/components/lib/navigation/BurgerMorphIcon.d.ts +6 -0
- package/dist/types/components/lib/navigation/CommandPaletteUI.d.ts +6 -0
- package/dist/types/components/lib/navigation/DotNavigationSlider.d.ts +6 -0
- package/dist/types/components/lib/navigation/FloatingTabBar.d.ts +6 -0
- package/dist/types/components/lib/navigation/GlassNavbar.d.ts +12 -0
- package/dist/types/components/lib/navigation/LangSwitcherPill.d.ts +6 -0
- package/dist/types/components/lib/navigation/MegaMenuGlass.d.ts +6 -0
- package/dist/types/components/lib/navigation/MinimalSidebar.d.ts +6 -0
- package/dist/types/components/lib/navigation/PaginationGlass.d.ts +6 -0
- package/dist/types/components/lib/navigation/PaginationInfiniteUI.d.ts +6 -0
- package/dist/types/components/lib/navigation/QuickJumpDock.d.ts +15 -0
- package/dist/types/components/lib/navigation/RadialIconMenu.d.ts +6 -0
- package/dist/types/components/lib/navigation/RetroArcadeMenu.d.ts +6 -0
- package/dist/types/components/lib/navigation/ScrollProgressTop.d.ts +6 -0
- package/dist/types/components/lib/navigation/SimpleFooterGlass.d.ts +6 -0
- package/dist/types/components/lib/navigation/StepBreadcrumbBar.d.ts +16 -0
- package/dist/types/components/lib/navigation/SubNavbarPills.d.ts +18 -0
- package/dist/types/components/lib/navigation/TabUnderline.d.ts +6 -0
- package/dist/types/components/lib/navigation/UserProfileNav.d.ts +6 -0
- package/dist/types/components/lib/navigation/VerticalTabs.d.ts +6 -0
- package/dist/types/components/lib/navigation/index.d.ts +23 -0
- package/dist/types/components/lib/overlays/AgeVerificationOverlay.d.ts +6 -0
- package/dist/types/components/lib/overlays/BackdropBlurMask.d.ts +6 -0
- package/dist/types/components/lib/overlays/BottomSheetMobile.d.ts +6 -0
- package/dist/types/components/lib/overlays/CommandDialog.d.ts +6 -0
- package/dist/types/components/lib/overlays/ContextMenuOverlay.d.ts +6 -0
- package/dist/types/components/lib/overlays/CookieBannerGlass.d.ts +6 -0
- package/dist/types/components/lib/overlays/CookiePreferencesDrawer.d.ts +13 -0
- package/dist/types/components/lib/overlays/ExitIntentOverlay.d.ts +6 -0
- package/dist/types/components/lib/overlays/FloatingFeedbackWidget.d.ts +13 -0
- package/dist/types/components/lib/overlays/FloatingTrayActions.d.ts +6 -0
- package/dist/types/components/lib/overlays/HelpBubbleOverlay.d.ts +6 -0
- package/dist/types/components/lib/overlays/ImageCompareSlider.d.ts +19 -0
- package/dist/types/components/lib/overlays/LightboxOverlay.d.ts +6 -0
- package/dist/types/components/lib/overlays/LoadingOverlayFull.d.ts +6 -0
- package/dist/types/components/lib/overlays/MobileNavOverlay.d.ts +6 -0
- package/dist/types/components/lib/overlays/OverlayModal.d.ts +6 -0
- package/dist/types/components/lib/overlays/PopoverMenuGlass.d.ts +6 -0
- package/dist/types/components/lib/overlays/SearchOverlayFullscreen.d.ts +6 -0
- package/dist/types/components/lib/overlays/SideDrawerRight.d.ts +8 -0
- package/dist/types/components/lib/overlays/SplashIntroOverlay.d.ts +6 -0
- package/dist/types/components/lib/overlays/SpotlightIndicator.d.ts +6 -0
- package/dist/types/components/lib/overlays/ToastStackOverlay.d.ts +6 -0
- package/dist/types/components/lib/overlays/TooltipActionTray.d.ts +6 -0
- package/dist/types/components/lib/overlays/index.d.ts +23 -0
- package/dist/types/components/lib/sections/AgencyContactBrief.d.ts +44 -0
- package/dist/types/components/lib/sections/AgencyFooterCta.d.ts +46 -0
- package/dist/types/components/lib/sections/AgencyHeader.d.ts +37 -0
- package/dist/types/components/lib/sections/AgencyHeroKinetic.d.ts +45 -0
- package/dist/types/components/lib/sections/AgencyServicesList.d.ts +35 -0
- package/dist/types/components/lib/sections/AgencyTeamGrid.d.ts +45 -0
- package/dist/types/components/lib/sections/AgencyWorkGrid.d.ts +42 -0
- package/dist/types/components/lib/sections/BlogGridSection.d.ts +35 -0
- package/dist/types/components/lib/sections/ButtonsShowcase.d.ts +8 -0
- package/dist/types/components/lib/sections/CardsShowcase.d.ts +8 -0
- package/dist/types/components/lib/sections/CareersOpenings.d.ts +37 -0
- package/dist/types/components/lib/sections/ChangelogSection.d.ts +37 -0
- package/dist/types/components/lib/sections/ContactGlassForm.d.ts +16 -0
- package/dist/types/components/lib/sections/ContactSplitMap.d.ts +36 -0
- package/dist/types/components/lib/sections/CtaAppDownload.d.ts +16 -0
- package/dist/types/components/lib/sections/CtaGlowBanner.d.ts +20 -0
- package/dist/types/components/lib/sections/CtaNewsletterSection.d.ts +28 -0
- package/dist/types/components/lib/sections/CtaSplitImage.d.ts +39 -0
- package/dist/types/components/lib/sections/DataShowcase.d.ts +8 -0
- package/dist/types/components/lib/sections/FaqAccordionSection.d.ts +16 -0
- package/dist/types/components/lib/sections/FaqTwoColumn.d.ts +32 -0
- package/dist/types/components/lib/sections/FeatureAlternatingRows.d.ts +29 -0
- package/dist/types/components/lib/sections/FeatureBentoGrid.d.ts +16 -0
- package/dist/types/components/lib/sections/FeatureIconGrid.d.ts +33 -0
- package/dist/types/components/lib/sections/FeatureTabsShowcase.d.ts +30 -0
- package/dist/types/components/lib/sections/FeatureTimelineFlow.d.ts +16 -0
- package/dist/types/components/lib/sections/FeedbackShowcase.d.ts +8 -0
- package/dist/types/components/lib/sections/FooterMegaSection.d.ts +40 -0
- package/dist/types/components/lib/sections/FormsShowcase.d.ts +8 -0
- package/dist/types/components/lib/sections/HeroDashboardPreview.d.ts +32 -0
- package/dist/types/components/lib/sections/HeroGlass.d.ts +8 -0
- package/dist/types/components/lib/sections/HeroGradient.d.ts +8 -0
- package/dist/types/components/lib/sections/HeroMinimalCentered.d.ts +36 -0
- package/dist/types/components/lib/sections/HeroShowcaseSplit.d.ts +25 -0
- package/dist/types/components/lib/sections/HeroSplit.d.ts +8 -0
- package/dist/types/components/lib/sections/HeroTerminal.d.ts +35 -0
- package/dist/types/components/lib/sections/HeroWaitlist.d.ts +30 -0
- package/dist/types/components/lib/sections/HowItWorksSteps.d.ts +32 -0
- package/dist/types/components/lib/sections/IntegrationsGrid.d.ts +28 -0
- package/dist/types/components/lib/sections/LayoutShowcase.d.ts +8 -0
- package/dist/types/components/lib/sections/LogoCloudSection.d.ts +16 -0
- package/dist/types/components/lib/sections/LogoWallGrid.d.ts +28 -0
- package/dist/types/components/lib/sections/NavigationShowcase.d.ts +8 -0
- package/dist/types/components/lib/sections/OverlaysShowcase.d.ts +8 -0
- package/dist/types/components/lib/sections/PricingComparisonMatrix.d.ts +16 -0
- package/dist/types/components/lib/sections/PricingSinglePlan.d.ts +37 -0
- package/dist/types/components/lib/sections/PricingTierCards.d.ts +16 -0
- package/dist/types/components/lib/sections/PricingToggleCards.d.ts +36 -0
- package/dist/types/components/lib/sections/ShopCategoryHero.d.ts +41 -0
- package/dist/types/components/lib/sections/ShopCollectionMosaic.d.ts +37 -0
- package/dist/types/components/lib/sections/ShopFooterWordmark.d.ts +38 -0
- package/dist/types/components/lib/sections/ShopHeaderEditorial.d.ts +61 -0
- package/dist/types/components/lib/sections/ShopHeroEditorial.d.ts +45 -0
- package/dist/types/components/lib/sections/ShopLookbook.d.ts +47 -0
- package/dist/types/components/lib/sections/ShopNewsletterEditorial.d.ts +33 -0
- package/dist/types/components/lib/sections/ShopProductRail.d.ts +41 -0
- package/dist/types/components/lib/sections/ShopReviewsEditorial.d.ts +34 -0
- package/dist/types/components/lib/sections/ShopValuesMarquee.d.ts +28 -0
- package/dist/types/components/lib/sections/StatsCounterBand.d.ts +30 -0
- package/dist/types/components/lib/sections/StatsDashboardSection.d.ts +31 -0
- package/dist/types/components/lib/sections/StatsMetricShowcase.d.ts +16 -0
- package/dist/types/components/lib/sections/TeamGridSection.d.ts +16 -0
- package/dist/types/components/lib/sections/TestimonialCarousel.d.ts +26 -0
- package/dist/types/components/lib/sections/TestimonialFeatured.d.ts +34 -0
- package/dist/types/components/lib/sections/TestimonialGridSection.d.ts +15 -0
- package/dist/types/components/lib/sections/TestimonialWallGlass.d.ts +16 -0
- package/dist/types/components/lib/sections/TypographyShowcase.d.ts +8 -0
- package/dist/types/components/lib/sections/index.d.ts +60 -0
- package/dist/types/components/lib/templates/ecommerce/StoreCategoryPage.d.ts +28 -0
- package/dist/types/components/lib/templates/ecommerce/StoreCheckoutPage.d.ts +25 -0
- package/dist/types/components/lib/templates/ecommerce/StoreHomePage.d.ts +25 -0
- package/dist/types/components/lib/templates/ecommerce/StoreLayout.d.ts +41 -0
- package/dist/types/components/lib/templates/ecommerce/StoreProductPage.d.ts +28 -0
- package/dist/types/components/lib/templates/ecommerce/data.d.ts +49 -0
- package/dist/types/components/lib/templates/ecommerce/index.d.ts +7 -0
- package/dist/types/components/lib/templates/ecommerce-editorial/EditorialBagPage.d.ts +25 -0
- package/dist/types/components/lib/templates/ecommerce-editorial/EditorialCheckoutPage.d.ts +25 -0
- package/dist/types/components/lib/templates/ecommerce-editorial/EditorialHomePage.d.ts +25 -0
- package/dist/types/components/lib/templates/ecommerce-editorial/EditorialLayout.d.ts +36 -0
- package/dist/types/components/lib/templates/ecommerce-editorial/EditorialProductPage.d.ts +29 -0
- package/dist/types/components/lib/templates/ecommerce-editorial/EditorialShopPage.d.ts +28 -0
- package/dist/types/components/lib/templates/ecommerce-editorial/data.d.ts +50 -0
- package/dist/types/components/lib/templates/ecommerce-editorial/index.d.ts +8 -0
- package/dist/types/components/lib/templates/saas-hotel/AppLayout.d.ts +30 -0
- package/dist/types/components/lib/templates/saas-hotel/DashboardPage.d.ts +20 -0
- package/dist/types/components/lib/templates/saas-hotel/GuestsPage.d.ts +20 -0
- package/dist/types/components/lib/templates/saas-hotel/LandingPage.d.ts +24 -0
- package/dist/types/components/lib/templates/saas-hotel/ReportsPage.d.ts +20 -0
- package/dist/types/components/lib/templates/saas-hotel/ReservationsPage.d.ts +20 -0
- package/dist/types/components/lib/templates/saas-hotel/RoomsPage.d.ts +20 -0
- package/dist/types/components/lib/templates/saas-hotel/SettingsPage.d.ts +21 -0
- package/dist/types/components/lib/templates/saas-hotel/SignInPage.d.ts +23 -0
- package/dist/types/components/lib/templates/saas-hotel/data.d.ts +224 -0
- package/dist/types/components/lib/templates/saas-hotel/index.d.ts +11 -0
- package/dist/types/components/lib/typography/AnimatedCounterText.d.ts +19 -0
- package/dist/types/components/lib/typography/AnimatedUnderlineLink.d.ts +9 -0
- package/dist/types/components/lib/typography/BackgroundClipMask.d.ts +8 -0
- package/dist/types/components/lib/typography/CodeInlineGlass.d.ts +8 -0
- package/dist/types/components/lib/typography/CurvedPathHeading.d.ts +15 -0
- package/dist/types/components/lib/typography/CyberpunkGlitchText.d.ts +7 -0
- package/dist/types/components/lib/typography/DropCapParagraph.d.ts +8 -0
- package/dist/types/components/lib/typography/FadedVerticalText.d.ts +8 -0
- package/dist/types/components/lib/typography/FloatingTextLabel.d.ts +8 -0
- package/dist/types/components/lib/typography/GlassBlockQuote.d.ts +8 -0
- package/dist/types/components/lib/typography/GlassTextReveal.d.ts +8 -0
- package/dist/types/components/lib/typography/GradientHeading.d.ts +11 -0
- package/dist/types/components/lib/typography/GradientTextMarquee.d.ts +15 -0
- package/dist/types/components/lib/typography/GradientUnderlineLink.d.ts +8 -0
- package/dist/types/components/lib/typography/HackerDecodeText.d.ts +15 -0
- package/dist/types/components/lib/typography/KbdIndicator.d.ts +8 -0
- package/dist/types/components/lib/typography/LetterSpacingWide.d.ts +8 -0
- package/dist/types/components/lib/typography/MinimalListMarkers.d.ts +8 -0
- package/dist/types/components/lib/typography/MonospaceStatLine.d.ts +8 -0
- package/dist/types/components/lib/typography/NeonTextHighlight.d.ts +8 -0
- package/dist/types/components/lib/typography/ShadowRevealText.d.ts +8 -0
- package/dist/types/components/lib/typography/StrokeHeadingOutline.d.ts +8 -0
- package/dist/types/components/lib/typography/Text3DLayer.d.ts +8 -0
- package/dist/types/components/lib/typography/TypewriterText.d.ts +8 -0
- package/dist/types/components/lib/typography/index.d.ts +24 -0
- package/dist/types/components/three.d.ts +1 -0
- package/dist/typography.js +28 -0
- package/package.json +237 -4
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './StatusTimelineFeed.css';
|
|
2
|
+
/**
|
|
3
|
+
* StatusTimelineFeed — Chronological event audit feed with status icons, timestamps, and detail lines.
|
|
4
|
+
*
|
|
5
|
+
* @param {Array<{title: string, desc: string, time: string, status: 'done' | 'active' | 'pending'}>} events - Timeline events.
|
|
6
|
+
*/
|
|
7
|
+
export interface StatusTimelineFeedProps {
|
|
8
|
+
events?: Array<{
|
|
9
|
+
title: string;
|
|
10
|
+
desc: string;
|
|
11
|
+
time: string;
|
|
12
|
+
status: 'done' | 'active' | 'pending';
|
|
13
|
+
}>;
|
|
14
|
+
}
|
|
15
|
+
export declare function StatusTimelineFeed({ events, }: StatusTimelineFeedProps): import("react").JSX.Element;
|
|
16
|
+
export default StatusTimelineFeed;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { default as AccordionGroupGlass } from './AccordionGroupGlass';
|
|
2
|
+
export { default as AvatarGroupStack } from './AvatarGroupStack';
|
|
3
|
+
export { default as CalendarGridView } from './CalendarGridView';
|
|
4
|
+
export { default as DataChipsGroup } from './DataChipsGroup';
|
|
5
|
+
export { default as DescriptionListHoriz } from './DescriptionListHoriz';
|
|
6
|
+
export { default as FileTreeView } from './FileTreeView';
|
|
7
|
+
export { default as GanttChartMinimal } from './GanttChartMinimal';
|
|
8
|
+
export { default as GlassTable } from './GlassTable';
|
|
9
|
+
export { default as KeyValuePillGroup } from './KeyValuePillGroup';
|
|
10
|
+
export { default as PriceCompareTable } from './PriceCompareTable';
|
|
11
|
+
export { default as ProgressListSmall } from './ProgressListSmall';
|
|
12
|
+
export { default as RatingBreakdownBar } from './RatingBreakdownBar';
|
|
13
|
+
export { default as SparklineStatCard } from './SparklineStatCard';
|
|
14
|
+
export { default as StatsGridDashboard } from './StatsGridDashboard';
|
|
15
|
+
export { default as StepperDataVertical } from './StepperDataVertical';
|
|
16
|
+
export { default as TagCloudData } from './TagCloudData';
|
|
17
|
+
export { default as TimelineHorizSteps } from './TimelineHorizSteps';
|
|
18
|
+
export { default as TreeItemInteractive } from './TreeItemInteractive';
|
|
19
|
+
export { default as UserDirectoryItem } from './UserDirectoryItem';
|
|
20
|
+
export { default as VerticalTimeline } from './VerticalTimeline';
|
|
21
|
+
export { default as MetricComparisonRow } from './MetricComparisonRow';
|
|
22
|
+
export { default as ActivityHeatmapGrid } from './ActivityHeatmapGrid';
|
|
23
|
+
export { default as StatusTimelineFeed } from './StatusTimelineFeed';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { CartItem } from './types';
|
|
2
|
+
import './CartDrawer.css';
|
|
3
|
+
/**
|
|
4
|
+
* CartDrawer — Slide-in cart with line items, quantity steppers, remove, free-shipping
|
|
5
|
+
* progress, subtotal and checkout button. Reads and writes the shared cart store.
|
|
6
|
+
*
|
|
7
|
+
* Opens on the `ack:cart-open` event (dispatched by StoreHeader's cart button and by
|
|
8
|
+
* add-to-cart buttons) or on any `[data-cart-open]` element outside a StoreHeader.
|
|
9
|
+
*
|
|
10
|
+
* @param {string} cartKey - Cart storage key. Default 'ack-cart'.
|
|
11
|
+
* @param {string} title - Drawer heading. Default 'Your cart'.
|
|
12
|
+
* @param {string} checkoutHref - Checkout page URL. Default '#'.
|
|
13
|
+
* @param {string} checkoutLabel - Checkout button label. Default 'Checkout'.
|
|
14
|
+
* @param {string} currency - ISO currency. Default 'USD'.
|
|
15
|
+
* @param {string} locale - Number format locale. Default 'en-US'.
|
|
16
|
+
* @param {number} freeShippingThreshold - Shows progress towards free shipping (0 hides it). Default 75.
|
|
17
|
+
* @param {CartItem[]} demoItems - Seeds an empty cart once (demo stores only).
|
|
18
|
+
* @param {boolean} inline - Render as an always-visible panel instead of an overlay (docs/previews). Default false.
|
|
19
|
+
* @param {string} side - Slide-in side (right|left). Default 'right'.
|
|
20
|
+
* @param {string} size - Panel width (sm|md|lg). Default 'md'.
|
|
21
|
+
* @param {string} id - Base id for inner elements (unique per page). Default 'cart-drawer'.
|
|
22
|
+
* @param {string} className - Extra class.
|
|
23
|
+
*
|
|
24
|
+
* Accessibility: modal dialog with focus trap, Escape to close, focus returned to the trigger,
|
|
25
|
+
* background scroll locked; totals are announced through a polite live region.
|
|
26
|
+
*/
|
|
27
|
+
export interface CartDrawerProps {
|
|
28
|
+
cartKey?: string;
|
|
29
|
+
title?: string;
|
|
30
|
+
checkoutHref?: string;
|
|
31
|
+
checkoutLabel?: string;
|
|
32
|
+
currency?: string;
|
|
33
|
+
locale?: string;
|
|
34
|
+
freeShippingThreshold?: number;
|
|
35
|
+
demoItems?: CartItem[];
|
|
36
|
+
inline?: boolean;
|
|
37
|
+
side?: 'right' | 'left';
|
|
38
|
+
size?: 'sm' | 'md' | 'lg';
|
|
39
|
+
id?: string;
|
|
40
|
+
className?: string;
|
|
41
|
+
}
|
|
42
|
+
export declare function CartDrawer({ cartKey, title, checkoutHref, checkoutLabel, currency, locale, freeShippingThreshold, demoItems, inline, side, size, id, className, }: CartDrawerProps): import("react").JSX.Element;
|
|
43
|
+
export default CartDrawer;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { CartItem } from './types';
|
|
2
|
+
import './CartPageList.css';
|
|
3
|
+
/**
|
|
4
|
+
* CartPageList — Full shopping-bag page: line items with quantity and remove, gift note,
|
|
5
|
+
* free-shipping progress and a summary card with the checkout button. Reads the cart store live.
|
|
6
|
+
*
|
|
7
|
+
* @param {string} cartKey - Cart storage key. Default 'ack-cart'.
|
|
8
|
+
* @param {string} title - Page heading. Default 'Your bag'.
|
|
9
|
+
* @param {string} checkoutHref - Checkout URL. Default '#'.
|
|
10
|
+
* @param {string} continueHref - "Continue shopping" URL. Default '#'.
|
|
11
|
+
* @param {number} freeShippingThreshold - Free shipping from this subtotal (0 hides it). Default 150.
|
|
12
|
+
* @param {number} shippingFlat - Shipping estimate below the threshold. Default 8.
|
|
13
|
+
* @param {string} currency - ISO currency. Default 'EUR'.
|
|
14
|
+
* @param {string} locale - Number format locale. Default 'en-GB'.
|
|
15
|
+
* @param {CartItem[]} demoItems - Seeds an empty cart once (demos only).
|
|
16
|
+
* @param {string} variant - Style (editorial|card). Default 'editorial'.
|
|
17
|
+
* @param {string} className - Extra class.
|
|
18
|
+
*
|
|
19
|
+
* Accessibility: one h1; the item list is a real list with labelled quantity buttons;
|
|
20
|
+
* totals are a polite live region; removing an item moves focus to the next row (or the heading).
|
|
21
|
+
*/
|
|
22
|
+
export interface CartPageListProps {
|
|
23
|
+
cartKey?: string;
|
|
24
|
+
title?: string;
|
|
25
|
+
checkoutHref?: string;
|
|
26
|
+
continueHref?: string;
|
|
27
|
+
freeShippingThreshold?: number;
|
|
28
|
+
shippingFlat?: number;
|
|
29
|
+
currency?: string;
|
|
30
|
+
locale?: string;
|
|
31
|
+
demoItems?: CartItem[];
|
|
32
|
+
variant?: 'editorial' | 'card';
|
|
33
|
+
className?: string;
|
|
34
|
+
}
|
|
35
|
+
export declare function CartPageList({ cartKey, title, checkoutHref, continueHref, freeShippingThreshold, shippingFlat, currency, locale, demoItems, variant, className, }: CartPageListProps): import("react").JSX.Element;
|
|
36
|
+
export default CartPageList;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import './CartToast.css';
|
|
2
|
+
/**
|
|
3
|
+
* CartToast — Stacked live notifications for the shop: "Added to cart" (with a View cart
|
|
4
|
+
* action) whenever an add-to-cart button skips the drawer, plus any custom notice sent with
|
|
5
|
+
* `document.dispatchEvent(new CustomEvent('ack:notify', { detail: { title, text, tone } }))`.
|
|
6
|
+
*
|
|
7
|
+
* @param {string} cartKey - Only react to this cart. Default 'ack-cart'.
|
|
8
|
+
* @param {string} position - Screen corner (bottom-right|bottom-left|top-right|top-center). Default 'bottom-right'.
|
|
9
|
+
* @param {number} duration - Auto-dismiss delay in ms (paused on hover/focus). Default 4500.
|
|
10
|
+
* @param {number} max - Maximum toasts visible at once. Default 3.
|
|
11
|
+
* @param {string} addedTitle - Title for cart notices. Default 'Added to cart'.
|
|
12
|
+
* @param {string} actionLabel - Cart action label. Default 'View cart'.
|
|
13
|
+
* @param {boolean} always - Also toast when the drawer opens on add. Default false.
|
|
14
|
+
* @param {boolean} demo - Render one static example toast (docs/previews). Default false.
|
|
15
|
+
* @param {string} variant - Style (glass|solid). Default 'glass'.
|
|
16
|
+
* @param {string} className - Extra class.
|
|
17
|
+
*
|
|
18
|
+
* Accessibility: polite live region (role="status"), every toast has a close button,
|
|
19
|
+
* timers pause while hovered or focused, motion is removed with prefers-reduced-motion.
|
|
20
|
+
*/
|
|
21
|
+
export interface CartToastProps {
|
|
22
|
+
cartKey?: string;
|
|
23
|
+
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-center';
|
|
24
|
+
duration?: number;
|
|
25
|
+
max?: number;
|
|
26
|
+
addedTitle?: string;
|
|
27
|
+
actionLabel?: string;
|
|
28
|
+
always?: boolean;
|
|
29
|
+
demo?: boolean;
|
|
30
|
+
variant?: 'glass' | 'solid';
|
|
31
|
+
className?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare function CartToast({ cartKey, position, duration, max, addedTitle, actionLabel, always, demo, variant, className, }: CartToastProps): import("react").JSX.Element;
|
|
34
|
+
export default CartToast;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { StoreCategory } from './types';
|
|
2
|
+
import './CategoryTiles.css';
|
|
3
|
+
type Tile = StoreCategory & {
|
|
4
|
+
href: string;
|
|
5
|
+
count?: number;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* CategoryTiles — Grid of shop categories with illustration, item count and arrow link.
|
|
9
|
+
*
|
|
10
|
+
* @param {string} title - Section heading (optional). Default 'Shop by category'.
|
|
11
|
+
* @param {string} subtitle - Supporting copy (optional).
|
|
12
|
+
* @param {Array<StoreCategory & { href: string, count?: number }>} categories - Tiles to show.
|
|
13
|
+
* @param {number} columns - Desktop columns (2–6). Default 4.
|
|
14
|
+
* @param {string} variant - Tile style (glass|image|minimal). Default 'glass'.
|
|
15
|
+
* @param {string} size - Tile height (sm|md|lg). Default 'md'.
|
|
16
|
+
* @param {string} countLabel - Suffix after the count. Default 'products'.
|
|
17
|
+
* @param {string} className - Extra class.
|
|
18
|
+
*
|
|
19
|
+
* Accessibility: each tile is a single link with a visible name; art is decorative.
|
|
20
|
+
*/
|
|
21
|
+
export interface CategoryTilesProps {
|
|
22
|
+
title?: string;
|
|
23
|
+
subtitle?: string;
|
|
24
|
+
categories?: Tile[];
|
|
25
|
+
columns?: number;
|
|
26
|
+
variant?: 'glass' | 'image' | 'minimal';
|
|
27
|
+
size?: 'sm' | 'md' | 'lg';
|
|
28
|
+
countLabel?: string;
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function CategoryTiles({ title, subtitle, categories, columns, variant, size, countLabel, className, }: CategoryTilesProps): import("react").JSX.Element;
|
|
32
|
+
export default CategoryTiles;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ShippingRate } from './types';
|
|
2
|
+
import './CheckoutForm.css';
|
|
3
|
+
/**
|
|
4
|
+
* CheckoutForm — One-page checkout: contact, delivery address, shipping method and payment,
|
|
5
|
+
* built from AnimatedInput, ModernSelect and CustomRadioGroup. Shows an order confirmation
|
|
6
|
+
* (AnimatedCheckmark) on submit and clears the cart.
|
|
7
|
+
*
|
|
8
|
+
* Pair it with OrderSummary: the shipping radios drive its totals and the pay button shows
|
|
9
|
+
* the live total. Replace the demo submit handler with your payment provider.
|
|
10
|
+
*
|
|
11
|
+
* @param {string} id - Form id. Default 'checkout'.
|
|
12
|
+
* @param {ShippingRate[]} shippingRates - Shipping options (must match OrderSummary).
|
|
13
|
+
* @param {number} freeShippingThreshold - Shows "Free" on the first rate above this subtotal. Default 75.
|
|
14
|
+
* @param {Array<{label: string, value: string}>} countries - Country select options.
|
|
15
|
+
* @param {string} cartKey - Cart storage key. Default 'ack-cart'.
|
|
16
|
+
* @param {string} currency - ISO currency. Default 'USD'.
|
|
17
|
+
* @param {string} locale - Number format locale. Default 'en-US'.
|
|
18
|
+
* @param {string} continueHref - "Continue shopping" link on the confirmation. Default '#'.
|
|
19
|
+
* @param {boolean} demo - Simulates payment and never sends data anywhere. Default true.
|
|
20
|
+
* @param {string} variant - Section style (cards|plain). Default 'cards'.
|
|
21
|
+
* @param {string} className - Extra class.
|
|
22
|
+
*
|
|
23
|
+
* Accessibility: grouped fieldsets with legends, autocomplete hints on every field, native
|
|
24
|
+
* validation with focus moved to the first invalid field, confirmation heading receives focus.
|
|
25
|
+
* Emits `ack:order-placed` with `{ orderId, total }`.
|
|
26
|
+
*/
|
|
27
|
+
export interface CheckoutFormProps {
|
|
28
|
+
id?: string;
|
|
29
|
+
shippingRates?: ShippingRate[];
|
|
30
|
+
freeShippingThreshold?: number;
|
|
31
|
+
countries?: Array<{
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
}>;
|
|
35
|
+
cartKey?: string;
|
|
36
|
+
currency?: string;
|
|
37
|
+
locale?: string;
|
|
38
|
+
continueHref?: string;
|
|
39
|
+
demo?: boolean;
|
|
40
|
+
variant?: 'cards' | 'plain';
|
|
41
|
+
className?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function CheckoutForm({ id, shippingRates, freeShippingThreshold, countries, cartKey, currency, locale, continueHref, demo, variant, className, }: CheckoutFormProps): import("react").JSX.Element;
|
|
44
|
+
export default CheckoutForm;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import './CountdownBanner.css';
|
|
2
|
+
/**
|
|
3
|
+
* CountdownBanner — Live sale countdown (days · hours · minutes · seconds) with title,
|
|
4
|
+
* copy and CTA; switches to an "ended" message when the time runs out.
|
|
5
|
+
*
|
|
6
|
+
* @param {string} endsAt - ISO date the offer ends. When omitted, `hours` is used.
|
|
7
|
+
* @param {number} hours - Rolling offer length in hours, counted from the visitor's first view (stored in localStorage). Default 48.
|
|
8
|
+
* @param {string} eyebrow - Small label. Default 'Flash sale'.
|
|
9
|
+
* @param {string} title - Headline. Default 'Up to 30% off the Storm collection'.
|
|
10
|
+
* @param {string} text - Supporting copy.
|
|
11
|
+
* @param {{label: string, href: string}} cta - Call to action.
|
|
12
|
+
* @param {string} endedText - Message shown after the deadline. Default 'This offer has ended — new deals every Friday.'
|
|
13
|
+
* @param {string} storageKey - localStorage key for the rolling deadline. Default 'ack-countdown'.
|
|
14
|
+
* @param {string} variant - Style (glow|bar|card). Default 'glow'.
|
|
15
|
+
* @param {string} size - Density (sm|md|lg). Default 'md'.
|
|
16
|
+
* @param {string} className - Extra class.
|
|
17
|
+
*
|
|
18
|
+
* Accessibility: the ticking digits are aria-hidden; a visually hidden sentence with the remaining
|
|
19
|
+
* time updates once a minute in a polite live region (no per-second announcements).
|
|
20
|
+
*/
|
|
21
|
+
export interface CountdownBannerProps {
|
|
22
|
+
endsAt?: string;
|
|
23
|
+
hours?: number;
|
|
24
|
+
eyebrow?: string;
|
|
25
|
+
title?: string;
|
|
26
|
+
text?: string;
|
|
27
|
+
cta?: {
|
|
28
|
+
label: string;
|
|
29
|
+
href: string;
|
|
30
|
+
};
|
|
31
|
+
endedText?: string;
|
|
32
|
+
storageKey?: string;
|
|
33
|
+
variant?: 'glow' | 'bar' | 'card';
|
|
34
|
+
size?: 'sm' | 'md' | 'lg';
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function CountdownBanner({ endsAt, hours, eyebrow, title, text, cta, endedText, storageKey, variant, size, className, }: CountdownBannerProps): import("react").JSX.Element;
|
|
38
|
+
export default CountdownBanner;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import './FilterBar.css';
|
|
2
|
+
/**
|
|
3
|
+
* FilterBar — Horizontal catalogue toolbar: category chips, a "Refine" panel (price, colour,
|
|
4
|
+
* availability), sort select and a live count. Filters any grid of product cards instantly.
|
|
5
|
+
*
|
|
6
|
+
* @param {string} target - id of the product grid. Default 'product-grid'.
|
|
7
|
+
* @param {Array<{id: string, name: string, count?: number}>} categories - Category chips.
|
|
8
|
+
* @param {string[]} selected - Pre-selected category ids (also read from `?category=`).
|
|
9
|
+
* @param {number} maxPrice - Upper bound of the price slider. Default 400.
|
|
10
|
+
* @param {Array<{name: string, hex: string}>} colors - Colour options.
|
|
11
|
+
* @param {number} total - Initial product count. Default 0.
|
|
12
|
+
* @param {string} allLabel - Label of the "all" chip. Default 'All'.
|
|
13
|
+
* @param {string} countLabel - Text after the count. Default 'products'.
|
|
14
|
+
* @param {string} currency - ISO currency. Default 'EUR'.
|
|
15
|
+
* @param {string} locale - Number format locale. Default 'en-GB'.
|
|
16
|
+
* @param {boolean} sticky - Stick under the header while scrolling. Default true.
|
|
17
|
+
* @param {string} variant - Style (line|filled). Default 'line'.
|
|
18
|
+
* @param {string} id - Base id. Default 'filter-bar'.
|
|
19
|
+
* @param {string} className - Extra class.
|
|
20
|
+
*
|
|
21
|
+
* Accessibility: chips are toggle buttons (aria-pressed); "Refine" is a disclosure that closes
|
|
22
|
+
* with Escape; the count is a polite live region; all controls are native inputs.
|
|
23
|
+
*/
|
|
24
|
+
export interface FilterBarProps {
|
|
25
|
+
target?: string;
|
|
26
|
+
categories?: Array<{
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
count?: number;
|
|
30
|
+
}>;
|
|
31
|
+
selected?: string[];
|
|
32
|
+
maxPrice?: number;
|
|
33
|
+
colors?: Array<{
|
|
34
|
+
name: string;
|
|
35
|
+
hex: string;
|
|
36
|
+
}>;
|
|
37
|
+
total?: number;
|
|
38
|
+
allLabel?: string;
|
|
39
|
+
countLabel?: string;
|
|
40
|
+
currency?: string;
|
|
41
|
+
locale?: string;
|
|
42
|
+
sticky?: boolean;
|
|
43
|
+
variant?: 'line' | 'filled';
|
|
44
|
+
id?: string;
|
|
45
|
+
className?: string;
|
|
46
|
+
}
|
|
47
|
+
export declare function FilterBar({ target, categories, selected, maxPrice, colors, total, allLabel, countLabel, currency, locale, sticky, variant, id, className, }: FilterBarProps): import("react").JSX.Element;
|
|
48
|
+
export default FilterBar;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import './FilterSidebar.css';
|
|
2
|
+
/**
|
|
3
|
+
* FilterSidebar — Catalog filters (category, max price, colour, rating, stock) that filter
|
|
4
|
+
* and sort a ProductGrid instantly in the browser. Collapses behind a "Filters" button on mobile.
|
|
5
|
+
*
|
|
6
|
+
* @param {string} target - id of the ProductGrid to filter. Default 'product-grid'.
|
|
7
|
+
* @param {string} id - Form id; ProductToolbar's sort select uses `${id}-sort`. Default 'catalog-filters'.
|
|
8
|
+
* @param {Array<{id: string, name: string, count?: number}>} categories - Category checkboxes.
|
|
9
|
+
* @param {string[]} selected - Pre-checked category ids (also read from `?category=` in the URL).
|
|
10
|
+
* @param {number} maxPrice - Upper bound of the price slider. Default 300.
|
|
11
|
+
* @param {Array<{name: string, hex: string}>} colors - Colour swatches.
|
|
12
|
+
* @param {string} currency - ISO currency. Default 'USD'.
|
|
13
|
+
* @param {string} locale - Number format locale. Default 'en-US'.
|
|
14
|
+
* @param {string} variant - Style (glass|plain). Default 'glass'.
|
|
15
|
+
* @param {string} size - Density (sm|md). Default 'md'.
|
|
16
|
+
* @param {string} className - Extra class.
|
|
17
|
+
*
|
|
18
|
+
* Accessibility: native form controls in fieldsets with legends; result count is announced
|
|
19
|
+
* by ProductToolbar's live region; the mobile toggle is a disclosure button.
|
|
20
|
+
*/
|
|
21
|
+
export interface FilterSidebarProps {
|
|
22
|
+
target?: string;
|
|
23
|
+
id?: string;
|
|
24
|
+
categories?: Array<{
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
count?: number;
|
|
28
|
+
}>;
|
|
29
|
+
selected?: string[];
|
|
30
|
+
maxPrice?: number;
|
|
31
|
+
colors?: Array<{
|
|
32
|
+
name: string;
|
|
33
|
+
hex: string;
|
|
34
|
+
}>;
|
|
35
|
+
currency?: string;
|
|
36
|
+
locale?: string;
|
|
37
|
+
variant?: 'glass' | 'plain';
|
|
38
|
+
size?: 'sm' | 'md';
|
|
39
|
+
className?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare function FilterSidebar({ target, id, categories, selected, maxPrice, colors, currency, locale, variant, size, className, }: FilterSidebarProps): import("react").JSX.Element;
|
|
42
|
+
export default FilterSidebar;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import './LiveActivityToast.css';
|
|
2
|
+
interface Activity {
|
|
3
|
+
name: string;
|
|
4
|
+
city: string;
|
|
5
|
+
product: string;
|
|
6
|
+
href?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
hue?: number;
|
|
9
|
+
ago: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* LiveActivityToast — Rotating social-proof notice ("Lucía in Madrid bought Aurora Headphones
|
|
13
|
+
* · 3 min ago") that slides in, waits and hides, cycling through `items`.
|
|
14
|
+
*
|
|
15
|
+
* @param {Array} items - `{ name, city, product, href?, icon?, hue?, ago }` entries to cycle through.
|
|
16
|
+
* @param {string} verb - Action text between person and product. Default 'just bought'.
|
|
17
|
+
* @param {number} interval - Time between notices in ms. Default 9000.
|
|
18
|
+
* @param {number} visibleFor - How long each notice stays in ms. Default 5000.
|
|
19
|
+
* @param {number} delay - Wait before the first notice in ms. Default 4000.
|
|
20
|
+
* @param {string} position - Corner (bottom-left|bottom-right). Default 'bottom-left'.
|
|
21
|
+
* @param {string} storageKey - sessionStorage key that remembers "stop showing". Default 'ack-activity-off'.
|
|
22
|
+
* @param {boolean} demo - Render statically with the first item (docs/previews). Default false.
|
|
23
|
+
* @param {string} variant - Style (glass|solid). Default 'glass'.
|
|
24
|
+
* @param {string} className - Extra class.
|
|
25
|
+
*
|
|
26
|
+
* Accessibility: not announced by screen readers (it is promotional, aria-live="off"), never
|
|
27
|
+
* steals focus, has a close button that stops it for the session, pauses on hover/focus and
|
|
28
|
+
* when the tab is hidden; respects prefers-reduced-motion.
|
|
29
|
+
*/
|
|
30
|
+
export interface LiveActivityToastProps {
|
|
31
|
+
items?: Activity[];
|
|
32
|
+
verb?: string;
|
|
33
|
+
interval?: number;
|
|
34
|
+
visibleFor?: number;
|
|
35
|
+
delay?: number;
|
|
36
|
+
position?: 'bottom-left' | 'bottom-right';
|
|
37
|
+
storageKey?: string;
|
|
38
|
+
demo?: boolean;
|
|
39
|
+
variant?: 'glass' | 'solid';
|
|
40
|
+
className?: string;
|
|
41
|
+
}
|
|
42
|
+
export declare function LiveActivityToast({ items, verb, interval, visibleFor, delay, position, storageKey, demo, variant, className, }: LiveActivityToastProps): import("react").JSX.Element;
|
|
43
|
+
export default LiveActivityToast;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ShippingRate } from './types';
|
|
2
|
+
import './OrderSummary.css';
|
|
3
|
+
/**
|
|
4
|
+
* OrderSummary — Checkout sidebar: cart lines, promo code, subtotal, shipping, tax and total.
|
|
5
|
+
* Reads the cart store live and follows the shipping method chosen in CheckoutForm.
|
|
6
|
+
*
|
|
7
|
+
* @param {string} title - Heading. Default 'Order summary'.
|
|
8
|
+
* @param {string} cartKey - Cart storage key. Default 'ack-cart'.
|
|
9
|
+
* @param {ShippingRate[]} shippingRates - Rates matching CheckoutForm's `shipping` radios.
|
|
10
|
+
* @param {number} freeShippingThreshold - Subtotal that makes the first rate free (0 disables). Default 75.
|
|
11
|
+
* @param {number} taxRate - Tax as a fraction (0.08 = 8%). Default 0.08.
|
|
12
|
+
* @param {Record<string, number>} promoCodes - Code → percent discount. Default { REACT10: 10 }.
|
|
13
|
+
* @param {string} editHref - "Edit cart" link (optional).
|
|
14
|
+
* @param {string} currency - ISO currency. Default 'USD'.
|
|
15
|
+
* @param {string} locale - Number format locale. Default 'en-US'.
|
|
16
|
+
* @param {boolean} sticky - Stick while the form scrolls (desktop). Default true.
|
|
17
|
+
* @param {string} variant - Style (glass|plain). Default 'glass'.
|
|
18
|
+
* @param {string} className - Extra class.
|
|
19
|
+
*
|
|
20
|
+
* Emits `ack:totals` on document with `{ subtotal, discount, shipping, tax, total, formatted }`.
|
|
21
|
+
*
|
|
22
|
+
* Accessibility: the totals block is a polite live region; promo feedback is a status message.
|
|
23
|
+
*/
|
|
24
|
+
export interface OrderSummaryProps {
|
|
25
|
+
title?: string;
|
|
26
|
+
cartKey?: string;
|
|
27
|
+
shippingRates?: ShippingRate[];
|
|
28
|
+
freeShippingThreshold?: number;
|
|
29
|
+
taxRate?: number;
|
|
30
|
+
promoCodes?: Record<string, number>;
|
|
31
|
+
editHref?: string;
|
|
32
|
+
currency?: string;
|
|
33
|
+
locale?: string;
|
|
34
|
+
sticky?: boolean;
|
|
35
|
+
variant?: 'glass' | 'plain';
|
|
36
|
+
className?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function OrderSummary({ title, cartKey, shippingRates, freeShippingThreshold, taxRate, promoCodes, editHref, currency, locale, sticky, variant, className, }: OrderSummaryProps): import("react").JSX.Element;
|
|
39
|
+
export default OrderSummary;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Product } from './types';
|
|
2
|
+
import './ProductBuyBox.css';
|
|
3
|
+
/**
|
|
4
|
+
* ProductBuyBox — Product detail purchase panel: title, rating, price, colour/size pickers,
|
|
5
|
+
* quantity (StepperInput), add to cart, buy now, guarantees and expandable details.
|
|
6
|
+
*
|
|
7
|
+
* @param {Product} product - Product data. A demo product is used by default.
|
|
8
|
+
* @param {string} categoryLabel - Eyebrow text (e.g. the category name).
|
|
9
|
+
* @param {string} checkoutHref - Where "Buy now" goes after adding the item. Default '#'.
|
|
10
|
+
* @param {Array<{title: string, body: string}>} details - Expandable sections (materials, shipping…).
|
|
11
|
+
* @param {string} currency - ISO currency. Default 'USD'.
|
|
12
|
+
* @param {string} locale - Number format locale. Default 'en-US'.
|
|
13
|
+
* @param {string} cartKey - Cart storage key. Default 'ack-cart'.
|
|
14
|
+
* @param {string} id - Base id for inner controls. Default 'buy-box'.
|
|
15
|
+
* @param {string} variant - Style (plain|glass). Default 'plain'.
|
|
16
|
+
* @param {string} size - Type scale (md|lg). Default 'md'.
|
|
17
|
+
* @param {string} className - Extra class.
|
|
18
|
+
*
|
|
19
|
+
* Accessibility: one h1 with the product name; pickers are radio groups; details use native
|
|
20
|
+
* <details>/<summary>; sold-out state disables the buttons and says so in text.
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductBuyBoxProps {
|
|
23
|
+
product?: Product;
|
|
24
|
+
categoryLabel?: string;
|
|
25
|
+
checkoutHref?: string;
|
|
26
|
+
details?: Array<{
|
|
27
|
+
title: string;
|
|
28
|
+
body: string;
|
|
29
|
+
}>;
|
|
30
|
+
currency?: string;
|
|
31
|
+
locale?: string;
|
|
32
|
+
cartKey?: string;
|
|
33
|
+
id?: string;
|
|
34
|
+
variant?: 'plain' | 'glass';
|
|
35
|
+
size?: 'md' | 'lg';
|
|
36
|
+
className?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function ProductBuyBox({ product, categoryLabel, checkoutHref, details, currency, locale, cartKey, id, variant, size, className, }: ProductBuyBoxProps): import("react").JSX.Element;
|
|
39
|
+
export default ProductBuyBox;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Product } from './types';
|
|
2
|
+
import './ProductCardMinimal.css';
|
|
3
|
+
/**
|
|
4
|
+
* ProductCardMinimal — Editorial product card: tall media that swaps to a second view on hover,
|
|
5
|
+
* quick-add size buttons, name, price and colour count. Square corners, typography-led.
|
|
6
|
+
*
|
|
7
|
+
* @param {Product} product - Product data. A demo product is used by default.
|
|
8
|
+
* @param {string} href - Product page URL. Default '#'.
|
|
9
|
+
* @param {number} index - Optional catalogue number shown as "N° 01".
|
|
10
|
+
* @param {string} currency - ISO currency. Default 'EUR'.
|
|
11
|
+
* @param {string} locale - Number format locale. Default 'en-GB'.
|
|
12
|
+
* @param {string} cartKey - Cart storage key. Default 'ack-cart'.
|
|
13
|
+
* @param {boolean} quickAdd - Show quick-add (sizes, or a single "Add" button). Default true.
|
|
14
|
+
* @param {string} ratio - Media aspect ratio. Default '3 / 4'.
|
|
15
|
+
* @param {string} variant - Style (plain|framed). Default 'plain'.
|
|
16
|
+
* @param {string} size - Type scale (sm|md|lg). Default 'md'.
|
|
17
|
+
* @param {string} headingLevel - Title element (h2|h3|h4). Default 'h3'.
|
|
18
|
+
* @param {string} className - Extra class.
|
|
19
|
+
*
|
|
20
|
+
* Accessibility: the title is a stretched link; quick-add buttons sit above it with their own
|
|
21
|
+
* labels ("Add size M"), are reachable by keyboard and appear on focus as well as hover.
|
|
22
|
+
*/
|
|
23
|
+
export interface ProductCardMinimalProps {
|
|
24
|
+
product?: Product;
|
|
25
|
+
href?: string;
|
|
26
|
+
index?: number;
|
|
27
|
+
currency?: string;
|
|
28
|
+
locale?: string;
|
|
29
|
+
cartKey?: string;
|
|
30
|
+
quickAdd?: boolean;
|
|
31
|
+
ratio?: string;
|
|
32
|
+
variant?: 'plain' | 'framed';
|
|
33
|
+
size?: 'sm' | 'md' | 'lg';
|
|
34
|
+
headingLevel?: 'h2' | 'h3' | 'h4';
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function ProductCardMinimal({ product, href, index, currency, locale, cartKey, quickAdd, ratio, variant, size, headingLevel, className, }: ProductCardMinimalProps): import("react").JSX.Element;
|
|
38
|
+
export default ProductCardMinimal;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import './ProductGallery.css';
|
|
2
|
+
/**
|
|
3
|
+
* ProductGallery — Product image viewer with a large stage and thumbnail rail.
|
|
4
|
+
* Works with real photos (`images`) or generates several illustrated "angles".
|
|
5
|
+
*
|
|
6
|
+
* @param {string[]} images - Photo URLs. When empty, illustrated views are generated.
|
|
7
|
+
* @param {string} alt - Alt text base for photos. Default 'Product photo'.
|
|
8
|
+
* @param {string} icon - Illustration for generated views. Default 'headphones'.
|
|
9
|
+
* @param {number} hue - Backdrop hue for generated views. Default 38.
|
|
10
|
+
* @param {number} views - Number of generated views (2–5). Default 4.
|
|
11
|
+
* @param {string} layout - Thumbnail position (bottom|side). Default 'side'.
|
|
12
|
+
* @param {string} size - Stage ratio preset (sm|md|lg). Default 'md'.
|
|
13
|
+
* @param {string} className - Extra class.
|
|
14
|
+
*
|
|
15
|
+
* Accessibility: thumbnails are buttons with aria-pressed and labels; arrow keys move
|
|
16
|
+
* between thumbnails; the stage announces the current view number.
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductGalleryProps {
|
|
19
|
+
images?: string[];
|
|
20
|
+
alt?: string;
|
|
21
|
+
icon?: string;
|
|
22
|
+
hue?: number;
|
|
23
|
+
views?: number;
|
|
24
|
+
layout?: 'bottom' | 'side';
|
|
25
|
+
size?: 'sm' | 'md' | 'lg';
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function ProductGallery({ images, alt, icon, hue, views, layout, size, className, }: ProductGalleryProps): import("react").JSX.Element;
|
|
29
|
+
export default ProductGallery;
|