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
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.0] - 2026-11-05
|
|
11
|
+
|
|
12
|
+
First public release of **React Components Kit**: the complete Astro Components Kit catalogue for React 18 & 19, with the docs site at [reactcomponents.dev](https://reactcomponents.dev).
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- **290 components** in 13 entry points: `buttons`, `forms`, `cards`, `feedback`, `navigation`, `layout`, `overlays`, `data`, `typography`, `charts` (44 pure-SVG charts), `ecommerce`, `app` and `sections` (51 full-page sections).
|
|
16
|
+
- **3 multi-page templates**: `templates/ecommerce` (Nova Store), `templates/ecommerce-editorial` (Forma) and `templates/saas-hotel` (Lobby), themed with the corporate sky-blue palette.
|
|
17
|
+
- Optional-peer entry points: `apexcharts` (AreaChart, BarChart, DonutChart) and `three` (Galaxy3D) — never resolved unless you import them.
|
|
18
|
+
- Design tokens (`global.css`) with dark (default) and light (`data-theme="light"`) themes; every component reads them, including translucent accents (`color-mix`).
|
|
19
|
+
- Scoped component CSS (`data-rk-*` + `:where()`), so styles never leak or collide; one `styles.css` bundle.
|
|
20
|
+
- ESM build, `.d.ts` types (also for `moduleResolution: "node"` via `typesVersions`), `'use client'` on every module, SSR-safe ids (`useId`).
|
|
21
|
+
- Docs site (EN/ES/RU): live preview, usage and full source for every component, section and template.
|
|
22
|
+
|
|
23
|
+
### Fixed (also present in the Astro kit)
|
|
24
|
+
- `AreaChart`, `BarChart` and `DonutChart` never rendered (CSS variables passed to ApexCharts, wrong donut total field).
|
|
25
|
+
- `GlassModal` centring; `StickySidebarWrapper` `class:list` typo.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 konstantinwdk
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,226 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ⚛ React Component Kit
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> A free, open-source, accessible UI component library for **React 18 & 19**.
|
|
4
|
+
> Dark-first glassmorphism design, zero runtime dependencies, fully typed.
|
|
5
|
+
>
|
|
6
|
+
> **🌐 Browse components** at [reactcomponents.dev](https://reactcomponents.dev)
|
|
7
|
+
> **📦 Install** with `npm install react-component-kit-ui`, or **copy-paste** a single component.
|
|
8
|
+
>
|
|
9
|
+
> Sister project of [Astro Component Kit](https://astrocomponents.dev): same design system, same class names, same look. Built for React.
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+

|
|
13
|
+

|
|
14
|
+

|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## ✨ Features
|
|
20
|
+
|
|
21
|
+
- 🎨 **Dark & light theme**: dark first, with opt-in `data-theme="light"` and shared CSS design tokens
|
|
22
|
+
- ♿ **Accessible**: WCAG 2.1 AA targets, ARIA roles, keyboard support, native `<dialog>` for modals
|
|
23
|
+
- 🧩 **Self-contained components**: each one is a `.tsx` + `.css` pair with no internal imports, so you can copy a single file into your project
|
|
24
|
+
- ⚡ **Zero runtime dependencies**: only `react` as a peer dependency, plain CSS (no Tailwind, no CSS-in-JS)
|
|
25
|
+
- 🔷 **Fully typed**: every component exports its `Props` interface and forwards native HTML attributes (`onClick`, `aria-*`, `className`, `style`…)
|
|
26
|
+
- ▲ **Next.js ready**: every module ships with `'use client'`; SSR-safe (no `Math.random()` ids, uses `useId()`)
|
|
27
|
+
- 🌳 **Tree-shakeable**: import per category (`react-component-kit-ui/buttons`)
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 🚀 Quick Start
|
|
32
|
+
|
|
33
|
+
### 1. Install
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm install react-component-kit-ui
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 2. Import the styles once (e.g. in `main.tsx` or `app/layout.tsx`)
|
|
40
|
+
|
|
41
|
+
```tsx
|
|
42
|
+
import 'react-component-kit-ui/global.css'; // design tokens, reset, fonts (required)
|
|
43
|
+
import 'react-component-kit-ui/styles.css'; // component styles
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
> Already have your own reset? `global.css` is optional as long as you define the `--c-*`, `--r-*` and `--sp-*` tokens (see [Design tokens](#-design-tokens)).
|
|
47
|
+
|
|
48
|
+
### 3. Use components
|
|
49
|
+
|
|
50
|
+
```tsx
|
|
51
|
+
import { GlassButton, LoadingButton } from 'react-component-kit-ui/buttons';
|
|
52
|
+
import { GlassAlert, GlassModal, Badge } from 'react-component-kit-ui/feedback';
|
|
53
|
+
|
|
54
|
+
export function Example() {
|
|
55
|
+
const [open, setOpen] = useState(false);
|
|
56
|
+
const [saving, setSaving] = useState(false);
|
|
57
|
+
|
|
58
|
+
return (
|
|
59
|
+
<>
|
|
60
|
+
<GlassAlert type="success" title="Saved">Your changes were stored.</GlassAlert>
|
|
61
|
+
|
|
62
|
+
<GlassButton onClick={() => setOpen(true)}>Delete project</GlassButton>
|
|
63
|
+
<LoadingButton isLoading={saving} onClick={save}>Save</LoadingButton>
|
|
64
|
+
<Badge variant="success" dot pulse>Live</Badge>
|
|
65
|
+
|
|
66
|
+
<GlassModal open={open} onClose={() => setOpen(false)} onConfirm={remove} title="Delete project?">
|
|
67
|
+
This action cannot be undone.
|
|
68
|
+
</GlassModal>
|
|
69
|
+
</>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Or import everything from the root: `import { GlassButton, Badge } from 'react-component-kit-ui'`.
|
|
75
|
+
|
|
76
|
+
### Option B: copy & paste
|
|
77
|
+
|
|
78
|
+
Every component is self-contained. Copy `GlassButton.tsx` + `GlassButton.css` from
|
|
79
|
+
[`src/components/lib/buttons/`](./src/components/lib/buttons) into your project, and include the tokens from
|
|
80
|
+
[`src/styles/global.css`](./src/styles/global.css).
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 📚 Components
|
|
85
|
+
|
|
86
|
+
**290 components, 51 full-page sections and 3 multi-page templates**, the complete Astro Components Kit catalogue ported to React.
|
|
87
|
+
|
|
88
|
+
| Category | Import | Items |
|
|
89
|
+
|----------|--------|:-----:|
|
|
90
|
+
| Buttons | `react-component-kit-ui/buttons` | 22 |
|
|
91
|
+
| Forms | `react-component-kit-ui/forms` | 24 |
|
|
92
|
+
| Cards | `react-component-kit-ui/cards` | 22 |
|
|
93
|
+
| Feedback | `react-component-kit-ui/feedback` | 22 |
|
|
94
|
+
| Navigation | `react-component-kit-ui/navigation` | 23 |
|
|
95
|
+
| Layout | `react-component-kit-ui/layout` | 22 |
|
|
96
|
+
| Overlays | `react-component-kit-ui/overlays` | 23 |
|
|
97
|
+
| Data display | `react-component-kit-ui/data` | 23 |
|
|
98
|
+
| Typography | `react-component-kit-ui/typography` | 24 |
|
|
99
|
+
| Charts (pure SVG) | `react-component-kit-ui/charts` | 44 |
|
|
100
|
+
| Charts (ApexCharts) | `react-component-kit-ui/apexcharts` | 3 |
|
|
101
|
+
| E-commerce | `react-component-kit-ui/ecommerce` | 25 |
|
|
102
|
+
| App & dashboard | `react-component-kit-ui/app` | 13 |
|
|
103
|
+
| Sections | `react-component-kit-ui/sections` | 51 |
|
|
104
|
+
| Templates | `react-component-kit-ui/templates/ecommerce` · `/templates/ecommerce-editorial` · `/templates/saas-hotel` | 3 |
|
|
105
|
+
|
|
106
|
+
Browse every component with a live preview, usage and full source at [reactcomponents.dev](https://reactcomponents.dev).
|
|
107
|
+
|
|
108
|
+
```tsx
|
|
109
|
+
import { StoreHomePage, demoStore } from 'react-component-kit-ui/templates/ecommerce';
|
|
110
|
+
|
|
111
|
+
// app/page.tsx (Next.js)
|
|
112
|
+
export default function Page() {
|
|
113
|
+
return <StoreHomePage store={{ ...demoStore, name: 'My Shop' }} />;
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Everything has zero runtime dependencies except two optional peers, which live in their own entry points so your bundler never looks for a package you did not install:
|
|
118
|
+
|
|
119
|
+
| Entry point | Components | Install |
|
|
120
|
+
|-------------|------------|---------|
|
|
121
|
+
| `react-component-kit-ui/apexcharts` | `AreaChart`, `BarChart`, `DonutChart` | `npm install apexcharts` |
|
|
122
|
+
| `react-component-kit-ui/three` | `Galaxy3D` | `npm install three` |
|
|
123
|
+
|
|
124
|
+
The other 44 charts in `react-component-kit-ui/charts` are pure SVG.
|
|
125
|
+
|
|
126
|
+
### How styles stay isolated
|
|
127
|
+
|
|
128
|
+
Like Astro's scoped styles, every component's CSS is scoped to its own markup with a `data-rk-<hash>` attribute and `:where()` selectors, so it never leaks into your app (and keeps the original specificity). Global design tokens live in `global.css`.
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## 🎨 Design tokens
|
|
133
|
+
|
|
134
|
+
All components read CSS custom properties defined in `global.css`. Override them to brand the kit:
|
|
135
|
+
|
|
136
|
+
```css
|
|
137
|
+
:root {
|
|
138
|
+
--c-primary: #6366f1; /* brand color */
|
|
139
|
+
--c-primary-light: #818cf8;
|
|
140
|
+
--c-bg: #050505; /* page background */
|
|
141
|
+
--c-text-1: #ffffff; /* headings */
|
|
142
|
+
--c-text-2: #a3a3a3; /* body */
|
|
143
|
+
--r-md: 12px; /* radius scale: --r-sm/md/lg/xl/full */
|
|
144
|
+
--font-sans: 'Inter', system-ui, sans-serif;
|
|
145
|
+
}
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
Light theme: add `data-theme="light"` to `<html>`.
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## 🛠 Development
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
git clone https://github.com/konstantinWDK/react-components.git
|
|
156
|
+
cd react-components
|
|
157
|
+
npm install
|
|
158
|
+
npm run dev # website (Next.js) → http://localhost:3000
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
| Script | What it does |
|
|
162
|
+
|--------|--------------|
|
|
163
|
+
| `npm run dev` | Website (Next.js) with hot reload |
|
|
164
|
+
| `npm run build` | Library build → `dist/` (ESM, `.d.ts`, `styles.css`, `global.css`) |
|
|
165
|
+
| `npm run build:site` | Static website → `out/` (what reactcomponents.dev serves) |
|
|
166
|
+
| `npm run typecheck` | TypeScript strict check |
|
|
167
|
+
| `npm run check-css` | Fails if two components define the same class / `@keyframes` |
|
|
168
|
+
| `npm run pack:check` | Build + list the files that would be published to npm |
|
|
169
|
+
|
|
170
|
+
### Project structure
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
src/
|
|
174
|
+
├── components/
|
|
175
|
+
│ ├── index.ts # root barrel
|
|
176
|
+
│ └── lib/
|
|
177
|
+
│ ├── buttons/
|
|
178
|
+
│ │ ├── GlassButton.tsx # component + exported Props
|
|
179
|
+
│ │ ├── GlassButton.css # its styles (same BEM classes as the Astro kit)
|
|
180
|
+
│ │ └── index.ts # category barrel → react-component-kit-ui/buttons
|
|
181
|
+
│ └── feedback/ …
|
|
182
|
+
└── styles/global.css # design tokens + reset (shared with the Astro kit)
|
|
183
|
+
app/ # Next.js routes: (en)/… at the root, [lang]/… for /es and /ru
|
|
184
|
+
site/ # reactcomponents.dev (same structure as astrocomponents.dev)
|
|
185
|
+
├── config/site.ts # site name, URL, SEO copy per locale
|
|
186
|
+
├── i18n/ # translations (copied from the Astro kit, adapted to React)
|
|
187
|
+
├── data/registry.json # component/section/template metadata exported from the Astro kit
|
|
188
|
+
├── demos/
|
|
189
|
+
│ ├── meta.ts # ported slugs → source file + usage snippet
|
|
190
|
+
│ └── <category>.tsx # live previews (one lazy chunk per category)
|
|
191
|
+
├── layout/ docs/ home/ pages/ # header, sidebar, docs page, home, catalogs
|
|
192
|
+
└── styles/ # site CSS ported from the Astro pages
|
|
193
|
+
scripts/
|
|
194
|
+
├── extract-css.mjs # port <style> blocks from the Astro kit
|
|
195
|
+
└── check-css.mjs # class / keyframe collision guard
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Porting from the Astro kit
|
|
199
|
+
|
|
200
|
+
The library is generated from [astro-component-kit](https://github.com/konstantinWDK/astro-components) by a source-to-source converter, then type-checked and visually audited:
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
node scripts/astro2react.mjs forms # .astro → .tsx + scoped .css
|
|
204
|
+
python3 scripts/port-fixes.py # hand fixes re-applied after a --force regeneration
|
|
205
|
+
node scripts/gen-site-meta.mjs # website metadata, usage snippets, previews
|
|
206
|
+
node scripts/gen-hardcoded-previews.mjs # hand-written demos from PreviewRenderer.astro
|
|
207
|
+
npx tsx --tsconfig scripts/smoke/tsconfig.json --import ./scripts/smoke/register.mjs scripts/smoke/ssr-smoke.tsx # SSR smoke test
|
|
208
|
+
node scripts/smoke/audit-pages.mjs http://localhost:5200 # browser audit of every docs page (needs a served build)
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
What the converter does: frontmatter → typed props with defaults, `class:list` → `className`, SVG/HTML attribute names, `style` strings → objects, `set:html`, `<slot>` → `children` / named props, keys for `.map()`, Astro-style scoped CSS, and client `<script>` blocks → a mount effect. `buttons/` and `feedback/` are hand-written ports.
|
|
212
|
+
|
|
213
|
+
## 🚢 Deployment & releases
|
|
214
|
+
|
|
215
|
+
- **Website** (reactcomponents.dev): Docker + Coolify, see [COOLIFY.md](./COOLIFY.md).
|
|
216
|
+
- **npm package**: see [PUBLISHING.md](./PUBLISHING.md) and [CHANGELOG.md](./CHANGELOG.md).
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## 🤝 Contributing
|
|
221
|
+
|
|
222
|
+
PRs are welcome. Please run `npm run typecheck && npm run build` before opening one, and keep components self-contained and accessible.
|
|
223
|
+
|
|
224
|
+
## 📄 License
|
|
225
|
+
|
|
226
|
+
[MIT](./LICENSE) © konstantinwdk
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as o, Fragment as N, jsxs as u } from "react/jsx-runtime";
|
|
3
|
+
import { useRef as v, useEffect as _ } from "react";
|
|
4
|
+
function q({
|
|
5
|
+
title: l,
|
|
6
|
+
subtitle: d,
|
|
7
|
+
categories: g = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
|
8
|
+
series: y = [{ name: "Data", data: [31, 40, 28, 51, 42, 109, 100] }],
|
|
9
|
+
height: k = 350,
|
|
10
|
+
colors: x = ["var(--c-accent, #b8860b)", "var(--c-primary, #1e40af)", "#3b82f6"],
|
|
11
|
+
showGrid: S = !0,
|
|
12
|
+
className: C = ""
|
|
13
|
+
}) {
|
|
14
|
+
const A = {
|
|
15
|
+
categories: g,
|
|
16
|
+
series: y,
|
|
17
|
+
height: k,
|
|
18
|
+
colors: x,
|
|
19
|
+
showGrid: S
|
|
20
|
+
}, f = v(!1);
|
|
21
|
+
return _(() => {
|
|
22
|
+
if (f.current) return;
|
|
23
|
+
f.current = !0;
|
|
24
|
+
async function b() {
|
|
25
|
+
const m = document.querySelectorAll('.premium-chart-card[data-chart-type="area"]');
|
|
26
|
+
if (m.length === 0) return;
|
|
27
|
+
let n;
|
|
28
|
+
try {
|
|
29
|
+
n = await import("apexcharts");
|
|
30
|
+
} catch (a) {
|
|
31
|
+
console.error("ApexCharts failed to load:", a);
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const p = n.default || n;
|
|
35
|
+
m.forEach((a) => {
|
|
36
|
+
if (a.getAttribute("data-initialized")) return;
|
|
37
|
+
const s = a.getAttribute("data-config");
|
|
38
|
+
if (!s) return;
|
|
39
|
+
const t = JSON.parse(s);
|
|
40
|
+
t.colors = (t.colors || []).map((r) => {
|
|
41
|
+
const e = /^var\((--[\w-]+)\s*(?:,\s*([^)]+))?\)$/.exec(String(r).trim());
|
|
42
|
+
return e ? getComputedStyle(a).getPropertyValue(e[1]).trim() || (e[2] || "").trim() : r;
|
|
43
|
+
});
|
|
44
|
+
const c = a.querySelector(".chart-container"), i = a.querySelector(".chart-fallback");
|
|
45
|
+
if (!c) return;
|
|
46
|
+
const h = {
|
|
47
|
+
series: t.series,
|
|
48
|
+
chart: {
|
|
49
|
+
type: "area",
|
|
50
|
+
height: t.height,
|
|
51
|
+
toolbar: { show: !1 },
|
|
52
|
+
zoom: { enabled: !1 },
|
|
53
|
+
background: "transparent",
|
|
54
|
+
fontFamily: "Inter, sans-serif",
|
|
55
|
+
animations: {
|
|
56
|
+
enabled: !0,
|
|
57
|
+
easing: "easeinout",
|
|
58
|
+
speed: 800
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
colors: t.colors,
|
|
62
|
+
dataLabels: { enabled: !1 },
|
|
63
|
+
stroke: { curve: "smooth", width: 3 },
|
|
64
|
+
fill: {
|
|
65
|
+
type: "gradient",
|
|
66
|
+
gradient: {
|
|
67
|
+
shadeIntensity: 1,
|
|
68
|
+
opacityFrom: 0.45,
|
|
69
|
+
opacityTo: 0.05,
|
|
70
|
+
stops: [20, 100]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
xaxis: {
|
|
74
|
+
categories: t.categories,
|
|
75
|
+
axisBorder: { show: !1 },
|
|
76
|
+
axisTicks: { show: !1 },
|
|
77
|
+
labels: { style: { colors: "#64748b", fontSize: "12px" } }
|
|
78
|
+
},
|
|
79
|
+
yaxis: {
|
|
80
|
+
labels: { style: { colors: "#64748b", fontSize: "12px" } }
|
|
81
|
+
},
|
|
82
|
+
grid: {
|
|
83
|
+
show: t.showGrid,
|
|
84
|
+
borderColor: "rgba(148, 163, 184, 0.12)",
|
|
85
|
+
strokeDashArray: 4
|
|
86
|
+
},
|
|
87
|
+
legend: {
|
|
88
|
+
show: !0,
|
|
89
|
+
position: "top",
|
|
90
|
+
horizontalAlign: "right",
|
|
91
|
+
labels: { colors: "#94a3b8" }
|
|
92
|
+
},
|
|
93
|
+
tooltip: { theme: "dark" },
|
|
94
|
+
theme: { mode: "dark" }
|
|
95
|
+
};
|
|
96
|
+
try {
|
|
97
|
+
new p(c, h).render().then(() => {
|
|
98
|
+
i && (i.style.display = "none");
|
|
99
|
+
}), a.setAttribute("data-initialized", "true");
|
|
100
|
+
} catch (r) {
|
|
101
|
+
console.error("Failed to render chart:", r), i && (i.textContent = "Failed to load chart");
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
b();
|
|
106
|
+
}, []), /* @__PURE__ */ o(N, { children: /* @__PURE__ */ u("div", { className: `premium-chart-card ${C}`, "data-chart-type": "area", "data-config": JSON.stringify(A), "data-rk-163adb": "", children: [
|
|
107
|
+
(l || d) && /* @__PURE__ */ u("div", { className: "premium-chart-card__header", "data-rk-163adb": "", children: [
|
|
108
|
+
l && /* @__PURE__ */ o("h3", { className: "premium-chart-card__title", "data-rk-163adb": "", children: l }),
|
|
109
|
+
d && /* @__PURE__ */ o("p", { className: "premium-chart-card__subtitle", "data-rk-163adb": "", children: d })
|
|
110
|
+
] }),
|
|
111
|
+
/* @__PURE__ */ u("div", { className: "premium-chart-card__body", "data-rk-163adb": "", children: [
|
|
112
|
+
/* @__PURE__ */ o("div", { className: "chart-container", "data-rk-163adb": "" }),
|
|
113
|
+
/* @__PURE__ */ o("div", { className: "chart-fallback", "data-rk-163adb": "", children: "Loading Chart..." })
|
|
114
|
+
] })
|
|
115
|
+
] }) });
|
|
116
|
+
}
|
|
117
|
+
function O({
|
|
118
|
+
title: l,
|
|
119
|
+
subtitle: d,
|
|
120
|
+
categories: g = ["Jan", "Feb", "Mar", "Apr", "May"],
|
|
121
|
+
series: y = [{ name: "Sessions", data: [44, 55, 41, 67, 22] }],
|
|
122
|
+
height: k = 350,
|
|
123
|
+
colors: x = ["var(--c-accent, #b8860b)", "#3b82f6", "#10b981"],
|
|
124
|
+
horizontal: S = !1,
|
|
125
|
+
stacked: C = !1,
|
|
126
|
+
className: A = ""
|
|
127
|
+
}) {
|
|
128
|
+
const f = {
|
|
129
|
+
categories: g,
|
|
130
|
+
series: y,
|
|
131
|
+
height: k,
|
|
132
|
+
colors: x,
|
|
133
|
+
horizontal: S,
|
|
134
|
+
stacked: C
|
|
135
|
+
}, b = v(!1);
|
|
136
|
+
return _(() => {
|
|
137
|
+
if (b.current) return;
|
|
138
|
+
b.current = !0;
|
|
139
|
+
async function m() {
|
|
140
|
+
const n = document.querySelectorAll('.premium-chart-card[data-chart-type="bar"]');
|
|
141
|
+
if (n.length === 0) return;
|
|
142
|
+
let p;
|
|
143
|
+
try {
|
|
144
|
+
p = await import("apexcharts");
|
|
145
|
+
} catch (s) {
|
|
146
|
+
console.error("ApexCharts failed to load:", s);
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
const a = p.default || p;
|
|
150
|
+
n.forEach((s) => {
|
|
151
|
+
if (s.getAttribute("data-initialized")) return;
|
|
152
|
+
const t = s.getAttribute("data-config");
|
|
153
|
+
if (!t) return;
|
|
154
|
+
const c = JSON.parse(t);
|
|
155
|
+
c.colors = (c.colors || []).map((e) => {
|
|
156
|
+
const w = /^var\((--[\w-]+)\s*(?:,\s*([^)]+))?\)$/.exec(String(e).trim());
|
|
157
|
+
return w ? getComputedStyle(s).getPropertyValue(w[1]).trim() || (w[2] || "").trim() : e;
|
|
158
|
+
});
|
|
159
|
+
const i = s.querySelector(".chart-container"), h = s.querySelector(".chart-fallback");
|
|
160
|
+
if (!i) return;
|
|
161
|
+
const r = {
|
|
162
|
+
series: c.series,
|
|
163
|
+
chart: {
|
|
164
|
+
type: "bar",
|
|
165
|
+
height: c.height,
|
|
166
|
+
stacked: c.stacked,
|
|
167
|
+
toolbar: { show: !1 },
|
|
168
|
+
background: "transparent",
|
|
169
|
+
fontFamily: "Inter, sans-serif"
|
|
170
|
+
},
|
|
171
|
+
plotOptions: {
|
|
172
|
+
bar: {
|
|
173
|
+
horizontal: c.horizontal,
|
|
174
|
+
columnWidth: "55%",
|
|
175
|
+
borderRadius: 8,
|
|
176
|
+
borderRadiusApplication: "end"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
colors: c.colors,
|
|
180
|
+
dataLabels: { enabled: !1 },
|
|
181
|
+
xaxis: {
|
|
182
|
+
categories: c.categories,
|
|
183
|
+
axisBorder: { show: !1 },
|
|
184
|
+
axisTicks: { show: !1 },
|
|
185
|
+
labels: { style: { colors: "#64748b", fontSize: "12px" } }
|
|
186
|
+
},
|
|
187
|
+
yaxis: {
|
|
188
|
+
labels: { style: { colors: "#64748b", fontSize: "12px" } }
|
|
189
|
+
},
|
|
190
|
+
grid: {
|
|
191
|
+
borderColor: "rgba(148, 163, 184, 0.12)",
|
|
192
|
+
strokeDashArray: 4
|
|
193
|
+
},
|
|
194
|
+
legend: {
|
|
195
|
+
show: !0,
|
|
196
|
+
position: "top",
|
|
197
|
+
horizontalAlign: "right",
|
|
198
|
+
labels: { colors: "#94a3b8" }
|
|
199
|
+
},
|
|
200
|
+
tooltip: { theme: "dark" },
|
|
201
|
+
theme: { mode: "dark" }
|
|
202
|
+
};
|
|
203
|
+
try {
|
|
204
|
+
new a(i, r).render().then(() => {
|
|
205
|
+
h && (h.style.display = "none");
|
|
206
|
+
}), s.setAttribute("data-initialized", "true");
|
|
207
|
+
} catch (e) {
|
|
208
|
+
console.error("Failed to render chart:", e), h && (h.textContent = "Failed to load chart");
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
m();
|
|
213
|
+
}, []), /* @__PURE__ */ o(N, { children: /* @__PURE__ */ u("div", { className: `premium-chart-card ${A}`, "data-chart-type": "bar", "data-config": JSON.stringify(f), "data-rk-006992": "", children: [
|
|
214
|
+
(l || d) && /* @__PURE__ */ u("div", { className: "premium-chart-card__header", "data-rk-006992": "", children: [
|
|
215
|
+
l && /* @__PURE__ */ o("h3", { className: "premium-chart-card__title", "data-rk-006992": "", children: l }),
|
|
216
|
+
d && /* @__PURE__ */ o("p", { className: "premium-chart-card__subtitle", "data-rk-006992": "", children: d })
|
|
217
|
+
] }),
|
|
218
|
+
/* @__PURE__ */ u("div", { className: "premium-chart-card__body", "data-rk-006992": "", children: [
|
|
219
|
+
/* @__PURE__ */ o("div", { className: "chart-container", "data-rk-006992": "" }),
|
|
220
|
+
/* @__PURE__ */ o("div", { className: "chart-fallback", "data-rk-006992": "", children: "Loading Chart..." })
|
|
221
|
+
] })
|
|
222
|
+
] }) });
|
|
223
|
+
}
|
|
224
|
+
function J({
|
|
225
|
+
title: l,
|
|
226
|
+
labels: d = ["Direct", "Social", "Referral"],
|
|
227
|
+
series: g = [44, 33, 23],
|
|
228
|
+
height: y = 350,
|
|
229
|
+
colors: k = ["var(--c-accent, #b8860b)", "#3b82f6", "#10b981", "#f59e0b", "#ef4444"],
|
|
230
|
+
centerLabel: x = "Total",
|
|
231
|
+
pie: S = !1,
|
|
232
|
+
className: C = ""
|
|
233
|
+
}) {
|
|
234
|
+
const A = {
|
|
235
|
+
labels: d,
|
|
236
|
+
series: g,
|
|
237
|
+
height: y,
|
|
238
|
+
colors: k,
|
|
239
|
+
centerLabel: x,
|
|
240
|
+
pie: S
|
|
241
|
+
}, f = v(!1);
|
|
242
|
+
return _(() => {
|
|
243
|
+
if (f.current) return;
|
|
244
|
+
f.current = !0;
|
|
245
|
+
async function b() {
|
|
246
|
+
const m = document.querySelectorAll('.premium-chart-card[data-chart-type="donut"]');
|
|
247
|
+
if (m.length === 0) return;
|
|
248
|
+
let n;
|
|
249
|
+
try {
|
|
250
|
+
n = await import("apexcharts");
|
|
251
|
+
} catch (a) {
|
|
252
|
+
console.error("ApexCharts failed to load:", a);
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
const p = n.default || n;
|
|
256
|
+
m.forEach((a) => {
|
|
257
|
+
if (a.getAttribute("data-initialized")) return;
|
|
258
|
+
const s = a.getAttribute("data-config");
|
|
259
|
+
if (!s) return;
|
|
260
|
+
const t = JSON.parse(s);
|
|
261
|
+
t.colors = (t.colors || []).map((r) => {
|
|
262
|
+
const e = /^var\((--[\w-]+)\s*(?:,\s*([^)]+))?\)$/.exec(String(r).trim());
|
|
263
|
+
return e ? getComputedStyle(a).getPropertyValue(e[1]).trim() || (e[2] || "").trim() : r;
|
|
264
|
+
});
|
|
265
|
+
const c = a.querySelector(".chart-container"), i = a.querySelector(".chart-fallback");
|
|
266
|
+
if (!c) return;
|
|
267
|
+
const h = {
|
|
268
|
+
series: t.series,
|
|
269
|
+
labels: t.labels,
|
|
270
|
+
chart: {
|
|
271
|
+
type: t.pie ? "pie" : "donut",
|
|
272
|
+
height: t.height,
|
|
273
|
+
background: "transparent",
|
|
274
|
+
fontFamily: "Inter, sans-serif"
|
|
275
|
+
},
|
|
276
|
+
colors: t.colors,
|
|
277
|
+
stroke: { show: !1 },
|
|
278
|
+
dataLabels: { enabled: !1 },
|
|
279
|
+
plotOptions: {
|
|
280
|
+
pie: {
|
|
281
|
+
donut: {
|
|
282
|
+
size: "75%",
|
|
283
|
+
labels: {
|
|
284
|
+
show: !t.pie,
|
|
285
|
+
name: { show: !0, color: "#94a3b8", fontSize: "14px" },
|
|
286
|
+
value: { show: !0, color: "#ffffff", fontSize: "24px", fontWeight: 800 },
|
|
287
|
+
total: {
|
|
288
|
+
show: !0,
|
|
289
|
+
label: t.centerLabel,
|
|
290
|
+
color: "#94a3b8",
|
|
291
|
+
formatter: (r) => r.globals.seriesTotals.reduce((e, w) => e + w, 0)
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
legend: {
|
|
298
|
+
show: !0,
|
|
299
|
+
position: "bottom",
|
|
300
|
+
labels: { colors: "#94a3b8" }
|
|
301
|
+
},
|
|
302
|
+
tooltip: { theme: "dark" },
|
|
303
|
+
theme: { mode: "dark" }
|
|
304
|
+
};
|
|
305
|
+
try {
|
|
306
|
+
new p(c, h).render().then(() => {
|
|
307
|
+
i && (i.style.display = "none");
|
|
308
|
+
}), a.setAttribute("data-initialized", "true");
|
|
309
|
+
} catch (r) {
|
|
310
|
+
console.error("Failed to render chart:", r), i && (i.textContent = "Failed to load chart");
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
b();
|
|
315
|
+
}, []), /* @__PURE__ */ o(N, { children: /* @__PURE__ */ u("div", { className: `premium-chart-card ${C}`, "data-chart-type": "donut", "data-config": JSON.stringify(A), "data-rk-ab60a1": "", children: [
|
|
316
|
+
l && /* @__PURE__ */ o("div", { className: "premium-chart-card__header", "data-rk-ab60a1": "", children: /* @__PURE__ */ o("h3", { className: "premium-chart-card__title", "data-rk-ab60a1": "", children: l }) }),
|
|
317
|
+
/* @__PURE__ */ u("div", { className: "premium-chart-card__body", "data-rk-ab60a1": "", children: [
|
|
318
|
+
/* @__PURE__ */ o("div", { className: "chart-container", "data-rk-ab60a1": "" }),
|
|
319
|
+
/* @__PURE__ */ o("div", { className: "chart-fallback", "data-rk-ab60a1": "", children: "Loading Chart..." })
|
|
320
|
+
] })
|
|
321
|
+
] }) });
|
|
322
|
+
}
|
|
323
|
+
export {
|
|
324
|
+
q as AreaChart,
|
|
325
|
+
O as BarChart,
|
|
326
|
+
J as DonutChart
|
|
327
|
+
};
|
package/dist/app.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { A as e, a as r, b as o, c as i, D as p, G as t, H as d, P as n, d as c, R as l, S as b, e as g, T as m, f as u, g as A, h as S, i as h } from "./chunks/AuthCard-BkWHMFho.js";
|
|
3
|
+
export {
|
|
4
|
+
e as AppSidebar,
|
|
5
|
+
r as AppTopbar,
|
|
6
|
+
o as ArrivalsBoard,
|
|
7
|
+
i as AuthCard,
|
|
8
|
+
p as DataTable,
|
|
9
|
+
t as GuestProfileCard,
|
|
10
|
+
d as HousekeepingBoard,
|
|
11
|
+
n as PageHeader,
|
|
12
|
+
c as PlanUsageCard,
|
|
13
|
+
l as RoomRack,
|
|
14
|
+
b as SettingsSection,
|
|
15
|
+
g as SwitchRow,
|
|
16
|
+
m as TeamMembers,
|
|
17
|
+
u as appIcon,
|
|
18
|
+
A as appIcons,
|
|
19
|
+
S as hueFrom,
|
|
20
|
+
h as initials
|
|
21
|
+
};
|
package/dist/buttons.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { A as a, B as n, C as u, D as s, G as B, a as e, b as i, L as r, c as l, M as d, d as h, N as c, e as m, P as p, R as G, f as R, g as S, S as w, h as D, i as P, T as b, j as g } from "./chunks/TiltGlowButton-BRHwq9Af.js";
|
|
3
|
+
export {
|
|
4
|
+
a as AnimatedIconButton,
|
|
5
|
+
n as BorderDrawButton,
|
|
6
|
+
u as CyberpunkButton,
|
|
7
|
+
s as DoubleBorderButton,
|
|
8
|
+
B as GhostOutlineButton,
|
|
9
|
+
e as GlassButton,
|
|
10
|
+
i as GlowButton,
|
|
11
|
+
r as LiquidButton,
|
|
12
|
+
l as LoadingButton,
|
|
13
|
+
d as MagneticButton,
|
|
14
|
+
h as MinimalPillButton,
|
|
15
|
+
c as NeonBorderButton,
|
|
16
|
+
m as NeumorphicButton,
|
|
17
|
+
p as PulseButton,
|
|
18
|
+
G as RetroArcadeButton,
|
|
19
|
+
R as RetroShadowButton,
|
|
20
|
+
S as RippleButton,
|
|
21
|
+
w as ShimmerButton,
|
|
22
|
+
D as ShinyButton,
|
|
23
|
+
P as SlideRevealButton,
|
|
24
|
+
b as ThreeDPushButton,
|
|
25
|
+
g as TiltGlowButton
|
|
26
|
+
};
|
package/dist/cards.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { B as s, C as i, E as e, G as d, a as C, b as t, c as o, I as n, K as l, M as c, d as m, N as P, e as u, P as G, f as b, g as f, R as g, S as M, h as T, T as h, i as p, W as E } from "./chunks/StatsTrendCard--nij2Jv0.js";
|
|
3
|
+
export {
|
|
4
|
+
s as BlogHorizontalCard,
|
|
5
|
+
i as CyberFeatureCard,
|
|
6
|
+
e as EcommerceProductCard,
|
|
7
|
+
d as GithubRepoCard,
|
|
8
|
+
C as GlassCard,
|
|
9
|
+
t as GlassEventCard,
|
|
10
|
+
o as GlowPortfolioCard,
|
|
11
|
+
n as InteractiveTiltCard,
|
|
12
|
+
l as KanbanItemCard,
|
|
13
|
+
c as MinimalLinkCard,
|
|
14
|
+
m as MusicPlayerMini,
|
|
15
|
+
P as NeumorphicCard,
|
|
16
|
+
u as NotificationCard,
|
|
17
|
+
G as PricingCard,
|
|
18
|
+
b as PricingCompareMiniCard,
|
|
19
|
+
f as ProfileCard,
|
|
20
|
+
g as RetroGameCard,
|
|
21
|
+
M as StatCard,
|
|
22
|
+
T as StatsTrendCard,
|
|
23
|
+
h as TaskKanbanCard,
|
|
24
|
+
p as TestimonialCardClean,
|
|
25
|
+
E as WeatherWidgetCard
|
|
26
|
+
};
|