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,695 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as e, Fragment as $, jsxs as s } from "react/jsx-runtime";
|
|
3
|
+
import { useRef as j, useEffect as q } from "react";
|
|
4
|
+
import { c as z, P as C, b as F, f as M, a as W } from "./cart-store-u-ScUvte.js";
|
|
5
|
+
import { P as R } from "./ProductCardMinimal-lQi5vy3-.js";
|
|
6
|
+
function I(...d) {
|
|
7
|
+
const r = [], n = (a) => {
|
|
8
|
+
if (a) {
|
|
9
|
+
if (typeof a == "string" || typeof a == "number") r.push(String(a));
|
|
10
|
+
else if (Array.isArray(a)) a.forEach(n);
|
|
11
|
+
else if (typeof a == "object")
|
|
12
|
+
for (const [c, o] of Object.entries(a)) o && r.push(c);
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
return d.forEach(n), r.join(" ");
|
|
16
|
+
}
|
|
17
|
+
function ae({
|
|
18
|
+
brand: d = "Forma",
|
|
19
|
+
brandHref: r = "/",
|
|
20
|
+
announcement: n = "Complimentary shipping over €150 · Free returns within 30 days",
|
|
21
|
+
links: a = [
|
|
22
|
+
{
|
|
23
|
+
label: "Shop",
|
|
24
|
+
href: "#",
|
|
25
|
+
columns: [
|
|
26
|
+
{ title: "Clothing", links: [{ label: "Overshirts", href: "#" }, { label: "Knitwear", href: "#" }, { label: "Outerwear", href: "#" }] },
|
|
27
|
+
{ title: "Objects", links: [{ label: "Ceramics", href: "#" }, { label: "Lighting", href: "#" }, { label: "Plants", href: "#" }] },
|
|
28
|
+
{ title: "Accessories", links: [{ label: "Bags", href: "#" }, { label: "Eyewear", href: "#" }, { label: "Watches", href: "#" }] }
|
|
29
|
+
],
|
|
30
|
+
feature: { title: "The Autumn edit", text: "Twelve pieces in warm, quiet tones.", href: "#", icon: "jacket", hue: 22 }
|
|
31
|
+
},
|
|
32
|
+
{ label: "New in", href: "#" },
|
|
33
|
+
{ label: "Journal", href: "#" }
|
|
34
|
+
],
|
|
35
|
+
searchHref: c = "#",
|
|
36
|
+
bagHref: o = "#",
|
|
37
|
+
cartKey: p = "ack-cart",
|
|
38
|
+
themeToggle: _ = !0,
|
|
39
|
+
currentHref: h,
|
|
40
|
+
sticky: i = !0,
|
|
41
|
+
variant: m = "paper",
|
|
42
|
+
size: y = "md",
|
|
43
|
+
id: k = "shop-header",
|
|
44
|
+
className: w = ""
|
|
45
|
+
}) {
|
|
46
|
+
const v = j(!1);
|
|
47
|
+
return q(() => {
|
|
48
|
+
v.current || (v.current = !0, document.querySelectorAll("[data-shop-header]:not([data-bound])").forEach((t) => {
|
|
49
|
+
var L;
|
|
50
|
+
t.dataset.bound = "";
|
|
51
|
+
const l = Array.from(t.querySelectorAll("[data-mega-toggle]")), u = (f) => document.getElementById(f.getAttribute("aria-controls") || ""), N = (f) => l.forEach((g) => {
|
|
52
|
+
if (g === f) return;
|
|
53
|
+
g.setAttribute("aria-expanded", "false");
|
|
54
|
+
const x = u(g);
|
|
55
|
+
x && (x.hidden = !0);
|
|
56
|
+
});
|
|
57
|
+
l.forEach((f) => f.addEventListener("click", () => {
|
|
58
|
+
const g = f.getAttribute("aria-expanded") !== "true";
|
|
59
|
+
N(f), f.setAttribute("aria-expanded", String(g));
|
|
60
|
+
const x = u(f);
|
|
61
|
+
x && (x.hidden = !g);
|
|
62
|
+
})), document.addEventListener("click", (f) => {
|
|
63
|
+
t.contains(f.target) || N();
|
|
64
|
+
}), document.addEventListener("keydown", (f) => {
|
|
65
|
+
if (f.key !== "Escape") return;
|
|
66
|
+
const g = l.find((P) => P.getAttribute("aria-expanded") === "true");
|
|
67
|
+
N(), g == null || g.focus();
|
|
68
|
+
const x = t.querySelector("[data-burger]");
|
|
69
|
+
(x == null ? void 0 : x.getAttribute("aria-expanded")) === "true" && (x.click(), x.focus());
|
|
70
|
+
});
|
|
71
|
+
const b = t.querySelector("[data-burger]"), S = t.querySelector("[data-nav]");
|
|
72
|
+
b == null || b.addEventListener("click", () => {
|
|
73
|
+
const f = b.getAttribute("aria-expanded") !== "true";
|
|
74
|
+
b.setAttribute("aria-expanded", String(f)), S == null || S.classList.toggle("is-open", f);
|
|
75
|
+
}), (L = t.querySelector("[data-theme-btn]")) == null || L.addEventListener("click", () => {
|
|
76
|
+
const f = document.documentElement, g = f.dataset.theme === "dark" ? "light" : "dark";
|
|
77
|
+
f.dataset.theme = g;
|
|
78
|
+
try {
|
|
79
|
+
window.localStorage.setItem("ack-theme", g);
|
|
80
|
+
} catch {
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
const E = t.querySelector("[data-bag-link]"), A = t.querySelector("[data-count]");
|
|
84
|
+
if (E && A) {
|
|
85
|
+
const f = z(t.dataset.key), g = () => {
|
|
86
|
+
const x = f.count();
|
|
87
|
+
A.textContent = String(x), E.setAttribute("aria-label", `Bag, ${x} ${x === 1 ? "item" : "items"}`);
|
|
88
|
+
};
|
|
89
|
+
g(), f.subscribe(() => {
|
|
90
|
+
g(), A.classList.remove("is-bump"), A.offsetWidth, A.classList.add("is-bump");
|
|
91
|
+
}), E.tagName === "BUTTON" && E.addEventListener("click", () => document.dispatchEvent(new CustomEvent("ack:cart-open", { detail: { key: f.key, trigger: E } })));
|
|
92
|
+
}
|
|
93
|
+
}));
|
|
94
|
+
}, []), /* @__PURE__ */ e($, { children: /* @__PURE__ */ s("header", { className: I(["she", `she--${m}`, `she--${y}`, { "she--sticky": i }, w]), "data-shop-header": !0, "data-key": p, "data-rk-74ee75": "", children: [
|
|
95
|
+
n && /* @__PURE__ */ e("p", { className: "she__announce", "data-rk-74ee75": "", children: n }),
|
|
96
|
+
/* @__PURE__ */ s("div", { className: "she__bar", "data-rk-74ee75": "", children: [
|
|
97
|
+
/* @__PURE__ */ s("div", { className: "she__left", "data-rk-74ee75": "", children: [
|
|
98
|
+
/* @__PURE__ */ e("button", { className: "she__icon she__burger", type: "button", "aria-expanded": "false", "aria-controls": `${k}-nav`, "aria-label": "Menu", "data-burger": !0, "data-rk-74ee75": "", children: /* @__PURE__ */ e("svg", { width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": "true", "data-rk-74ee75": "", children: /* @__PURE__ */ e("path", { d: "M3 8h18M3 16h18", "data-rk-74ee75": "" }) }) }),
|
|
99
|
+
/* @__PURE__ */ e("nav", { className: "she__nav", id: `${k}-nav`, "aria-label": "Main", "data-nav": !0, "data-rk-74ee75": "", children: /* @__PURE__ */ e("ul", { "data-rk-74ee75": "", children: a.map((t, l) => {
|
|
100
|
+
var u;
|
|
101
|
+
return /* @__PURE__ */ e("li", { "data-rk-74ee75": "", children: (u = t.columns) != null && u.length ? /* @__PURE__ */ s($, { children: [
|
|
102
|
+
/* @__PURE__ */ e("button", { className: "she__link she__link--desk", type: "button", "aria-expanded": "false", "aria-controls": `${k}-mega-${l}`, "data-mega-toggle": !0, "data-rk-74ee75": "", children: t.label }),
|
|
103
|
+
/* @__PURE__ */ e("a", { className: "she__link she__link--mob", href: t.href, "data-rk-74ee75": "", children: t.label }),
|
|
104
|
+
/* @__PURE__ */ e("ul", { className: "she__sub", "data-rk-74ee75": "", children: t.columns.flatMap((N) => N.links).map((N, b) => /* @__PURE__ */ e("li", { "data-rk-74ee75": "", children: /* @__PURE__ */ e("a", { href: N.href, "data-rk-74ee75": "", children: N.label }) }, b)) })
|
|
105
|
+
] }) : /* @__PURE__ */ e("a", { className: "she__link", href: t.href, "aria-current": h === t.href ? "page" : void 0, "data-rk-74ee75": "", children: t.label }) }, l);
|
|
106
|
+
}) }) })
|
|
107
|
+
] }),
|
|
108
|
+
/* @__PURE__ */ e("a", { className: "she__brand", href: r, "data-rk-74ee75": "", children: d }),
|
|
109
|
+
/* @__PURE__ */ s("div", { className: "she__right", "data-rk-74ee75": "", children: [
|
|
110
|
+
c && /* @__PURE__ */ e("a", { className: "she__icon", href: c, "aria-label": "Search", "data-rk-74ee75": "", children: /* @__PURE__ */ s("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", "aria-hidden": "true", "data-rk-74ee75": "", children: [
|
|
111
|
+
/* @__PURE__ */ e("circle", { cx: "11", cy: "11", r: "7", "data-rk-74ee75": "" }),
|
|
112
|
+
/* @__PURE__ */ e("path", { d: "m20 20-3.5-3.5", "data-rk-74ee75": "" })
|
|
113
|
+
] }) }),
|
|
114
|
+
_ && /* @__PURE__ */ e("button", { className: "she__icon", type: "button", "aria-label": "Switch theme", "data-theme-btn": !0, "data-rk-74ee75": "", children: /* @__PURE__ */ s("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.6", "aria-hidden": "true", "data-rk-74ee75": "", children: [
|
|
115
|
+
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8", "data-rk-74ee75": "" }),
|
|
116
|
+
/* @__PURE__ */ e("path", { d: "M12 4a8 8 0 0 1 0 16z", fill: "currentColor", "data-rk-74ee75": "" })
|
|
117
|
+
] }) }),
|
|
118
|
+
o ? /* @__PURE__ */ s("a", { className: "she__bag", href: o, "aria-label": "Bag", "data-bag-link": !0, "data-rk-74ee75": "", children: [
|
|
119
|
+
"Bag ",
|
|
120
|
+
/* @__PURE__ */ e("span", { className: "she__count", "data-count": !0, "data-rk-74ee75": "", children: "0" })
|
|
121
|
+
] }) : /* @__PURE__ */ s("button", { className: "she__bag", type: "button", "aria-label": "Bag", "data-bag-link": !0, "data-cart-open": !0, "data-cart-key": p, "data-rk-74ee75": "", children: [
|
|
122
|
+
"Bag ",
|
|
123
|
+
/* @__PURE__ */ e("span", { className: "she__count", "data-count": !0, "data-rk-74ee75": "", children: "0" })
|
|
124
|
+
] })
|
|
125
|
+
] })
|
|
126
|
+
] }),
|
|
127
|
+
a.map((t, l) => {
|
|
128
|
+
var u;
|
|
129
|
+
return (u = t.columns) != null && u.length ? /* @__PURE__ */ e("div", { className: "she__mega", id: `${k}-mega-${l}`, hidden: !0, "data-mega": !0, "data-rk-74ee75": "", children: /* @__PURE__ */ s("div", { className: "she__mega-inner", "data-rk-74ee75": "", children: [
|
|
130
|
+
t.columns.map((N, b) => /* @__PURE__ */ s("div", { className: "she__col", "data-rk-74ee75": "", children: [
|
|
131
|
+
/* @__PURE__ */ e("p", { className: "she__col-title", "data-rk-74ee75": "", children: N.title }),
|
|
132
|
+
/* @__PURE__ */ e("ul", { "data-rk-74ee75": "", children: N.links.map((S, E) => /* @__PURE__ */ e("li", { "data-rk-74ee75": "", children: /* @__PURE__ */ e("a", { href: S.href, "data-rk-74ee75": "", children: S.label }) }, E)) })
|
|
133
|
+
] }, b)),
|
|
134
|
+
/* @__PURE__ */ s("a", { className: "she__col she__col--all", href: t.href, "data-rk-74ee75": "", children: [
|
|
135
|
+
"View everything ",
|
|
136
|
+
/* @__PURE__ */ e("span", { "aria-hidden": "true", "data-rk-74ee75": "", children: "→" })
|
|
137
|
+
] }),
|
|
138
|
+
t.feature && /* @__PURE__ */ s("a", { className: "she__feature", href: t.feature.href, "data-rk-74ee75": "", children: [
|
|
139
|
+
/* @__PURE__ */ e(C, { icon: t.feature.icon, hue: t.feature.hue, ratio: "4 / 3", variant: "soft", size: "lg" }),
|
|
140
|
+
/* @__PURE__ */ e("span", { className: "she__feature-title", "data-rk-74ee75": "", children: t.feature.title }),
|
|
141
|
+
t.feature.text && /* @__PURE__ */ e("span", { className: "she__feature-text", "data-rk-74ee75": "", children: t.feature.text })
|
|
142
|
+
] })
|
|
143
|
+
] }) }) : null;
|
|
144
|
+
})
|
|
145
|
+
] }) });
|
|
146
|
+
}
|
|
147
|
+
function V(...d) {
|
|
148
|
+
const r = [], n = (a) => {
|
|
149
|
+
if (a) {
|
|
150
|
+
if (typeof a == "string" || typeof a == "number") r.push(String(a));
|
|
151
|
+
else if (Array.isArray(a)) a.forEach(n);
|
|
152
|
+
else if (typeof a == "object")
|
|
153
|
+
for (const [c, o] of Object.entries(a)) o && r.push(c);
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
return d.forEach(n), r.join(" ");
|
|
157
|
+
}
|
|
158
|
+
function te({
|
|
159
|
+
kicker: d = "Autumn / Winter 26",
|
|
160
|
+
title: r = "Quiet *objects* for everyday rituals",
|
|
161
|
+
text: n = "Clothing and homeware made slowly, in small runs, by workshops we know by name. Designed to be used for years — and to look better for it.",
|
|
162
|
+
primary: a = { label: "Shop the collection", href: "#" },
|
|
163
|
+
secondary: c = { label: "Read the journal", href: "#" },
|
|
164
|
+
media: o = { icon: "jacket", hue: 22, caption: "Wool overcoat, in Rust — €320", href: "#" },
|
|
165
|
+
ticker: p = ["Made in small runs", "Natural fibres", "Repair for life", "Carbon-neutral shipping", "Free returns"],
|
|
166
|
+
issue: _ = "N° 04",
|
|
167
|
+
variant: h = "split",
|
|
168
|
+
size: i = "md",
|
|
169
|
+
className: m = ""
|
|
170
|
+
}) {
|
|
171
|
+
const y = r.split(/\*(.+?)\*/g), k = o.href ? "a" : "div";
|
|
172
|
+
return /* @__PURE__ */ e($, { children: /* @__PURE__ */ s("section", { className: V(["sh-ed", `sh-ed--${h}`, `sh-ed--${i}`, m]), "data-rk-cb8b08": "", children: [
|
|
173
|
+
/* @__PURE__ */ s("div", { className: "sh-ed__inner", "data-rk-cb8b08": "", children: [
|
|
174
|
+
/* @__PURE__ */ s("div", { className: "sh-ed__copy", "data-rk-cb8b08": "", children: [
|
|
175
|
+
/* @__PURE__ */ s("p", { className: "sh-ed__meta", "data-rk-cb8b08": "", children: [
|
|
176
|
+
/* @__PURE__ */ e("span", { "data-rk-cb8b08": "", children: d }),
|
|
177
|
+
_ && /* @__PURE__ */ e("span", { "data-rk-cb8b08": "", children: _ })
|
|
178
|
+
] }),
|
|
179
|
+
/* @__PURE__ */ e("h1", { className: "sh-ed__title", "data-rk-cb8b08": "", children: y.map((w, v) => v % 2 ? /* @__PURE__ */ e("em", { "data-rk-cb8b08": "", children: w }) : w) }),
|
|
180
|
+
/* @__PURE__ */ s("div", { className: "sh-ed__foot", "data-rk-cb8b08": "", children: [
|
|
181
|
+
n && /* @__PURE__ */ e("p", { className: "sh-ed__text", "data-rk-cb8b08": "", children: n }),
|
|
182
|
+
/* @__PURE__ */ s("div", { className: "sh-ed__ctas", "data-rk-cb8b08": "", children: [
|
|
183
|
+
a && /* @__PURE__ */ s("a", { className: "sh-ed__btn sh-ed__btn--solid", href: a.href, "data-rk-cb8b08": "", children: [
|
|
184
|
+
a.label,
|
|
185
|
+
/* @__PURE__ */ e("span", { "aria-hidden": "true", "data-rk-cb8b08": "", children: "→" })
|
|
186
|
+
] }),
|
|
187
|
+
c && /* @__PURE__ */ e("a", { className: "sh-ed__btn", href: c.href, "data-rk-cb8b08": "", children: c.label })
|
|
188
|
+
] })
|
|
189
|
+
] })
|
|
190
|
+
] }),
|
|
191
|
+
/* @__PURE__ */ s(k, { className: "sh-ed__media", href: o.href, "data-rk-cb8b08": "", children: [
|
|
192
|
+
/* @__PURE__ */ e(C, { image: o.image, alt: o.alt ?? "", icon: o.icon, hue: o.hue, ratio: "4 / 5", variant: "soft", size: "lg" }),
|
|
193
|
+
o.caption && /* @__PURE__ */ e("span", { className: "sh-ed__caption", "data-rk-cb8b08": "", children: o.caption })
|
|
194
|
+
] })
|
|
195
|
+
] }),
|
|
196
|
+
p.length > 0 && /* @__PURE__ */ e("div", { className: "sh-ed__ticker", "aria-hidden": "true", "data-rk-cb8b08": "", children: /* @__PURE__ */ e("div", { className: "sh-ed__track", "data-rk-cb8b08": "", children: [0, 1].map(() => p.map((w, v) => /* @__PURE__ */ s("span", { "data-rk-cb8b08": "", children: [
|
|
197
|
+
w,
|
|
198
|
+
/* @__PURE__ */ e("i", { "data-rk-cb8b08": "", children: "✦" })
|
|
199
|
+
] }, v))) }) })
|
|
200
|
+
] }) });
|
|
201
|
+
}
|
|
202
|
+
function O(...d) {
|
|
203
|
+
const r = [], n = (a) => {
|
|
204
|
+
if (a) {
|
|
205
|
+
if (typeof a == "string" || typeof a == "number") r.push(String(a));
|
|
206
|
+
else if (Array.isArray(a)) a.forEach(n);
|
|
207
|
+
else if (typeof a == "object")
|
|
208
|
+
for (const [c, o] of Object.entries(a)) o && r.push(c);
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
return d.forEach(n), r.join(" ");
|
|
212
|
+
}
|
|
213
|
+
function re({
|
|
214
|
+
eyebrow: d = "Collections",
|
|
215
|
+
title: r = "Shop by *intention*",
|
|
216
|
+
items: n = [
|
|
217
|
+
{ title: "The wardrobe", text: "Overshirts, knitwear and coats in natural fibres.", href: "#", count: 24, icon: "jacket", hue: 22 },
|
|
218
|
+
{ title: "At the table", text: "Stoneware made by hand.", href: "#", count: 12, icon: "mug", hue: 14 },
|
|
219
|
+
{ title: "Light & air", text: "Lamps and living things.", href: "#", count: 9, icon: "plant", hue: 110 },
|
|
220
|
+
{ title: "To carry", text: "Bags that soften with age.", href: "#", count: 8, icon: "bag", hue: 34 }
|
|
221
|
+
],
|
|
222
|
+
linkLabel: a = "Explore",
|
|
223
|
+
countLabel: c = "pieces",
|
|
224
|
+
variant: o = "feature-left",
|
|
225
|
+
size: p = "md",
|
|
226
|
+
className: _ = ""
|
|
227
|
+
}) {
|
|
228
|
+
const h = r.split(/\*(.+?)\*/g);
|
|
229
|
+
return /* @__PURE__ */ e($, { children: /* @__PURE__ */ s("section", { className: O(["scm", `scm--${o}`, `scm--${p}`, _]), "data-rk-ba6398": "", children: [
|
|
230
|
+
/* @__PURE__ */ s("header", { className: "scm__head", "data-rk-ba6398": "", children: [
|
|
231
|
+
d && /* @__PURE__ */ e("p", { className: "scm__eyebrow", "data-rk-ba6398": "", children: d }),
|
|
232
|
+
/* @__PURE__ */ e("h2", { className: "scm__title", "data-rk-ba6398": "", children: h.map((i, m) => m % 2 ? /* @__PURE__ */ e("em", { "data-rk-ba6398": "", children: i }) : i) })
|
|
233
|
+
] }),
|
|
234
|
+
/* @__PURE__ */ e("ul", { className: "scm__grid", "data-rk-ba6398": "", children: n.slice(0, 5).map((i, m) => /* @__PURE__ */ e("li", { className: O(["scm__item", { "scm__item--feature": m === 0 }]), "data-rk-ba6398": "", children: /* @__PURE__ */ s("a", { className: "scm__tile", href: i.href, "data-rk-ba6398": "", children: [
|
|
235
|
+
/* @__PURE__ */ e("span", { className: "scm__art", "data-rk-ba6398": "", children: /* @__PURE__ */ e(C, { image: i.image, alt: "", icon: i.icon, hue: i.hue, ratio: "auto", variant: "soft", size: m === 0 ? "lg" : "md" }) }),
|
|
236
|
+
/* @__PURE__ */ e("span", { className: "scm__num", "aria-hidden": "true", "data-rk-ba6398": "", children: String(m + 1).padStart(2, "0") }),
|
|
237
|
+
/* @__PURE__ */ s("span", { className: "scm__body", "data-rk-ba6398": "", children: [
|
|
238
|
+
/* @__PURE__ */ e("h3", { className: "scm__name", "data-rk-ba6398": "", children: i.title }),
|
|
239
|
+
i.text && /* @__PURE__ */ e("span", { className: "scm__text", "data-rk-ba6398": "", children: i.text }),
|
|
240
|
+
/* @__PURE__ */ e("span", { className: "scm__link", "data-rk-ba6398": "", children: i.count !== void 0 ? `${a} · ${i.count} ${c}` : a })
|
|
241
|
+
] })
|
|
242
|
+
] }) }, m)) })
|
|
243
|
+
] }) });
|
|
244
|
+
}
|
|
245
|
+
function D(...d) {
|
|
246
|
+
const r = [], n = (a) => {
|
|
247
|
+
if (a) {
|
|
248
|
+
if (typeof a == "string" || typeof a == "number") r.push(String(a));
|
|
249
|
+
else if (Array.isArray(a)) a.forEach(n);
|
|
250
|
+
else if (typeof a == "object")
|
|
251
|
+
for (const [c, o] of Object.entries(a)) o && r.push(c);
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
return d.forEach(n), r.join(" ");
|
|
255
|
+
}
|
|
256
|
+
function se({
|
|
257
|
+
eyebrow: d = "Just in",
|
|
258
|
+
title: r = "New this *week*",
|
|
259
|
+
products: n = [
|
|
260
|
+
{ slug: "linen-overshirt", name: "Linen Overshirt", price: 145, category: "clothing", badge: "New", sizes: ["S", "M", "L"], colors: [{ name: "Mist", hex: "#cbd5e1" }, { name: "Ink", hex: "#22252b" }], icon: "shirt", hue: 201 },
|
|
261
|
+
{ slug: "merino-crew", name: "Merino Crew Knit", price: 160, category: "clothing", sizes: ["S", "M", "L"], colors: [{ name: "Steel", hex: "#94a3b8" }], icon: "jacket", hue: 215 },
|
|
262
|
+
{ slug: "field-tote", name: "Field Tote", price: 120, category: "bags", colors: [{ name: "Ocean", hex: "#0369a1" }], icon: "bag", hue: 194 },
|
|
263
|
+
{ slug: "ash-vase", name: "Ash Vase", price: 68, category: "objects", icon: "bottle", hue: 209 },
|
|
264
|
+
{ slug: "dune-loafer", name: "Dune Loafer", price: 210, category: "shoes", sizes: ["39", "40", "41", "42"], icon: "sneaker", hue: 198 }
|
|
265
|
+
],
|
|
266
|
+
productBase: a = "#",
|
|
267
|
+
link: c = { label: "View all", href: "#" },
|
|
268
|
+
numbered: o = !0,
|
|
269
|
+
currency: p = "EUR",
|
|
270
|
+
locale: _ = "en-GB",
|
|
271
|
+
cartKey: h = "ack-cart",
|
|
272
|
+
id: i = "product-rail",
|
|
273
|
+
size: m = "md",
|
|
274
|
+
className: y = ""
|
|
275
|
+
}) {
|
|
276
|
+
const k = r.split(/\*(.+?)\*/g), w = r.replace(/\*/g, ""), v = (l) => a === "#" ? "#" : `${a}${l}/`, t = j(!1);
|
|
277
|
+
return q(() => {
|
|
278
|
+
t.current || (t.current = !0, document.querySelectorAll("[data-rail]:not([data-bound])").forEach((l) => {
|
|
279
|
+
l.dataset.bound = "";
|
|
280
|
+
const u = l.querySelector("[data-track]"), N = l.querySelector("[data-prev]"), b = l.querySelector("[data-next]"), S = l.querySelector("[data-progress]"), E = () => {
|
|
281
|
+
var f;
|
|
282
|
+
return (((f = u.querySelector(".spr__slide")) == null ? void 0 : f.offsetWidth) ?? 300) + 16;
|
|
283
|
+
}, A = window.matchMedia("(prefers-reduced-motion: reduce)").matches, L = () => {
|
|
284
|
+
const f = u.scrollWidth - u.clientWidth;
|
|
285
|
+
N.disabled = u.scrollLeft <= 2, b.disabled = u.scrollLeft >= f - 2;
|
|
286
|
+
const g = u.clientWidth / u.scrollWidth;
|
|
287
|
+
S.style.width = `${Math.max(10, g * 100)}%`, S.style.transform = `translateX(${f > 0 ? u.scrollLeft / f * (1 / Math.max(g, 0.1) - 1) * 100 : 0}%)`;
|
|
288
|
+
};
|
|
289
|
+
N.addEventListener("click", () => u.scrollBy({ left: -E(), behavior: A ? "auto" : "smooth" })), b.addEventListener("click", () => u.scrollBy({ left: E(), behavior: A ? "auto" : "smooth" })), u.addEventListener("scroll", L, { passive: !0 }), window.addEventListener("resize", L), L();
|
|
290
|
+
}));
|
|
291
|
+
}, []), /* @__PURE__ */ e($, { children: /* @__PURE__ */ s("section", { className: D(["spr", `spr--${m}`, y]), "data-rail": !0, "data-rk-14294a": "", children: [
|
|
292
|
+
/* @__PURE__ */ s("header", { className: "spr__head", "data-rk-14294a": "", children: [
|
|
293
|
+
/* @__PURE__ */ s("div", { "data-rk-14294a": "", children: [
|
|
294
|
+
d && /* @__PURE__ */ e("p", { className: "spr__eyebrow", "data-rk-14294a": "", children: d }),
|
|
295
|
+
/* @__PURE__ */ e("h2", { className: "spr__title", "data-rk-14294a": "", children: k.map((l, u) => u % 2 ? /* @__PURE__ */ e("em", { "data-rk-14294a": "", children: l }) : l) })
|
|
296
|
+
] }),
|
|
297
|
+
/* @__PURE__ */ s("div", { className: "spr__controls", "data-rk-14294a": "", children: [
|
|
298
|
+
c && /* @__PURE__ */ e("a", { className: "spr__all", href: c.href, "data-rk-14294a": "", children: c.label }),
|
|
299
|
+
/* @__PURE__ */ e("button", { type: "button", className: "spr__arrow", "aria-label": "Previous products", "aria-controls": i, "data-prev": !0, "data-rk-14294a": "", children: "←" }),
|
|
300
|
+
/* @__PURE__ */ e("button", { type: "button", className: "spr__arrow", "aria-label": "Next products", "aria-controls": i, "data-next": !0, "data-rk-14294a": "", children: "→" })
|
|
301
|
+
] })
|
|
302
|
+
] }),
|
|
303
|
+
/* @__PURE__ */ e("ul", { className: "spr__track", id: i, role: "region", "aria-label": w, tabIndex: 0, "data-track": !0, "data-rk-14294a": "", children: n.map((l, u) => /* @__PURE__ */ e("li", { className: "spr__slide", "data-rk-14294a": "", children: /* @__PURE__ */ e(R, { product: l, href: v(l.slug), index: o ? u + 1 : void 0, currency: p, locale: _, cartKey: h }) }, u)) }),
|
|
304
|
+
/* @__PURE__ */ e("div", { className: "spr__progress", "aria-hidden": "true", "data-rk-14294a": "", children: /* @__PURE__ */ e("span", { "data-progress": !0, "data-rk-14294a": "" }) })
|
|
305
|
+
] }) });
|
|
306
|
+
}
|
|
307
|
+
function B(...d) {
|
|
308
|
+
const r = [], n = (a) => {
|
|
309
|
+
if (a) {
|
|
310
|
+
if (typeof a == "string" || typeof a == "number") r.push(String(a));
|
|
311
|
+
else if (Array.isArray(a)) a.forEach(n);
|
|
312
|
+
else if (typeof a == "object")
|
|
313
|
+
for (const [c, o] of Object.entries(a)) o && r.push(c);
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
return d.forEach(n), r.join(" ");
|
|
317
|
+
}
|
|
318
|
+
function U(d) {
|
|
319
|
+
const r = {};
|
|
320
|
+
for (const n of String(d ?? "").split(";")) {
|
|
321
|
+
const a = n.indexOf(":");
|
|
322
|
+
if (a < 0) continue;
|
|
323
|
+
const c = n.slice(0, a).trim();
|
|
324
|
+
c && (r[c.startsWith("--") ? c : c.replace(/-([a-z])/g, (o, p) => p.toUpperCase())] = n.slice(a + 1).trim());
|
|
325
|
+
}
|
|
326
|
+
return r;
|
|
327
|
+
}
|
|
328
|
+
function ne({
|
|
329
|
+
eyebrow: d = "Lookbook",
|
|
330
|
+
title: r = "Shop the *look*",
|
|
331
|
+
text: n = "A Sunday uniform: a soft overshirt, a tote that goes everywhere and the mug that starts the day.",
|
|
332
|
+
media: a = { icon: "jacket", hue: 22 },
|
|
333
|
+
spots: c = [
|
|
334
|
+
{ x: 38, y: 34, product: { slug: "linen-overshirt", name: "Linen Overshirt", price: 145, category: "clothing", icon: "shirt", hue: 30 } },
|
|
335
|
+
{ x: 66, y: 62, product: { slug: "field-tote", name: "Field Tote", price: 120, category: "bags", icon: "bag", hue: 18 } },
|
|
336
|
+
{ x: 24, y: 76, product: { slug: "kiln-mug", name: "Kiln Mug", price: 32, category: "objects", icon: "mug", hue: 14 } }
|
|
337
|
+
],
|
|
338
|
+
currency: o = "EUR",
|
|
339
|
+
locale: p = "en-GB",
|
|
340
|
+
cartKey: _ = "ack-cart",
|
|
341
|
+
variant: h = "image-left",
|
|
342
|
+
id: i = "lookbook",
|
|
343
|
+
className: m = ""
|
|
344
|
+
}) {
|
|
345
|
+
const y = { currency: o, locale: p }, k = r.split(/\*(.+?)\*/g), w = c.reduce((t, l) => t + l.product.price, 0), v = j(!1);
|
|
346
|
+
return q(() => {
|
|
347
|
+
v.current || (v.current = !0, F(document), document.querySelectorAll("[data-lookbook]:not([data-bound])").forEach((t) => {
|
|
348
|
+
t.dataset.bound = "";
|
|
349
|
+
const l = Array.from(t.querySelectorAll("[data-spot]")), u = Array.from(t.querySelectorAll("[data-row]")), N = () => {
|
|
350
|
+
l.forEach((b) => {
|
|
351
|
+
b.setAttribute("aria-expanded", "false");
|
|
352
|
+
const S = document.getElementById(b.getAttribute("aria-controls") || "");
|
|
353
|
+
S && (S.hidden = !0);
|
|
354
|
+
}), u.forEach((b) => b.classList.remove("is-active"));
|
|
355
|
+
};
|
|
356
|
+
l.forEach((b, S) => {
|
|
357
|
+
var E, A;
|
|
358
|
+
b.addEventListener("click", (L) => {
|
|
359
|
+
var x;
|
|
360
|
+
L.stopPropagation();
|
|
361
|
+
const f = b.getAttribute("aria-expanded") !== "true";
|
|
362
|
+
if (N(), !f) return;
|
|
363
|
+
b.setAttribute("aria-expanded", "true");
|
|
364
|
+
const g = document.getElementById(b.getAttribute("aria-controls") || "");
|
|
365
|
+
g && (g.hidden = !1), (x = u[S]) == null || x.classList.add("is-active");
|
|
366
|
+
}), (E = u[S]) == null || E.addEventListener("mouseenter", () => b.classList.add("is-hint")), (A = u[S]) == null || A.addEventListener("mouseleave", () => b.classList.remove("is-hint"));
|
|
367
|
+
}), document.addEventListener("click", (b) => {
|
|
368
|
+
t.contains(b.target) || N();
|
|
369
|
+
}), t.addEventListener("keydown", (b) => {
|
|
370
|
+
if (b.key !== "Escape") return;
|
|
371
|
+
const S = l.find((E) => E.getAttribute("aria-expanded") === "true");
|
|
372
|
+
N(), S == null || S.focus();
|
|
373
|
+
});
|
|
374
|
+
}));
|
|
375
|
+
}, []), /* @__PURE__ */ e($, { children: /* @__PURE__ */ e("div", { className: "slb-cq", "data-rk-e29b78": "", children: /* @__PURE__ */ s("section", { className: B(["slb", `slb--${h}`, m]), "data-lookbook": !0, "data-rk-e29b78": "", children: [
|
|
376
|
+
/* @__PURE__ */ s("div", { className: "slb__stage", "data-rk-e29b78": "", children: [
|
|
377
|
+
/* @__PURE__ */ e(C, { image: a.image, alt: a.alt ?? "", icon: a.icon, hue: a.hue, ratio: "4 / 5", variant: "soft", size: "lg" }),
|
|
378
|
+
c.map((t, l) => {
|
|
379
|
+
var u, N;
|
|
380
|
+
return /* @__PURE__ */ s("div", { className: "slb__spot", style: U(`left: ${t.x}%; top: ${t.y}%`), "data-rk-e29b78": "", children: [
|
|
381
|
+
/* @__PURE__ */ e("button", { type: "button", className: "slb__dot", "aria-expanded": "false", "aria-controls": `${i}-pop-${l}`, "aria-label": `${l + 1}: ${t.product.name}, ${M(t.product.price, y)}`, "data-spot": l, "data-rk-e29b78": "", children: l + 1 }),
|
|
382
|
+
/* @__PURE__ */ s("div", { className: B(["slb__pop", { "slb__pop--left": t.x > 60 }]), id: `${i}-pop-${l}`, hidden: !0, "data-pop": !0, "data-rk-e29b78": "", children: [
|
|
383
|
+
/* @__PURE__ */ e("p", { className: "slb__pop-name", "data-rk-e29b78": "", children: t.product.name }),
|
|
384
|
+
/* @__PURE__ */ e("p", { className: "slb__pop-price", "data-rk-e29b78": "", children: M(t.product.price, y) }),
|
|
385
|
+
/* @__PURE__ */ s("div", { className: "slb__pop-actions", "data-rk-e29b78": "", children: [
|
|
386
|
+
/* @__PURE__ */ e("a", { href: t.href ?? "#", "data-rk-e29b78": "", children: "View" }),
|
|
387
|
+
/* @__PURE__ */ e("button", { type: "button", "data-add-to-cart": JSON.stringify({ id: t.product.slug, name: t.product.name, price: t.product.price, icon: t.product.icon, hue: t.product.hue, variant: (N = (u = t.product.colors) == null ? void 0 : u[0]) == null ? void 0 : N.name }), "data-cart-key": _, "data-open-cart": "false", "data-added-label": "Added", "data-rk-e29b78": "", children: /* @__PURE__ */ e("span", { "data-label": !0, "data-rk-e29b78": "", children: "Add to bag" }) })
|
|
388
|
+
] })
|
|
389
|
+
] })
|
|
390
|
+
] }, l);
|
|
391
|
+
})
|
|
392
|
+
] }),
|
|
393
|
+
/* @__PURE__ */ s("div", { className: "slb__copy", "data-rk-e29b78": "", children: [
|
|
394
|
+
d && /* @__PURE__ */ e("p", { className: "slb__eyebrow", "data-rk-e29b78": "", children: d }),
|
|
395
|
+
/* @__PURE__ */ e("h2", { className: "slb__title", "data-rk-e29b78": "", children: k.map((t, l) => l % 2 ? /* @__PURE__ */ e("em", { "data-rk-e29b78": "", children: t }) : t) }),
|
|
396
|
+
n && /* @__PURE__ */ e("p", { className: "slb__text", "data-rk-e29b78": "", children: n }),
|
|
397
|
+
/* @__PURE__ */ e("ol", { className: "slb__list", "data-rk-e29b78": "", children: c.map((t, l) => /* @__PURE__ */ s("li", { className: "slb__row", "data-row": l, "data-rk-e29b78": "", children: [
|
|
398
|
+
/* @__PURE__ */ e("span", { className: "slb__row-num", "aria-hidden": "true", "data-rk-e29b78": "", children: String(l + 1).padStart(2, "0") }),
|
|
399
|
+
/* @__PURE__ */ e("a", { className: "slb__row-name", href: t.href ?? "#", "data-rk-e29b78": "", children: t.product.name }),
|
|
400
|
+
/* @__PURE__ */ e("span", { className: "slb__row-price", "data-rk-e29b78": "", children: M(t.product.price, y) })
|
|
401
|
+
] }, l)) }),
|
|
402
|
+
/* @__PURE__ */ s("p", { className: "slb__total", "data-rk-e29b78": "", children: [
|
|
403
|
+
/* @__PURE__ */ e("span", { "data-rk-e29b78": "", children: "The complete look" }),
|
|
404
|
+
/* @__PURE__ */ e("strong", { "data-rk-e29b78": "", children: M(w, y) })
|
|
405
|
+
] })
|
|
406
|
+
] })
|
|
407
|
+
] }) }) });
|
|
408
|
+
}
|
|
409
|
+
function J(...d) {
|
|
410
|
+
const r = [], n = (a) => {
|
|
411
|
+
if (a) {
|
|
412
|
+
if (typeof a == "string" || typeof a == "number") r.push(String(a));
|
|
413
|
+
else if (Array.isArray(a)) a.forEach(n);
|
|
414
|
+
else if (typeof a == "object")
|
|
415
|
+
for (const [c, o] of Object.entries(a)) o && r.push(c);
|
|
416
|
+
}
|
|
417
|
+
};
|
|
418
|
+
return d.forEach(n), r.join(" ");
|
|
419
|
+
}
|
|
420
|
+
function K(d) {
|
|
421
|
+
const r = {};
|
|
422
|
+
for (const n of String(d ?? "").split(";")) {
|
|
423
|
+
const a = n.indexOf(":");
|
|
424
|
+
if (a < 0) continue;
|
|
425
|
+
const c = n.slice(0, a).trim();
|
|
426
|
+
c && (r[c.startsWith("--") ? c : c.replace(/-([a-z])/g, (o, p) => p.toUpperCase())] = n.slice(a + 1).trim());
|
|
427
|
+
}
|
|
428
|
+
return r;
|
|
429
|
+
}
|
|
430
|
+
function ie({
|
|
431
|
+
words: d = ["Made slowly", "Natural fibres", "Small workshops", "Repaired for life"],
|
|
432
|
+
values: r = [
|
|
433
|
+
{ title: "Honest materials", text: "Linen, wool, organic cotton and stoneware — traceable to the mill and the kiln." },
|
|
434
|
+
{ title: "Made in small runs", text: "Each piece is produced in batches of a few hundred, never mass-manufactured." },
|
|
435
|
+
{ title: "Kept for years", text: "Free repairs on everything we make, and a buy-back for pieces you have outgrown." }
|
|
436
|
+
],
|
|
437
|
+
speed: n = 36,
|
|
438
|
+
variant: a = "plain",
|
|
439
|
+
size: c = "md",
|
|
440
|
+
className: o = ""
|
|
441
|
+
}) {
|
|
442
|
+
return /* @__PURE__ */ e($, { children: /* @__PURE__ */ s("section", { className: J(["svm", `svm--${a}`, `svm--${c}`, o]), style: K(`--svm-speed: ${n}s`), "data-rk-6a922c": "", children: [
|
|
443
|
+
d.length > 0 && /* @__PURE__ */ e("div", { className: "svm__marquee", "aria-hidden": "true", "data-rk-6a922c": "", children: /* @__PURE__ */ e("div", { className: "svm__track", "data-rk-6a922c": "", children: [0, 1].map(() => d.map((p, _) => /* @__PURE__ */ s("span", { "data-rk-6a922c": "", children: [
|
|
444
|
+
p,
|
|
445
|
+
/* @__PURE__ */ e("i", { "data-rk-6a922c": "", children: "✺" })
|
|
446
|
+
] }, _))) }) }),
|
|
447
|
+
r.length > 0 && /* @__PURE__ */ e("ol", { className: "svm__values", "data-rk-6a922c": "", children: r.map((p, _) => /* @__PURE__ */ s("li", { "data-rk-6a922c": "", children: [
|
|
448
|
+
/* @__PURE__ */ e("span", { className: "svm__num", "aria-hidden": "true", "data-rk-6a922c": "", children: String(_ + 1).padStart(2, "0") }),
|
|
449
|
+
/* @__PURE__ */ e("h3", { "data-rk-6a922c": "", children: p.title }),
|
|
450
|
+
/* @__PURE__ */ e("p", { "data-rk-6a922c": "", children: p.text })
|
|
451
|
+
] }, _)) })
|
|
452
|
+
] }) });
|
|
453
|
+
}
|
|
454
|
+
function T(...d) {
|
|
455
|
+
const r = [], n = (a) => {
|
|
456
|
+
if (a) {
|
|
457
|
+
if (typeof a == "string" || typeof a == "number") r.push(String(a));
|
|
458
|
+
else if (Array.isArray(a)) a.forEach(n);
|
|
459
|
+
else if (typeof a == "object")
|
|
460
|
+
for (const [c, o] of Object.entries(a)) o && r.push(c);
|
|
461
|
+
}
|
|
462
|
+
};
|
|
463
|
+
return d.forEach(n), r.join(" ");
|
|
464
|
+
}
|
|
465
|
+
function ce({
|
|
466
|
+
eyebrow: d = "Customer notes",
|
|
467
|
+
score: r = 4.9,
|
|
468
|
+
count: n = 1284,
|
|
469
|
+
reviews: a = [
|
|
470
|
+
{ quote: "The overshirt has been washed forty times and it only gets softer. It is the first thing I reach for.", name: "Inés M.", place: "Valencia", product: "Linen Overshirt", rating: 5 },
|
|
471
|
+
{ quote: "Packaging without plastic, a handwritten note, and a mug that feels made for my hands.", name: "Jonas P.", place: "Hamburg", product: "Kiln Mug", rating: 5 },
|
|
472
|
+
{ quote: "They repaired the strap of my tote for free, two years after I bought it. That is rare.", name: "Amira S.", place: "Lyon", product: "Field Tote", rating: 5 }
|
|
473
|
+
],
|
|
474
|
+
interval: c = 7e3,
|
|
475
|
+
variant: o = "plain",
|
|
476
|
+
className: p = ""
|
|
477
|
+
}) {
|
|
478
|
+
const _ = j(!1);
|
|
479
|
+
return q(() => {
|
|
480
|
+
_.current || (_.current = !0, document.querySelectorAll("[data-reviews]:not([data-bound])").forEach((h) => {
|
|
481
|
+
h.dataset.bound = "";
|
|
482
|
+
const i = Array.from(h.querySelectorAll("[data-slide]")), m = Array.from(h.querySelectorAll("[data-page]"));
|
|
483
|
+
let y = 0, k = !1;
|
|
484
|
+
const w = (t) => {
|
|
485
|
+
y = (t + i.length) % i.length, i.forEach((l, u) => {
|
|
486
|
+
l.hidden = u !== y, l.classList.toggle("is-active", u === y);
|
|
487
|
+
}), m.forEach((l, u) => {
|
|
488
|
+
u === y ? l.setAttribute("aria-current", "true") : l.removeAttribute("aria-current");
|
|
489
|
+
});
|
|
490
|
+
};
|
|
491
|
+
m.forEach((t, l) => t.addEventListener("click", () => w(l))), h.addEventListener("mouseenter", () => {
|
|
492
|
+
k = !0;
|
|
493
|
+
}), h.addEventListener("mouseleave", () => {
|
|
494
|
+
k = !1;
|
|
495
|
+
}), h.addEventListener("focusin", () => {
|
|
496
|
+
k = !0;
|
|
497
|
+
}), h.addEventListener("focusout", () => {
|
|
498
|
+
k = !1;
|
|
499
|
+
});
|
|
500
|
+
const v = Number(h.dataset.interval) || 0;
|
|
501
|
+
v > 0 && i.length > 1 && !window.matchMedia("(prefers-reduced-motion: reduce)").matches && window.setInterval(() => {
|
|
502
|
+
!k && !document.hidden && w(y + 1);
|
|
503
|
+
}, v);
|
|
504
|
+
}));
|
|
505
|
+
}, []), /* @__PURE__ */ e($, { children: /* @__PURE__ */ e("div", { className: "sre-cq", "data-rk-45af0e": "", children: /* @__PURE__ */ s("section", { className: T(["sre", `sre--${o}`, p]), "aria-roledescription": "carousel", "aria-label": d, "data-reviews": !0, "data-interval": c, "data-rk-45af0e": "", children: [
|
|
506
|
+
/* @__PURE__ */ s("div", { className: "sre__side", "data-rk-45af0e": "", children: [
|
|
507
|
+
/* @__PURE__ */ e("p", { className: "sre__eyebrow", "data-rk-45af0e": "", children: d }),
|
|
508
|
+
/* @__PURE__ */ s("p", { className: "sre__score", "data-rk-45af0e": "", children: [
|
|
509
|
+
r.toFixed(1),
|
|
510
|
+
/* @__PURE__ */ e("span", { "data-rk-45af0e": "", children: "/5" })
|
|
511
|
+
] }),
|
|
512
|
+
/* @__PURE__ */ e(W, { value: r, count: n, showValue: !1, size: "md" })
|
|
513
|
+
] }),
|
|
514
|
+
/* @__PURE__ */ s("div", { className: "sre__main", "data-rk-45af0e": "", children: [
|
|
515
|
+
/* @__PURE__ */ e("div", { className: "sre__slides", "data-rk-45af0e": "", children: a.map((h, i) => /* @__PURE__ */ s("figure", { className: T(["sre__slide", { "is-active": i === 0 }]), hidden: i !== 0, "aria-roledescription": "slide", "aria-label": `${i + 1} of ${a.length}`, "data-slide": !0, "data-rk-45af0e": "", children: [
|
|
516
|
+
/* @__PURE__ */ e("blockquote", { className: "sre__quote", "data-rk-45af0e": "", children: /* @__PURE__ */ s("p", { "data-rk-45af0e": "", children: [
|
|
517
|
+
"“",
|
|
518
|
+
h.quote,
|
|
519
|
+
"”"
|
|
520
|
+
] }) }),
|
|
521
|
+
/* @__PURE__ */ s("figcaption", { className: "sre__by", "data-rk-45af0e": "", children: [
|
|
522
|
+
/* @__PURE__ */ e("strong", { "data-rk-45af0e": "", children: h.name }),
|
|
523
|
+
h.place && /* @__PURE__ */ s("span", { "data-rk-45af0e": "", children: [
|
|
524
|
+
", ",
|
|
525
|
+
h.place
|
|
526
|
+
] }),
|
|
527
|
+
h.product && /* @__PURE__ */ s("span", { className: "sre__product", "data-rk-45af0e": "", children: [
|
|
528
|
+
"on ",
|
|
529
|
+
h.product
|
|
530
|
+
] })
|
|
531
|
+
] })
|
|
532
|
+
] }, i)) }),
|
|
533
|
+
a.length > 1 && /* @__PURE__ */ e("div", { className: "sre__pager", role: "group", "aria-label": "Choose a review", "data-rk-45af0e": "", children: a.map((h, i) => /* @__PURE__ */ e("button", { type: "button", className: "sre__page", "aria-label": `Review ${i + 1}`, "aria-current": i === 0 ? "true" : void 0, "data-page": i, "data-rk-45af0e": "", children: String(i + 1).padStart(2, "0") }, i)) })
|
|
534
|
+
] })
|
|
535
|
+
] }) }) });
|
|
536
|
+
}
|
|
537
|
+
function H(...d) {
|
|
538
|
+
const r = [], n = (a) => {
|
|
539
|
+
if (a) {
|
|
540
|
+
if (typeof a == "string" || typeof a == "number") r.push(String(a));
|
|
541
|
+
else if (Array.isArray(a)) a.forEach(n);
|
|
542
|
+
else if (typeof a == "object")
|
|
543
|
+
for (const [c, o] of Object.entries(a)) o && r.push(c);
|
|
544
|
+
}
|
|
545
|
+
};
|
|
546
|
+
return d.forEach(n), r.join(" ");
|
|
547
|
+
}
|
|
548
|
+
function le({
|
|
549
|
+
title: d = "Letters from the *studio*",
|
|
550
|
+
text: r = "One email a month: new pieces before anyone else, the people who make them, and 10% off your first order.",
|
|
551
|
+
action: n = "#",
|
|
552
|
+
buttonLabel: a = "Subscribe",
|
|
553
|
+
consent: c = "By subscribing you accept our privacy policy. Unsubscribe in one click.",
|
|
554
|
+
successText: o = "Thank you — your first letter is on its way.",
|
|
555
|
+
variant: p = "plain",
|
|
556
|
+
size: _ = "md",
|
|
557
|
+
id: h = "shop-news",
|
|
558
|
+
className: i = ""
|
|
559
|
+
}) {
|
|
560
|
+
const m = d.split(/\*(.+?)\*/g), y = j(!1);
|
|
561
|
+
return q(() => {
|
|
562
|
+
y.current || (y.current = !0, document.querySelectorAll("form[data-news]:not([data-bound])").forEach((k) => {
|
|
563
|
+
k.dataset.bound = "";
|
|
564
|
+
const w = k.querySelector('input[type="email"]'), v = k.querySelector("[data-msg]");
|
|
565
|
+
k.addEventListener("submit", (t) => {
|
|
566
|
+
const l = k.getAttribute("action") === "#";
|
|
567
|
+
if (!w.checkValidity()) {
|
|
568
|
+
t.preventDefault(), w.setAttribute("aria-invalid", "true"), v.dataset.state = "error", v.textContent = "Please enter a valid email address.", w.focus();
|
|
569
|
+
return;
|
|
570
|
+
}
|
|
571
|
+
w.removeAttribute("aria-invalid"), l && (t.preventDefault(), v.dataset.state = "ok", v.textContent = k.dataset.success || "Subscribed.", k.reset());
|
|
572
|
+
});
|
|
573
|
+
}));
|
|
574
|
+
}, []), /* @__PURE__ */ e($, { children: /* @__PURE__ */ e("div", { className: "sne-cq", "data-rk-b34b0e": "", children: /* @__PURE__ */ s("section", { className: H(["sne", `sne--${p}`, `sne--${_}`, i]), "aria-labelledby": `${h}-title`, "data-rk-b34b0e": "", children: [
|
|
575
|
+
/* @__PURE__ */ e("h2", { className: "sne__title", id: `${h}-title`, "data-rk-b34b0e": "", children: m.map((k, w) => w % 2 ? /* @__PURE__ */ e("em", { "data-rk-b34b0e": "", children: k }) : k) }),
|
|
576
|
+
/* @__PURE__ */ s("div", { className: "sne__side", "data-rk-b34b0e": "", children: [
|
|
577
|
+
r && /* @__PURE__ */ e("p", { className: "sne__text", "data-rk-b34b0e": "", children: r }),
|
|
578
|
+
/* @__PURE__ */ s("form", { className: "sne__form", action: n, method: "post", noValidate: !0, "data-news": !0, "data-success": o, "data-rk-b34b0e": "", children: [
|
|
579
|
+
/* @__PURE__ */ e("label", { className: "sne__label", htmlFor: `${h}-email`, "data-rk-b34b0e": "", children: "Email address" }),
|
|
580
|
+
/* @__PURE__ */ s("div", { className: "sne__field", "data-rk-b34b0e": "", children: [
|
|
581
|
+
/* @__PURE__ */ e("input", { id: `${h}-email`, name: "email", type: "email", required: !0, autoComplete: "email", placeholder: "you@example.com", "aria-describedby": `${h}-msg`, "data-rk-b34b0e": "" }),
|
|
582
|
+
/* @__PURE__ */ s("button", { type: "submit", "data-rk-b34b0e": "", children: [
|
|
583
|
+
a,
|
|
584
|
+
" ",
|
|
585
|
+
/* @__PURE__ */ e("span", { "aria-hidden": "true", "data-rk-b34b0e": "", children: "→" })
|
|
586
|
+
] })
|
|
587
|
+
] }),
|
|
588
|
+
/* @__PURE__ */ e("p", { className: "sne__msg", id: `${h}-msg`, "aria-live": "polite", "data-msg": !0, "data-rk-b34b0e": "" }),
|
|
589
|
+
c && /* @__PURE__ */ e("p", { className: "sne__consent", "data-rk-b34b0e": "", children: c })
|
|
590
|
+
] })
|
|
591
|
+
] })
|
|
592
|
+
] }) }) });
|
|
593
|
+
}
|
|
594
|
+
function G(...d) {
|
|
595
|
+
const r = [], n = (a) => {
|
|
596
|
+
if (a) {
|
|
597
|
+
if (typeof a == "string" || typeof a == "number") r.push(String(a));
|
|
598
|
+
else if (Array.isArray(a)) a.forEach(n);
|
|
599
|
+
else if (typeof a == "object")
|
|
600
|
+
for (const [c, o] of Object.entries(a)) o && r.push(c);
|
|
601
|
+
}
|
|
602
|
+
};
|
|
603
|
+
return d.forEach(n), r.join(" ");
|
|
604
|
+
}
|
|
605
|
+
function de({
|
|
606
|
+
brand: d = "Forma",
|
|
607
|
+
brandHref: r = "/",
|
|
608
|
+
columns: n = [
|
|
609
|
+
{ title: "Shop", links: [{ label: "Clothing", href: "#" }, { label: "Shoes", href: "#" }, { label: "Bags", href: "#" }, { label: "Objects", href: "#" }] },
|
|
610
|
+
{ title: "Care", links: [{ label: "Shipping", href: "#" }, { label: "Returns", href: "#" }, { label: "Repairs", href: "#" }, { label: "Size guide", href: "#" }] },
|
|
611
|
+
{ title: "Studio", links: [{ label: "About", href: "#" }, { label: "Journal", href: "#" }, { label: "Stockists", href: "#" }] }
|
|
612
|
+
],
|
|
613
|
+
contact: a = { title: "Visit", lines: ["Calle del Pez 14, Madrid", "Tue–Sat · 11:00–20:00", "hello@forma.studio"] },
|
|
614
|
+
payments: c = ["Visa", "Mastercard", "PayPal", "Apple Pay"],
|
|
615
|
+
copyright: o = `© ${(/* @__PURE__ */ new Date()).getFullYear()} Forma Studio`,
|
|
616
|
+
variant: p = "plain",
|
|
617
|
+
className: _ = ""
|
|
618
|
+
}) {
|
|
619
|
+
return /* @__PURE__ */ e($, { children: /* @__PURE__ */ s("footer", { className: G(["sfw", `sfw--${p}`, _]), "aria-labelledby": "sfw-title", "data-rk-d16b13": "", children: [
|
|
620
|
+
/* @__PURE__ */ e("h2", { id: "sfw-title", className: "sr-only", "data-rk-d16b13": "", children: "Site footer" }),
|
|
621
|
+
/* @__PURE__ */ s("div", { className: "sfw__top", "data-rk-d16b13": "", children: [
|
|
622
|
+
/* @__PURE__ */ e("a", { className: "sfw__brand", href: r, "data-rk-d16b13": "", children: d }),
|
|
623
|
+
n.map((h, i) => /* @__PURE__ */ s("nav", { className: "sfw__col", "aria-label": h.title, "data-rk-d16b13": "", children: [
|
|
624
|
+
/* @__PURE__ */ e("p", { className: "sfw__col-title", "data-rk-d16b13": "", children: h.title }),
|
|
625
|
+
/* @__PURE__ */ e("ul", { "data-rk-d16b13": "", children: h.links.map((m, y) => /* @__PURE__ */ e("li", { "data-rk-d16b13": "", children: /* @__PURE__ */ e("a", { href: m.href, "data-rk-d16b13": "", children: m.label }) }, y)) })
|
|
626
|
+
] }, i)),
|
|
627
|
+
a && /* @__PURE__ */ s("div", { className: "sfw__col", "data-rk-d16b13": "", children: [
|
|
628
|
+
/* @__PURE__ */ e("p", { className: "sfw__col-title", "data-rk-d16b13": "", children: a.title }),
|
|
629
|
+
/* @__PURE__ */ e("address", { "data-rk-d16b13": "", children: a.lines.map((h, i) => /* @__PURE__ */ e("span", { "data-rk-d16b13": "", children: h }, i)) })
|
|
630
|
+
] })
|
|
631
|
+
] }),
|
|
632
|
+
/* @__PURE__ */ s("div", { className: "sfw__bottom", "data-rk-d16b13": "", children: [
|
|
633
|
+
/* @__PURE__ */ e("p", { "data-rk-d16b13": "", children: o }),
|
|
634
|
+
c.length > 0 && /* @__PURE__ */ e("ul", { className: "sfw__pay", "aria-label": "Payment methods", "data-rk-d16b13": "", children: c.map((h, i) => /* @__PURE__ */ e("li", { "data-rk-d16b13": "", children: h }, i)) })
|
|
635
|
+
] }),
|
|
636
|
+
/* @__PURE__ */ s("p", { className: "sfw__wordmark", "aria-hidden": "true", "data-rk-d16b13": "", children: [
|
|
637
|
+
d,
|
|
638
|
+
/* @__PURE__ */ e("span", { "data-rk-d16b13": "", children: "°" })
|
|
639
|
+
] })
|
|
640
|
+
] }) });
|
|
641
|
+
}
|
|
642
|
+
function Q(...d) {
|
|
643
|
+
const r = [], n = (a) => {
|
|
644
|
+
if (a) {
|
|
645
|
+
if (typeof a == "string" || typeof a == "number") r.push(String(a));
|
|
646
|
+
else if (Array.isArray(a)) a.forEach(n);
|
|
647
|
+
else if (typeof a == "object")
|
|
648
|
+
for (const [c, o] of Object.entries(a)) o && r.push(c);
|
|
649
|
+
}
|
|
650
|
+
};
|
|
651
|
+
return d.forEach(n), r.join(" ");
|
|
652
|
+
}
|
|
653
|
+
function oe({
|
|
654
|
+
breadcrumb: d = [{ label: "Home", href: "#" }, { label: "Shop", href: "#" }, { label: "Clothing" }],
|
|
655
|
+
title: r = "Clothing",
|
|
656
|
+
count: n = 24,
|
|
657
|
+
text: a = "Overshirts, knitwear and outerwear cut from linen, merino and organic cotton. Designed to be layered, washed and worn for a decade.",
|
|
658
|
+
links: c = [
|
|
659
|
+
{ label: "All", href: "#", active: !0 },
|
|
660
|
+
{ label: "Overshirts", href: "#" },
|
|
661
|
+
{ label: "Knitwear", href: "#" },
|
|
662
|
+
{ label: "Outerwear", href: "#" }
|
|
663
|
+
],
|
|
664
|
+
visuals: o = [{ icon: "shirt", hue: 30 }, { icon: "jacket", hue: 22 }, { icon: "sneaker", hue: 12 }],
|
|
665
|
+
variant: p = "split",
|
|
666
|
+
size: _ = "md",
|
|
667
|
+
className: h = ""
|
|
668
|
+
}) {
|
|
669
|
+
return /* @__PURE__ */ e($, { children: /* @__PURE__ */ s("header", { className: Q(["sch", `sch--${p}`, `sch--${_}`, h]), "data-rk-979dea": "", children: [
|
|
670
|
+
/* @__PURE__ */ e("nav", { className: "sch__crumbs", "aria-label": "Breadcrumb", "data-rk-979dea": "", children: /* @__PURE__ */ e("ol", { "data-rk-979dea": "", children: d.map((i, m) => /* @__PURE__ */ e("li", { "data-rk-979dea": "", children: i.href && m < d.length - 1 ? /* @__PURE__ */ e("a", { href: i.href, "data-rk-979dea": "", children: i.label }) : /* @__PURE__ */ e("span", { "aria-current": "page", "data-rk-979dea": "", children: i.label }) }, m)) }) }),
|
|
671
|
+
/* @__PURE__ */ s("div", { className: "sch__main", "data-rk-979dea": "", children: [
|
|
672
|
+
/* @__PURE__ */ s("h1", { className: "sch__title", "data-rk-979dea": "", children: [
|
|
673
|
+
r,
|
|
674
|
+
n !== void 0 && /* @__PURE__ */ e("sup", { "data-rk-979dea": "", children: n })
|
|
675
|
+
] }),
|
|
676
|
+
/* @__PURE__ */ s("div", { className: "sch__side", "data-rk-979dea": "", children: [
|
|
677
|
+
a && /* @__PURE__ */ e("p", { className: "sch__text", "data-rk-979dea": "", children: a }),
|
|
678
|
+
c.length > 0 && /* @__PURE__ */ e("ul", { className: "sch__links", "data-rk-979dea": "", children: c.map((i, m) => /* @__PURE__ */ e("li", { "data-rk-979dea": "", children: /* @__PURE__ */ e("a", { href: i.href, "aria-current": i.active ? "page" : void 0, "data-rk-979dea": "", children: i.label }) }, m)) })
|
|
679
|
+
] })
|
|
680
|
+
] }),
|
|
681
|
+
o.length > 0 && /* @__PURE__ */ e("div", { className: "sch__strip", "aria-hidden": "true", "data-rk-979dea": "", children: o.slice(0, 3).map((i, m) => /* @__PURE__ */ e(C, { image: i.image, icon: i.icon, hue: i.hue, ratio: "16 / 9", variant: "soft", size: "md" }, m)) })
|
|
682
|
+
] }) });
|
|
683
|
+
}
|
|
684
|
+
export {
|
|
685
|
+
oe as S,
|
|
686
|
+
re as a,
|
|
687
|
+
de as b,
|
|
688
|
+
ae as c,
|
|
689
|
+
te as d,
|
|
690
|
+
ne as e,
|
|
691
|
+
le as f,
|
|
692
|
+
se as g,
|
|
693
|
+
ce as h,
|
|
694
|
+
ie as i
|
|
695
|
+
};
|