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,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as t, jsx as d } from "react/jsx-runtime";
|
|
3
|
+
function r({ variant: e = "default", dot: a = !1, pulse: s = !1, className: l, children: o, ...n }) {
|
|
4
|
+
return /* @__PURE__ */ t("span", { ...n, className: ["badge", `badge--${e}`, l].filter(Boolean).join(" "), children: [
|
|
5
|
+
a && /* @__PURE__ */ d("span", { className: ["badge__dot", s && "badge__dot--pulse"].filter(Boolean).join(" ") }),
|
|
6
|
+
o
|
|
7
|
+
] });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
r as B
|
|
11
|
+
};
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as e, Fragment as G, jsxs as t } from "react/jsx-runtime";
|
|
3
|
+
import { useRef as Q, useEffect as V } from "react";
|
|
4
|
+
import { f as j, c as J, p as Y } from "./cart-store-u-ScUvte.js";
|
|
5
|
+
function z(i, n) {
|
|
6
|
+
var A;
|
|
7
|
+
const o = Array.from(i.querySelectorAll("[data-product]"));
|
|
8
|
+
o.forEach((d, h) => {
|
|
9
|
+
d.dataset.index === void 0 && (d.dataset.index = String(h));
|
|
10
|
+
});
|
|
11
|
+
let r = 0;
|
|
12
|
+
for (const d of o) {
|
|
13
|
+
const h = d.dataset, y = (h.colors || "").split(",").filter(Boolean), k = (!n.categories.length || n.categories.includes(h.category || "")) && Number(h.price) <= n.maxPrice && Number(h.rating || 0) >= n.minRating && (!n.inStockOnly || h.stock === "in") && (!n.colors.length || n.colors.some((c) => y.includes(c))), O = d.parentElement === i ? d : d.closest(`#${CSS.escape(i.id)} > *`) ?? d;
|
|
14
|
+
O.hidden = !k, k && r++;
|
|
15
|
+
}
|
|
16
|
+
const b = o.map((d) => ({ card: d, item: d.parentElement === i ? d : d.closest(`#${CSS.escape(i.id)} > *`) ?? d }));
|
|
17
|
+
b.sort((d, h) => {
|
|
18
|
+
const y = d.card.dataset, k = h.card.dataset;
|
|
19
|
+
switch (n.sort) {
|
|
20
|
+
case "price-asc":
|
|
21
|
+
return Number(y.price) - Number(k.price);
|
|
22
|
+
case "price-desc":
|
|
23
|
+
return Number(k.price) - Number(y.price);
|
|
24
|
+
case "rating":
|
|
25
|
+
return Number(k.rating) - Number(y.rating);
|
|
26
|
+
case "name":
|
|
27
|
+
return (y.name || "").localeCompare(k.name || "");
|
|
28
|
+
default:
|
|
29
|
+
return Number(y.index) - Number(k.index);
|
|
30
|
+
}
|
|
31
|
+
}), i.append(...b.map((d) => d.item));
|
|
32
|
+
const _ = (A = i.parentElement) == null ? void 0 : A.querySelector("[data-product-empty]");
|
|
33
|
+
return _ && (_.hidden = r > 0), document.querySelectorAll(`[data-result-count="${i.id}"]`).forEach((d) => {
|
|
34
|
+
d.textContent = String(r);
|
|
35
|
+
}), r;
|
|
36
|
+
}
|
|
37
|
+
function K(i) {
|
|
38
|
+
const n = new URL(window.location.href);
|
|
39
|
+
i.categories.length ? n.searchParams.set("category", i.categories.join(",")) : n.searchParams.delete("category"), i.sort && i.sort !== "featured" ? n.searchParams.set("sort", i.sort) : n.searchParams.delete("sort"), window.history.replaceState(null, "", n);
|
|
40
|
+
}
|
|
41
|
+
function H(...i) {
|
|
42
|
+
const n = [], o = (r) => {
|
|
43
|
+
if (r) {
|
|
44
|
+
if (typeof r == "string" || typeof r == "number") n.push(String(r));
|
|
45
|
+
else if (Array.isArray(r)) r.forEach(o);
|
|
46
|
+
else if (typeof r == "object")
|
|
47
|
+
for (const [b, _] of Object.entries(r)) _ && n.push(b);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
return i.forEach(o), n.join(" ");
|
|
51
|
+
}
|
|
52
|
+
function X(i) {
|
|
53
|
+
const n = {};
|
|
54
|
+
for (const o of String(i ?? "").split(";")) {
|
|
55
|
+
const r = o.indexOf(":");
|
|
56
|
+
if (r < 0) continue;
|
|
57
|
+
const b = o.slice(0, r).trim();
|
|
58
|
+
b && (n[b.startsWith("--") ? b : b.replace(/-([a-z])/g, (_, A) => A.toUpperCase())] = o.slice(r + 1).trim());
|
|
59
|
+
}
|
|
60
|
+
return n;
|
|
61
|
+
}
|
|
62
|
+
function ne({
|
|
63
|
+
target: i = "product-grid",
|
|
64
|
+
categories: n = [
|
|
65
|
+
{ id: "clothing", name: "Clothing", count: 5 },
|
|
66
|
+
{ id: "shoes", name: "Shoes", count: 2 },
|
|
67
|
+
{ id: "bags", name: "Bags", count: 2 },
|
|
68
|
+
{ id: "objects", name: "Objects", count: 3 }
|
|
69
|
+
],
|
|
70
|
+
selected: o = [],
|
|
71
|
+
maxPrice: r = 400,
|
|
72
|
+
colors: b = [
|
|
73
|
+
{ name: "Oat", hex: "#d9cbb3" },
|
|
74
|
+
{ name: "Ink", hex: "#22252b" },
|
|
75
|
+
{ name: "Rust", hex: "#9c3d1c" },
|
|
76
|
+
{ name: "Sage", hex: "#8a9a7b" }
|
|
77
|
+
],
|
|
78
|
+
total: _ = 0,
|
|
79
|
+
allLabel: A = "All",
|
|
80
|
+
countLabel: d = "products",
|
|
81
|
+
currency: h = "EUR",
|
|
82
|
+
locale: y = "en-GB",
|
|
83
|
+
sticky: k = !0,
|
|
84
|
+
variant: O = "line",
|
|
85
|
+
id: c = "filter-bar",
|
|
86
|
+
className: x = ""
|
|
87
|
+
}) {
|
|
88
|
+
const $ = { currency: h, locale: y }, w = Q(!1);
|
|
89
|
+
return V(() => {
|
|
90
|
+
w.current || (w.current = !0, document.querySelectorAll("[data-filter-bar]:not([data-bound])").forEach((l) => {
|
|
91
|
+
var p;
|
|
92
|
+
l.dataset.bound = "";
|
|
93
|
+
const L = document.getElementById(l.dataset.target || "");
|
|
94
|
+
if (!L) return;
|
|
95
|
+
const T = L, M = Array.from(l.querySelectorAll("[data-chip]")), q = l.querySelector("[data-panel]"), B = l.querySelector("[data-refine]"), P = l.querySelector("[data-sort]"), W = l.querySelector("[data-active]"), F = l.querySelector("[data-price-out]"), D = q.elements.namedItem("max"), m = { currency: l.dataset.currency, locale: l.dataset.locale }, U = new URLSearchParams(window.location.search);
|
|
96
|
+
let f = (U.get("category") || "").split(",").filter(Boolean);
|
|
97
|
+
f.length || (f = M.filter((s) => s.dataset.chip && s.getAttribute("aria-pressed") === "true").map((s) => s.dataset.chip)), U.get("sort") && (P.value = U.get("sort"));
|
|
98
|
+
function a() {
|
|
99
|
+
const s = new FormData(q), u = Number(s.get("max")), g = s.getAll("color"), E = s.get("stock") === "in";
|
|
100
|
+
M.forEach((N) => {
|
|
101
|
+
const I = N.dataset.chip;
|
|
102
|
+
N.setAttribute("aria-pressed", String(I ? f.includes(I) : f.length === 0));
|
|
103
|
+
}), z(T, { categories: f, colors: g, maxPrice: u, minRating: 0, inStockOnly: E, sort: P.value }), K({ categories: f, sort: P.value }), F && (F.textContent = j(u, m));
|
|
104
|
+
const R = g.length + (E ? 1 : 0) + (u < Number(D.max) ? 1 : 0);
|
|
105
|
+
W.hidden = R === 0, W.textContent = String(R);
|
|
106
|
+
}
|
|
107
|
+
M.forEach((s) => s.addEventListener("click", () => {
|
|
108
|
+
const u = s.dataset.chip;
|
|
109
|
+
u ? f = f.includes(u) ? f.filter((g) => g !== u) : [...f, u] : f = [], a();
|
|
110
|
+
}));
|
|
111
|
+
const S = (s) => {
|
|
112
|
+
q.hidden = !s, B.setAttribute("aria-expanded", String(s));
|
|
113
|
+
};
|
|
114
|
+
B.addEventListener("click", () => S(q.hidden)), (p = l.querySelector("[data-close]")) == null || p.addEventListener("click", () => {
|
|
115
|
+
S(!1), B.focus();
|
|
116
|
+
}), l.addEventListener("keydown", (s) => {
|
|
117
|
+
s.key === "Escape" && !q.hidden && (S(!1), B.focus());
|
|
118
|
+
}), q.addEventListener("input", a), q.addEventListener("reset", () => window.setTimeout(a, 0)), P.addEventListener("change", a), a();
|
|
119
|
+
}));
|
|
120
|
+
}, []), /* @__PURE__ */ e(G, { children: /* @__PURE__ */ t("div", { className: H(["fbar", `fbar--${O}`, { "fbar--sticky": k }, x]), "data-filter-bar": !0, "data-target": i, "data-currency": h, "data-locale": y, "data-rk-aeb6ec": "", children: [
|
|
121
|
+
/* @__PURE__ */ t("div", { className: "fbar__row", "data-rk-aeb6ec": "", children: [
|
|
122
|
+
/* @__PURE__ */ t("div", { className: "fbar__chips", role: "group", "aria-label": "Categories", "data-rk-aeb6ec": "", children: [
|
|
123
|
+
/* @__PURE__ */ e("button", { type: "button", className: "fbar__chip", "data-chip": "", "aria-pressed": o.length === 0 ? "true" : "false", "data-rk-aeb6ec": "", children: A }),
|
|
124
|
+
n.map((l, L) => /* @__PURE__ */ t("button", { type: "button", className: "fbar__chip", "data-chip": l.id, "aria-pressed": o.includes(l.id) ? "true" : "false", "data-rk-aeb6ec": "", children: [
|
|
125
|
+
l.name,
|
|
126
|
+
l.count !== void 0 && /* @__PURE__ */ e("sup", { "data-rk-aeb6ec": "", children: l.count })
|
|
127
|
+
] }, L))
|
|
128
|
+
] }),
|
|
129
|
+
/* @__PURE__ */ t("div", { className: "fbar__tools", "data-rk-aeb6ec": "", children: [
|
|
130
|
+
/* @__PURE__ */ t("p", { className: "fbar__count", "aria-live": "polite", "data-rk-aeb6ec": "", children: [
|
|
131
|
+
/* @__PURE__ */ e("span", { "data-result-count": i, "data-rk-aeb6ec": "", children: _ }),
|
|
132
|
+
" ",
|
|
133
|
+
d
|
|
134
|
+
] }),
|
|
135
|
+
/* @__PURE__ */ t("button", { type: "button", className: "fbar__refine", "aria-expanded": "false", "aria-controls": `${c}-panel`, "data-refine": !0, "data-rk-aeb6ec": "", children: [
|
|
136
|
+
/* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", "aria-hidden": "true", "data-rk-aeb6ec": "", children: [
|
|
137
|
+
/* @__PURE__ */ e("path", { d: "M4 7h10M18 7h2M4 17h4M12 17h8", "data-rk-aeb6ec": "" }),
|
|
138
|
+
/* @__PURE__ */ e("circle", { cx: "16", cy: "7", r: "2", "data-rk-aeb6ec": "" }),
|
|
139
|
+
/* @__PURE__ */ e("circle", { cx: "10", cy: "17", r: "2", "data-rk-aeb6ec": "" })
|
|
140
|
+
] }),
|
|
141
|
+
"Refine ",
|
|
142
|
+
/* @__PURE__ */ e("span", { className: "fbar__badge", "data-active": !0, hidden: !0, "data-rk-aeb6ec": "" })
|
|
143
|
+
] }),
|
|
144
|
+
/* @__PURE__ */ t("label", { className: "fbar__sort", "data-rk-aeb6ec": "", children: [
|
|
145
|
+
/* @__PURE__ */ e("span", { className: "sr-only", "data-rk-aeb6ec": "", children: "Sort by" }),
|
|
146
|
+
/* @__PURE__ */ t("select", { "data-sort": !0, "data-rk-aeb6ec": "", children: [
|
|
147
|
+
/* @__PURE__ */ e("option", { value: "featured", "data-rk-aeb6ec": "", children: "Featured" }),
|
|
148
|
+
/* @__PURE__ */ e("option", { value: "price-asc", "data-rk-aeb6ec": "", children: "Price, low to high" }),
|
|
149
|
+
/* @__PURE__ */ e("option", { value: "price-desc", "data-rk-aeb6ec": "", children: "Price, high to low" }),
|
|
150
|
+
/* @__PURE__ */ e("option", { value: "name", "data-rk-aeb6ec": "", children: "Alphabetical" })
|
|
151
|
+
] })
|
|
152
|
+
] })
|
|
153
|
+
] })
|
|
154
|
+
] }),
|
|
155
|
+
/* @__PURE__ */ t("form", { className: "fbar__panel", id: `${c}-panel`, hidden: !0, "data-panel": !0, "aria-label": "Refine products", "data-rk-aeb6ec": "", children: [
|
|
156
|
+
/* @__PURE__ */ t("fieldset", { "data-rk-aeb6ec": "", children: [
|
|
157
|
+
/* @__PURE__ */ e("legend", { "data-rk-aeb6ec": "", children: "Price" }),
|
|
158
|
+
/* @__PURE__ */ t("label", { className: "fbar__range", "data-rk-aeb6ec": "", children: [
|
|
159
|
+
/* @__PURE__ */ t("span", { "data-rk-aeb6ec": "", children: [
|
|
160
|
+
"Up to ",
|
|
161
|
+
/* @__PURE__ */ e("output", { "data-price-out": !0, "data-rk-aeb6ec": "", children: j(r, $) })
|
|
162
|
+
] }),
|
|
163
|
+
/* @__PURE__ */ e("input", { type: "range", name: "max", min: "0", max: r, step: "5", defaultValue: r, "aria-label": "Maximum price", "data-rk-aeb6ec": "" })
|
|
164
|
+
] })
|
|
165
|
+
] }),
|
|
166
|
+
b.length > 0 && /* @__PURE__ */ t("fieldset", { "data-rk-aeb6ec": "", children: [
|
|
167
|
+
/* @__PURE__ */ e("legend", { "data-rk-aeb6ec": "", children: "Colour" }),
|
|
168
|
+
/* @__PURE__ */ e("div", { className: "fbar__colors", "data-rk-aeb6ec": "", children: b.map((l, L) => /* @__PURE__ */ t("label", { className: "fbar__color", style: X(`--sw: ${l.hex}`), "data-rk-aeb6ec": "", children: [
|
|
169
|
+
/* @__PURE__ */ e("input", { type: "checkbox", name: "color", defaultValue: l.name.toLowerCase(), "data-rk-aeb6ec": "" }),
|
|
170
|
+
/* @__PURE__ */ e("span", { "aria-hidden": "true", "data-rk-aeb6ec": "" }),
|
|
171
|
+
l.name
|
|
172
|
+
] }, L)) })
|
|
173
|
+
] }),
|
|
174
|
+
/* @__PURE__ */ t("fieldset", { "data-rk-aeb6ec": "", children: [
|
|
175
|
+
/* @__PURE__ */ e("legend", { "data-rk-aeb6ec": "", children: "Availability" }),
|
|
176
|
+
/* @__PURE__ */ t("label", { className: "fbar__check", "data-rk-aeb6ec": "", children: [
|
|
177
|
+
/* @__PURE__ */ e("input", { type: "checkbox", name: "stock", defaultValue: "in", "data-rk-aeb6ec": "" }),
|
|
178
|
+
" ",
|
|
179
|
+
/* @__PURE__ */ e("span", { "data-rk-aeb6ec": "", children: "In stock only" })
|
|
180
|
+
] })
|
|
181
|
+
] }),
|
|
182
|
+
/* @__PURE__ */ t("div", { className: "fbar__panel-actions", "data-rk-aeb6ec": "", children: [
|
|
183
|
+
/* @__PURE__ */ e("button", { type: "reset", className: "fbar__link", "data-rk-aeb6ec": "", children: "Clear filters" }),
|
|
184
|
+
/* @__PURE__ */ e("button", { type: "button", className: "fbar__done", "data-close": !0, "data-rk-aeb6ec": "", children: "Show results" })
|
|
185
|
+
] })
|
|
186
|
+
] })
|
|
187
|
+
] }) });
|
|
188
|
+
}
|
|
189
|
+
function Z(...i) {
|
|
190
|
+
const n = [], o = (r) => {
|
|
191
|
+
if (r) {
|
|
192
|
+
if (typeof r == "string" || typeof r == "number") n.push(String(r));
|
|
193
|
+
else if (Array.isArray(r)) r.forEach(o);
|
|
194
|
+
else if (typeof r == "object")
|
|
195
|
+
for (const [b, _] of Object.entries(r)) _ && n.push(b);
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
return i.forEach(o), n.join(" ");
|
|
199
|
+
}
|
|
200
|
+
function ce({
|
|
201
|
+
cartKey: i = "ack-cart",
|
|
202
|
+
title: n = "Your bag",
|
|
203
|
+
checkoutHref: o = "#",
|
|
204
|
+
continueHref: r = "#",
|
|
205
|
+
freeShippingThreshold: b = 150,
|
|
206
|
+
shippingFlat: _ = 8,
|
|
207
|
+
currency: A = "EUR",
|
|
208
|
+
locale: d = "en-GB",
|
|
209
|
+
demoItems: h = [],
|
|
210
|
+
variant: y = "editorial",
|
|
211
|
+
className: k = ""
|
|
212
|
+
}) {
|
|
213
|
+
const O = Q(!1);
|
|
214
|
+
return V(() => {
|
|
215
|
+
O.current || (O.current = !0, document.querySelectorAll("[data-bag]:not([data-bound])").forEach((c) => {
|
|
216
|
+
c.dataset.bound = "";
|
|
217
|
+
const x = J(c.dataset.key), $ = { currency: c.dataset.currency, locale: c.dataset.locale }, w = Number(c.dataset.free) || 0, l = Number(c.dataset.ship) || 0, L = c.querySelector("[data-lines]"), T = c.querySelector("[data-empty]"), M = c.querySelector("[data-summary]"), q = c.querySelector(".bag__cols"), B = c.querySelector("[data-note-wrap]"), P = c.querySelector("[data-note]"), W = c.querySelector("#bag-title"), F = (a) => c.querySelector(`[data-t="${a}"]`), D = `${x.key}:note`;
|
|
218
|
+
if (c.dataset.seed)
|
|
219
|
+
try {
|
|
220
|
+
x.seed(JSON.parse(c.dataset.seed));
|
|
221
|
+
} catch {
|
|
222
|
+
}
|
|
223
|
+
try {
|
|
224
|
+
P.value = window.localStorage.getItem(D) || "";
|
|
225
|
+
} catch {
|
|
226
|
+
}
|
|
227
|
+
P.addEventListener("input", () => {
|
|
228
|
+
try {
|
|
229
|
+
window.localStorage.setItem(D, P.value);
|
|
230
|
+
} catch {
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
const m = (a, S, p) => {
|
|
234
|
+
const s = document.createElement(a);
|
|
235
|
+
return s.className = S, p !== void 0 && (s.textContent = p), s;
|
|
236
|
+
};
|
|
237
|
+
function U(a, S, p) {
|
|
238
|
+
const s = m("li", "bag-line"), u = m("div", "bag-line__media");
|
|
239
|
+
u.style.setProperty("--h", String(a.hue ?? 30)), u.innerHTML = a.image ? `<img src="${encodeURI(a.image)}" alt="">` : `<svg viewBox="0 0 64 64" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">${Y(a.icon)}</svg>`;
|
|
240
|
+
const g = m("div", "bag-line__info");
|
|
241
|
+
g.append(m("p", "bag-line__name", a.name)), a.variant && g.append(m("p", "bag-line__meta", a.variant)), g.append(m("p", "bag-line__unit", j(a.price, $)));
|
|
242
|
+
const E = m("button", "bag-line__remove", "Remove");
|
|
243
|
+
E.type = "button", E.setAttribute("aria-label", `Remove ${a.name}`), E.addEventListener("click", () => {
|
|
244
|
+
const C = p[S + 1] ?? p[S - 1];
|
|
245
|
+
x.remove(a.id), ((C ? c.querySelector(`[aria-label="Remove ${CSS.escape(C.name)}"]`) : null) ?? W).focus();
|
|
246
|
+
}), g.append(E);
|
|
247
|
+
const R = m("div", "bag-line__qty"), N = m("button", "bag-line__step", "−");
|
|
248
|
+
N.type = "button", N.setAttribute("aria-label", `Decrease quantity of ${a.name}`), N.addEventListener("click", () => x.setQty(a.id, a.qty - 1));
|
|
249
|
+
const I = m("span", "bag-line__count", String(a.qty)), v = m("button", "bag-line__step", "+");
|
|
250
|
+
return v.type = "button", v.setAttribute("aria-label", `Increase quantity of ${a.name}`), v.addEventListener("click", () => x.setQty(a.id, a.qty + 1)), R.append(N, I, v), s.append(u, g, R, m("p", "bag-line__total", j(a.price * a.qty, $))), s;
|
|
251
|
+
}
|
|
252
|
+
function f() {
|
|
253
|
+
var N, I;
|
|
254
|
+
const a = x.items(), S = (N = document.activeElement) == null ? void 0 : N.getAttribute("aria-label");
|
|
255
|
+
L.replaceChildren(...a.map((v, C) => U(v, C, a)));
|
|
256
|
+
const p = a.length > 0;
|
|
257
|
+
T.hidden = p, M.hidden = !p, q.hidden = !p, B.hidden = !p;
|
|
258
|
+
const s = a.reduce((v, C) => v + C.qty, 0);
|
|
259
|
+
c.querySelector("[data-count]").textContent = p ? `(${s})` : "";
|
|
260
|
+
const u = a.reduce((v, C) => v + C.qty * C.price, 0), g = !p || w > 0 && u >= w ? 0 : l;
|
|
261
|
+
F("subtotal").textContent = j(u, $), F("shipping").textContent = g === 0 ? "Free" : j(g, $), F("total").textContent = j(u + g, $);
|
|
262
|
+
const E = c.querySelector("[data-ship-wrap]");
|
|
263
|
+
E.hidden = w <= 0;
|
|
264
|
+
const R = Math.max(0, w - u);
|
|
265
|
+
c.querySelector("[data-ship-text]").textContent = R > 0 ? `${j(R, $)} away from free shipping` : "Free shipping unlocked", c.querySelector("[data-ship-bar]").style.width = `${w ? Math.min(100, u / w * 100) : 100}%`, S && !c.contains(document.activeElement) && ((I = c.querySelector(`[aria-label="${CSS.escape(S)}"]`)) == null || I.focus());
|
|
266
|
+
}
|
|
267
|
+
f(), x.subscribe(f);
|
|
268
|
+
}));
|
|
269
|
+
}, []), /* @__PURE__ */ e(G, { children: /* @__PURE__ */ t("section", { className: Z(["bag", `bag--${y}`, k]), "aria-labelledby": "bag-title", "data-bag": !0, "data-key": i, "data-currency": A, "data-locale": d, "data-free": b, "data-ship": _, "data-seed": h.length ? JSON.stringify(h) : void 0, "data-rk-48a7b8": "", children: [
|
|
270
|
+
/* @__PURE__ */ t("header", { className: "bag__head", "data-rk-48a7b8": "", children: [
|
|
271
|
+
/* @__PURE__ */ t("h1", { className: "bag__title", id: "bag-title", tabIndex: -1, "data-rk-48a7b8": "", children: [
|
|
272
|
+
n,
|
|
273
|
+
" ",
|
|
274
|
+
/* @__PURE__ */ e("sup", { "data-count": !0, "data-rk-48a7b8": "" })
|
|
275
|
+
] }),
|
|
276
|
+
/* @__PURE__ */ e("a", { className: "bag__continue", href: r, "data-rk-48a7b8": "", children: "← Continue shopping" })
|
|
277
|
+
] }),
|
|
278
|
+
/* @__PURE__ */ t("div", { className: "bag__layout", "data-rk-48a7b8": "", children: [
|
|
279
|
+
/* @__PURE__ */ t("div", { className: "bag__main", "data-rk-48a7b8": "", children: [
|
|
280
|
+
/* @__PURE__ */ t("div", { className: "bag__cols", "aria-hidden": "true", "data-rk-48a7b8": "", children: [
|
|
281
|
+
/* @__PURE__ */ e("span", { "data-rk-48a7b8": "", children: "Item" }),
|
|
282
|
+
/* @__PURE__ */ e("span", { "data-rk-48a7b8": "", children: "Quantity" }),
|
|
283
|
+
/* @__PURE__ */ e("span", { "data-rk-48a7b8": "", children: "Total" })
|
|
284
|
+
] }),
|
|
285
|
+
/* @__PURE__ */ e("ul", { className: "bag__lines", "data-lines": !0, "aria-label": "Items in your bag", "data-rk-48a7b8": "" }),
|
|
286
|
+
/* @__PURE__ */ t("div", { className: "bag__empty", "data-empty": !0, hidden: !0, "data-rk-48a7b8": "", children: [
|
|
287
|
+
/* @__PURE__ */ e("p", { className: "bag__empty-title", "data-rk-48a7b8": "", children: "Your bag is empty." }),
|
|
288
|
+
/* @__PURE__ */ e("p", { "data-rk-48a7b8": "", children: "Pieces you add will wait here for you." }),
|
|
289
|
+
/* @__PURE__ */ e("a", { className: "bag__btn", href: r, "data-rk-48a7b8": "", children: "Discover the collection" })
|
|
290
|
+
] }),
|
|
291
|
+
/* @__PURE__ */ t("details", { className: "bag__note", "data-note-wrap": !0, "data-rk-48a7b8": "", children: [
|
|
292
|
+
/* @__PURE__ */ e("summary", { "data-rk-48a7b8": "", children: "Add a gift note" }),
|
|
293
|
+
/* @__PURE__ */ e("label", { className: "sr-only", htmlFor: "bag-note", "data-rk-48a7b8": "", children: "Gift note" }),
|
|
294
|
+
/* @__PURE__ */ e("textarea", { id: "bag-note", rows: 3, maxLength: 200, placeholder: "Write a short message — we'll print it on a card.", "data-note": !0, "data-rk-48a7b8": "" })
|
|
295
|
+
] })
|
|
296
|
+
] }),
|
|
297
|
+
/* @__PURE__ */ t("aside", { className: "bag__summary", "aria-label": "Order summary", "data-summary": !0, "data-rk-48a7b8": "", children: [
|
|
298
|
+
/* @__PURE__ */ t("div", { className: "bag__ship", "data-ship-wrap": !0, "data-rk-48a7b8": "", children: [
|
|
299
|
+
/* @__PURE__ */ e("p", { "data-ship-text": !0, "data-rk-48a7b8": "" }),
|
|
300
|
+
/* @__PURE__ */ e("div", { className: "bag__ship-bar", "aria-hidden": "true", "data-rk-48a7b8": "", children: /* @__PURE__ */ e("span", { "data-ship-bar": !0, "data-rk-48a7b8": "" }) })
|
|
301
|
+
] }),
|
|
302
|
+
/* @__PURE__ */ t("dl", { className: "bag__totals", "aria-live": "polite", "data-rk-48a7b8": "", children: [
|
|
303
|
+
/* @__PURE__ */ t("div", { "data-rk-48a7b8": "", children: [
|
|
304
|
+
/* @__PURE__ */ e("dt", { "data-rk-48a7b8": "", children: "Subtotal" }),
|
|
305
|
+
/* @__PURE__ */ e("dd", { "data-t": "subtotal", "data-rk-48a7b8": "", children: "—" })
|
|
306
|
+
] }),
|
|
307
|
+
/* @__PURE__ */ t("div", { "data-rk-48a7b8": "", children: [
|
|
308
|
+
/* @__PURE__ */ e("dt", { "data-rk-48a7b8": "", children: "Shipping" }),
|
|
309
|
+
/* @__PURE__ */ e("dd", { "data-t": "shipping", "data-rk-48a7b8": "", children: "—" })
|
|
310
|
+
] }),
|
|
311
|
+
/* @__PURE__ */ t("div", { className: "bag__total", "data-rk-48a7b8": "", children: [
|
|
312
|
+
/* @__PURE__ */ e("dt", { "data-rk-48a7b8": "", children: "Estimated total" }),
|
|
313
|
+
/* @__PURE__ */ e("dd", { "data-t": "total", "data-rk-48a7b8": "", children: "—" })
|
|
314
|
+
] })
|
|
315
|
+
] }),
|
|
316
|
+
/* @__PURE__ */ e("p", { className: "bag__taxes", "data-rk-48a7b8": "", children: "Taxes included. Discount codes are applied at checkout." }),
|
|
317
|
+
/* @__PURE__ */ e("a", { className: "bag__btn bag__btn--block", href: o, "data-checkout": !0, "data-rk-48a7b8": "", children: "Checkout" }),
|
|
318
|
+
/* @__PURE__ */ t("ul", { className: "bag__assurance", "data-rk-48a7b8": "", children: [
|
|
319
|
+
/* @__PURE__ */ e("li", { "data-rk-48a7b8": "", children: "Free returns within 30 days" }),
|
|
320
|
+
/* @__PURE__ */ e("li", { "data-rk-48a7b8": "", children: "Secure payment · Cards, PayPal, Apple Pay" })
|
|
321
|
+
] })
|
|
322
|
+
] })
|
|
323
|
+
] })
|
|
324
|
+
] }) });
|
|
325
|
+
}
|
|
326
|
+
export {
|
|
327
|
+
ce as C,
|
|
328
|
+
ne as F,
|
|
329
|
+
z as a,
|
|
330
|
+
K as s
|
|
331
|
+
};
|