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,15 @@
|
|
|
1
|
+
export * from './lib/app';
|
|
2
|
+
export * from './lib/buttons';
|
|
3
|
+
export * from './lib/cards';
|
|
4
|
+
export * from './lib/charts';
|
|
5
|
+
export * from './lib/data';
|
|
6
|
+
export * from './lib/ecommerce';
|
|
7
|
+
export * from './lib/feedback';
|
|
8
|
+
export * from './lib/forms';
|
|
9
|
+
export * from './lib/layout';
|
|
10
|
+
export * from './lib/navigation';
|
|
11
|
+
export * from './lib/overlays';
|
|
12
|
+
export * from './lib/sections';
|
|
13
|
+
export * from './lib/typography';
|
|
14
|
+
export { AnimatedGalaxy } from './lib/AnimatedGalaxy';
|
|
15
|
+
export { LogoWithGalaxy } from './lib/LogoWithGalaxy';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
/** AnimatedGalaxy */
|
|
3
|
+
export interface AnimatedGalaxyProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
}
|
|
7
|
+
export declare function AnimatedGalaxy({ className, style }: AnimatedGalaxyProps): import("react").JSX.Element;
|
|
8
|
+
export default AnimatedGalaxy;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import './Galaxy3D.css';
|
|
2
|
+
/**
|
|
3
|
+
* Galaxy3D — Interactive 3D galaxy background with a fluid, mouse-reactive particle field.
|
|
4
|
+
*
|
|
5
|
+
* Renders a spiral galaxy with thousands of particles using Three.js (optional peer dependency,
|
|
6
|
+
* loaded lazily on the client). Motion runs on the GPU; rendering pauses off-screen or when the tab
|
|
7
|
+
* is hidden, and `prefers-reduced-motion` renders a static frame.
|
|
8
|
+
*
|
|
9
|
+
* @param className - Additional CSS class.
|
|
10
|
+
*/
|
|
11
|
+
export interface Galaxy3DProps {
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function Galaxy3D({ className }: Galaxy3DProps): import("react").JSX.Element;
|
|
15
|
+
export default Galaxy3D;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import './LogoWithGalaxy.css';
|
|
2
|
+
/** LogoWithGalaxy */
|
|
3
|
+
export interface LogoWithGalaxyProps {
|
|
4
|
+
size?: 'small' | 'medium' | 'large';
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function LogoWithGalaxy({ size, className }: LogoWithGalaxyProps): import("react").JSX.Element;
|
|
8
|
+
export default LogoWithGalaxy;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import './AppSidebar.css';
|
|
2
|
+
interface Item {
|
|
3
|
+
label: string;
|
|
4
|
+
href: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
badge?: string | number;
|
|
7
|
+
}
|
|
8
|
+
interface Group {
|
|
9
|
+
label?: string;
|
|
10
|
+
items: Item[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* AppSidebar — SaaS app navigation: workspace switcher, grouped nav items with icons and
|
|
14
|
+
* count badges, collapsible to an icon rail, and an upgrade/plan card at the bottom.
|
|
15
|
+
*
|
|
16
|
+
* @param {{name: string, plan?: string, initials?: string}} workspace - Workspace shown at the top.
|
|
17
|
+
* @param {Array<{label?: string, items: {label: string, href: string, icon?: string, badge?: string|number}[]}>} groups - Nav groups.
|
|
18
|
+
* @param {string} currentHref - Marks the matching item with aria-current.
|
|
19
|
+
* @param {{title: string, text?: string, href: string, cta?: string, progress?: number}} promo - Card at the bottom (optional).
|
|
20
|
+
* @param {boolean} fullHeight - Full-viewport sticky sidebar (app shell). false renders it inline (docs, cards). Default true.
|
|
21
|
+
* @param {boolean} collapsible - Show the collapse toggle (remembered in localStorage). Default true.
|
|
22
|
+
* @param {string} variant - Style (surface|transparent|accent). Default 'surface'.
|
|
23
|
+
* @param {string} size - Width preset (sm|md|lg). Default 'md'.
|
|
24
|
+
* @param {string} id - Element id (AppTopbar's menu button opens it on mobile). Default 'app-sidebar'.
|
|
25
|
+
* @param {string} className - Extra class.
|
|
26
|
+
*
|
|
27
|
+
* Accessibility: a labelled nav landmark; the current page uses aria-current; when collapsed,
|
|
28
|
+
* labels stay available to screen readers and appear as tooltips on hover/focus.
|
|
29
|
+
*/
|
|
30
|
+
export interface AppSidebarProps {
|
|
31
|
+
workspace?: {
|
|
32
|
+
name: string;
|
|
33
|
+
plan?: string;
|
|
34
|
+
initials?: string;
|
|
35
|
+
};
|
|
36
|
+
groups?: Group[];
|
|
37
|
+
currentHref?: string;
|
|
38
|
+
promo?: {
|
|
39
|
+
title: string;
|
|
40
|
+
text?: string;
|
|
41
|
+
href: string;
|
|
42
|
+
cta?: string;
|
|
43
|
+
progress?: number;
|
|
44
|
+
};
|
|
45
|
+
fullHeight?: boolean;
|
|
46
|
+
collapsible?: boolean;
|
|
47
|
+
variant?: 'surface' | 'transparent' | 'accent';
|
|
48
|
+
size?: 'sm' | 'md' | 'lg';
|
|
49
|
+
id?: string;
|
|
50
|
+
className?: string;
|
|
51
|
+
}
|
|
52
|
+
export declare function AppSidebar({ workspace, groups, currentHref, promo, fullHeight, collapsible, variant, size, id, className, }: AppSidebarProps): import("react").JSX.Element;
|
|
53
|
+
export default AppSidebar;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import './AppTopbar.css';
|
|
3
|
+
interface Notice {
|
|
4
|
+
title: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
time: string;
|
|
7
|
+
unread?: boolean;
|
|
8
|
+
tone?: 'info' | 'success' | 'warning' | 'danger';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* AppTopbar — SaaS app top bar: mobile menu button, search (⌘K / Ctrl+K), notifications dropdown
|
|
12
|
+
* with unread count and "mark all read", light/dark toggle and a user menu.
|
|
13
|
+
*
|
|
14
|
+
* @param {string} searchPlaceholder - Search placeholder. Default 'Search guests, bookings, rooms…'.
|
|
15
|
+
* @param {string} searchAction - Search form action. Default '#'.
|
|
16
|
+
* @param {Array<{title: string, text?: string, time: string, unread?: boolean, tone?: 'info'|'success'|'warning'|'danger'}>} notifications - Dropdown items.
|
|
17
|
+
* @param {{name: string, role?: string, email?: string}} user - Signed-in user.
|
|
18
|
+
* @param {Array<{label: string, href: string}>} userLinks - User menu links.
|
|
19
|
+
* @param {string} signOutHref - Sign-out link. Default '#'.
|
|
20
|
+
* @param {string} sidebarId - id of the AppSidebar the menu button opens on mobile. Default 'app-sidebar'.
|
|
21
|
+
* @param {boolean} themeToggle - Show the light/dark toggle. Default true.
|
|
22
|
+
* @param {string} variant - Style (blur|solid|transparent). Default 'blur'.
|
|
23
|
+
* @param {string} className - Extra class.
|
|
24
|
+
*
|
|
25
|
+
* Slots: `start` (e.g. page title or breadcrumb next to the menu button), `actions` (extra buttons).
|
|
26
|
+
*
|
|
27
|
+
* Accessibility: dropdowns are disclosure buttons closed with Escape or an outside click;
|
|
28
|
+
* the unread count is part of the bell's label; ⌘K moves focus to the search field.
|
|
29
|
+
*/
|
|
30
|
+
export interface AppTopbarProps {
|
|
31
|
+
searchPlaceholder?: string;
|
|
32
|
+
searchAction?: string;
|
|
33
|
+
notifications?: Notice[];
|
|
34
|
+
user?: {
|
|
35
|
+
name: string;
|
|
36
|
+
role?: string;
|
|
37
|
+
email?: string;
|
|
38
|
+
};
|
|
39
|
+
userLinks?: Array<{
|
|
40
|
+
label: string;
|
|
41
|
+
href: string;
|
|
42
|
+
}>;
|
|
43
|
+
signOutHref?: string;
|
|
44
|
+
sidebarId?: string;
|
|
45
|
+
themeToggle?: boolean;
|
|
46
|
+
variant?: 'blur' | 'solid' | 'transparent';
|
|
47
|
+
className?: string;
|
|
48
|
+
start?: ReactNode;
|
|
49
|
+
actions?: ReactNode;
|
|
50
|
+
}
|
|
51
|
+
export declare function AppTopbar({ searchPlaceholder, searchAction, notifications, user, userLinks, signOutHref, sidebarId, themeToggle, variant, className, start, actions }: AppTopbarProps): import("react").JSX.Element;
|
|
52
|
+
export default AppTopbar;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import './ArrivalsBoard.css';
|
|
2
|
+
interface Arrival {
|
|
3
|
+
guest: string;
|
|
4
|
+
room: string;
|
|
5
|
+
time: string;
|
|
6
|
+
nights?: number;
|
|
7
|
+
vip?: boolean;
|
|
8
|
+
note?: string;
|
|
9
|
+
done?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface Departure {
|
|
12
|
+
guest: string;
|
|
13
|
+
room: string;
|
|
14
|
+
time: string;
|
|
15
|
+
balance?: string;
|
|
16
|
+
done?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* ArrivalsBoard — Front-desk list with Arrivals / Departures / In-house tabs: guest, room, time,
|
|
20
|
+
* notes and a one-click check-in / check-out action with progress counter.
|
|
21
|
+
*
|
|
22
|
+
* @param {string} title - Card title. Default 'Today at the front desk'.
|
|
23
|
+
* @param {Array<{guest: string, room: string, time: string, nights?: number, vip?: boolean, note?: string, done?: boolean}>} arrivals - Expected arrivals.
|
|
24
|
+
* @param {Array<{guest: string, room: string, time: string, balance?: string, done?: boolean}>} departures - Expected departures.
|
|
25
|
+
* @param {Array<{guest: string, room: string, until: string}>} inHouse - Current guests.
|
|
26
|
+
* @param {string} variant - Style (card|plain). Default 'card'.
|
|
27
|
+
* @param {string} className - Extra class.
|
|
28
|
+
*
|
|
29
|
+
* Accessibility: tabs follow the ARIA tabs pattern (arrow keys); action buttons say which guest
|
|
30
|
+
* they act on and switch to a pressed "done" state; progress is announced politely.
|
|
31
|
+
*/
|
|
32
|
+
export interface ArrivalsBoardProps {
|
|
33
|
+
title?: string;
|
|
34
|
+
arrivals?: Arrival[];
|
|
35
|
+
departures?: Departure[];
|
|
36
|
+
inHouse?: Array<{
|
|
37
|
+
guest: string;
|
|
38
|
+
room: string;
|
|
39
|
+
until: string;
|
|
40
|
+
}>;
|
|
41
|
+
variant?: 'card' | 'plain';
|
|
42
|
+
className?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function ArrivalsBoard({ title, arrivals, departures, inHouse, variant, className, }: ArrivalsBoardProps): import("react").JSX.Element;
|
|
45
|
+
export default ArrivalsBoard;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import './AuthCard.css';
|
|
2
|
+
/**
|
|
3
|
+
* AuthCard — Sign-in / sign-up split screen: form card (email, password with show/hide, remember
|
|
4
|
+
* me, SSO buttons) next to a brand panel with a quote and key figures.
|
|
5
|
+
*
|
|
6
|
+
* @param {string} mode - 'signin' or 'signup'. Default 'signin'.
|
|
7
|
+
* @param {string} brand - Product name. Default 'Lobby'.
|
|
8
|
+
* @param {string} title - Heading. Defaults by mode.
|
|
9
|
+
* @param {string} subtitle - Supporting text.
|
|
10
|
+
* @param {string} action - Form action. With '#' it validates and redirects to `successHref`. Default '#'.
|
|
11
|
+
* @param {string} successHref - Where to go after a demo sign-in. Default '#'.
|
|
12
|
+
* @param {string[]} providers - SSO buttons. Default ['Google', 'Microsoft'].
|
|
13
|
+
* @param {string} switchHref - Link to the other mode. Default '#'.
|
|
14
|
+
* @param {{quote: string, author: string, role?: string}} testimonial - Brand panel quote (optional).
|
|
15
|
+
* @param {Array<{value: string, label: string}>} stats - Brand panel figures.
|
|
16
|
+
* @param {string} variant - Layout (split|centered). Default 'split'.
|
|
17
|
+
* @param {string} className - Extra class.
|
|
18
|
+
*
|
|
19
|
+
* Accessibility: one h1; labelled fields with autocomplete (email, current-password /
|
|
20
|
+
* new-password); errors are linked with aria-describedby and announced; the show-password
|
|
21
|
+
* button is a toggle with aria-pressed.
|
|
22
|
+
*/
|
|
23
|
+
export interface AuthCardProps {
|
|
24
|
+
mode?: 'signin' | 'signup';
|
|
25
|
+
brand?: string;
|
|
26
|
+
title?: string;
|
|
27
|
+
subtitle?: string;
|
|
28
|
+
action?: string;
|
|
29
|
+
successHref?: string;
|
|
30
|
+
providers?: string[];
|
|
31
|
+
switchHref?: string;
|
|
32
|
+
testimonial?: {
|
|
33
|
+
quote: string;
|
|
34
|
+
author: string;
|
|
35
|
+
role?: string;
|
|
36
|
+
};
|
|
37
|
+
stats?: Array<{
|
|
38
|
+
value: string;
|
|
39
|
+
label: string;
|
|
40
|
+
}>;
|
|
41
|
+
variant?: 'split' | 'centered';
|
|
42
|
+
className?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function AuthCard({ mode, brand, title, subtitle, action, successHref, providers, switchHref, testimonial, stats, variant, className, }: AuthCardProps): import("react").JSX.Element;
|
|
45
|
+
export default AuthCard;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import './DataTable.css';
|
|
2
|
+
type CellType = 'text' | 'person' | 'status' | 'money' | 'date' | 'number' | 'tags';
|
|
3
|
+
interface Column {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
type?: CellType;
|
|
7
|
+
align?: 'left' | 'right';
|
|
8
|
+
sortable?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* DataTable — Client-side data table for SaaS apps: search, status filter chips, sortable
|
|
12
|
+
* columns, row selection with a bulk-action bar, pagination and typed cells
|
|
13
|
+
* (text, person, status, money, date, number, tags).
|
|
14
|
+
*
|
|
15
|
+
* @param {string} title - Card title (optional).
|
|
16
|
+
* @param {Array<{key: string, label: string, type?: 'text'|'person'|'status'|'money'|'date'|'number'|'tags', align?: 'left'|'right', sortable?: boolean}>} columns - Column definitions.
|
|
17
|
+
* @param {Array<Record<string, any>>} rows - Row data; `person` cells take `{ name, sub? }`, `status` cells take a string.
|
|
18
|
+
* @param {Record<string, 'success'|'warning'|'danger'|'info'|'default'>} statusTones - Status → tone map.
|
|
19
|
+
* @param {string} filterKey - Column used for the filter chips (optional).
|
|
20
|
+
* @param {boolean} selectable - Show row checkboxes and the bulk bar. Default true.
|
|
21
|
+
* @param {string[]} bulkActions - Bulk bar buttons. Default ['Export', 'Send email'].
|
|
22
|
+
* @param {number} pageSize - Rows per page. Default 8.
|
|
23
|
+
* @param {string} searchPlaceholder - Search placeholder. Default 'Search…'.
|
|
24
|
+
* @param {string} currency - ISO currency for money cells. Default 'EUR'.
|
|
25
|
+
* @param {string} locale - Number/date locale. Default 'en-GB'.
|
|
26
|
+
* @param {string} emptyText - Shown when nothing matches. Default 'No results match your filters.'
|
|
27
|
+
* @param {string} id - Table id (unique per page). Default 'data-table'.
|
|
28
|
+
* @param {string} variant - Style (card|plain). Default 'card'.
|
|
29
|
+
* @param {string} density - Row height (compact|comfortable). Default 'comfortable'.
|
|
30
|
+
* @param {string} className - Extra class.
|
|
31
|
+
*
|
|
32
|
+
* Accessibility: real <table> with a caption; sortable headers are buttons inside <th> with
|
|
33
|
+
* aria-sort; checkboxes have row labels; result counts and page changes are announced politely.
|
|
34
|
+
*/
|
|
35
|
+
export interface DataTableProps {
|
|
36
|
+
title?: string;
|
|
37
|
+
columns?: Column[];
|
|
38
|
+
rows?: Array<Record<string, any>>;
|
|
39
|
+
statusTones?: Record<string, 'success' | 'warning' | 'danger' | 'info' | 'default'>;
|
|
40
|
+
filterKey?: string;
|
|
41
|
+
selectable?: boolean;
|
|
42
|
+
bulkActions?: string[];
|
|
43
|
+
pageSize?: number;
|
|
44
|
+
searchPlaceholder?: string;
|
|
45
|
+
currency?: string;
|
|
46
|
+
locale?: string;
|
|
47
|
+
emptyText?: string;
|
|
48
|
+
id?: string;
|
|
49
|
+
variant?: 'card' | 'plain';
|
|
50
|
+
density?: 'compact' | 'comfortable';
|
|
51
|
+
className?: string;
|
|
52
|
+
}
|
|
53
|
+
export declare function DataTable({ title, columns, rows, statusTones, filterKey, selectable, bulkActions, pageSize, searchPlaceholder, currency, locale, emptyText, id, variant, density, className, }: DataTableProps): import("react").JSX.Element;
|
|
54
|
+
export default DataTable;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import './GuestProfileCard.css';
|
|
2
|
+
/**
|
|
3
|
+
* GuestProfileCard — CRM profile for a guest or customer: avatar, loyalty tier, contact details,
|
|
4
|
+
* lifetime stats, preference tags, upcoming stay and internal notes.
|
|
5
|
+
*
|
|
6
|
+
* @param {{name: string, email?: string, phone?: string, country?: string, since?: string}} guest - Identity and contact.
|
|
7
|
+
* @param {string} tier - Loyalty tier label (optional). Default 'Gold'.
|
|
8
|
+
* @param {Array<{label: string, value: string}>} stats - Lifetime figures (stays, nights, spend…).
|
|
9
|
+
* @param {string[]} preferences - Preference tags.
|
|
10
|
+
* @param {{room: string, dates: string, status?: string}} upcoming - Next stay (optional).
|
|
11
|
+
* @param {string[]} notes - Staff notes (optional).
|
|
12
|
+
* @param {Array<{label: string, href?: string, primary?: boolean}>} actions - Buttons in the header.
|
|
13
|
+
* @param {string} variant - Style (card|plain). Default 'card'.
|
|
14
|
+
* @param {string} className - Extra class.
|
|
15
|
+
*
|
|
16
|
+
* Accessibility: h2 with the guest name; contact items are real mailto/tel links; stats are a
|
|
17
|
+
* description list; tags are a plain list.
|
|
18
|
+
*/
|
|
19
|
+
export interface GuestProfileCardProps {
|
|
20
|
+
guest?: {
|
|
21
|
+
name: string;
|
|
22
|
+
email?: string;
|
|
23
|
+
phone?: string;
|
|
24
|
+
country?: string;
|
|
25
|
+
since?: string;
|
|
26
|
+
};
|
|
27
|
+
tier?: string;
|
|
28
|
+
stats?: Array<{
|
|
29
|
+
label: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}>;
|
|
32
|
+
preferences?: string[];
|
|
33
|
+
upcoming?: {
|
|
34
|
+
room: string;
|
|
35
|
+
dates: string;
|
|
36
|
+
status?: string;
|
|
37
|
+
};
|
|
38
|
+
notes?: string[];
|
|
39
|
+
actions?: Array<{
|
|
40
|
+
label: string;
|
|
41
|
+
href?: string;
|
|
42
|
+
primary?: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
variant?: 'card' | 'plain';
|
|
45
|
+
className?: string;
|
|
46
|
+
}
|
|
47
|
+
export declare function GuestProfileCard({ guest, tier, stats, preferences, upcoming, notes, actions, variant, className, }: GuestProfileCardProps): import("react").JSX.Element;
|
|
48
|
+
export default GuestProfileCard;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import './HousekeepingBoard.css';
|
|
2
|
+
type Status = 'clean' | 'dirty' | 'inspecting' | 'occupied' | 'ooo';
|
|
3
|
+
interface Room {
|
|
4
|
+
number: string;
|
|
5
|
+
floor: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
status: Status;
|
|
8
|
+
guest?: string;
|
|
9
|
+
note?: string;
|
|
10
|
+
assignee?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* HousekeepingBoard — Room status board grouped by floor: clean, dirty, inspecting, occupied and
|
|
14
|
+
* out of order, with live counters, status filter and a quick "next status" action per room.
|
|
15
|
+
*
|
|
16
|
+
* @param {Array<{number: string, floor: string, type?: string, status: Status, guest?: string, note?: string, assignee?: string}>} rooms - Rooms to show.
|
|
17
|
+
* @param {string} title - Card title. Default 'Housekeeping'.
|
|
18
|
+
* @param {boolean} interactive - Clicking a tile advances dirty → inspecting → clean (demo/workflow). Default true.
|
|
19
|
+
* @param {string} variant - Style (card|plain). Default 'card'.
|
|
20
|
+
* @param {string} size - Tile size (sm|md). Default 'md'.
|
|
21
|
+
* @param {string} className - Extra class.
|
|
22
|
+
*
|
|
23
|
+
* Statuses: clean · dirty · inspecting · occupied · ooo (out of order).
|
|
24
|
+
* Emits `app:room-status` with `{ room, status }` on change.
|
|
25
|
+
*
|
|
26
|
+
* Accessibility: status is written in text on every tile (not colour only); tiles are buttons
|
|
27
|
+
* with full labels; counters live in a polite region; the filter is a set of toggle buttons.
|
|
28
|
+
*/
|
|
29
|
+
export interface HousekeepingBoardProps {
|
|
30
|
+
rooms?: Room[];
|
|
31
|
+
title?: string;
|
|
32
|
+
interactive?: boolean;
|
|
33
|
+
variant?: 'card' | 'plain';
|
|
34
|
+
size?: 'sm' | 'md';
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function HousekeepingBoard({ rooms, title, interactive, variant, size, className, }: HousekeepingBoardProps): import("react").JSX.Element;
|
|
38
|
+
export default HousekeepingBoard;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import './PageHeader.css';
|
|
2
|
+
/**
|
|
3
|
+
* PageHeader — App page heading: breadcrumb, title, description, period switcher and action
|
|
4
|
+
* buttons, with optional underline tabs below.
|
|
5
|
+
*
|
|
6
|
+
* @param {string} title - Page title. Default 'Dashboard'.
|
|
7
|
+
* @param {string} description - Supporting text.
|
|
8
|
+
* @param {Array<{label: string, href?: string}>} breadcrumb - Trail (optional).
|
|
9
|
+
* @param {Array<{label: string, href?: string, icon?: string, primary?: boolean}>} actions - Buttons on the right.
|
|
10
|
+
* @param {string[]} periods - Segmented period options (e.g. ['Today','7d','30d']); empty hides it.
|
|
11
|
+
* @param {number} activePeriod - Selected period index. Default 0.
|
|
12
|
+
* @param {Array<{label: string, href: string, count?: number}>} tabs - Underline tabs (optional).
|
|
13
|
+
* @param {string} currentTab - href of the active tab.
|
|
14
|
+
* @param {string} size - Title scale (sm|md|lg). Default 'md'.
|
|
15
|
+
* @param {string} className - Extra class.
|
|
16
|
+
*
|
|
17
|
+
* Accessibility: h1 title; the period switcher is a radio group (arrow keys) that dispatches
|
|
18
|
+
* `app:period` with `{ index, label }`; tabs are links with aria-current.
|
|
19
|
+
*/
|
|
20
|
+
export interface PageHeaderProps {
|
|
21
|
+
title?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
breadcrumb?: Array<{
|
|
24
|
+
label: string;
|
|
25
|
+
href?: string;
|
|
26
|
+
}>;
|
|
27
|
+
actions?: Array<{
|
|
28
|
+
label: string;
|
|
29
|
+
href?: string;
|
|
30
|
+
icon?: string;
|
|
31
|
+
primary?: boolean;
|
|
32
|
+
}>;
|
|
33
|
+
periods?: string[];
|
|
34
|
+
activePeriod?: number;
|
|
35
|
+
tabs?: Array<{
|
|
36
|
+
label: string;
|
|
37
|
+
href: string;
|
|
38
|
+
count?: number;
|
|
39
|
+
}>;
|
|
40
|
+
currentTab?: string;
|
|
41
|
+
size?: 'sm' | 'md' | 'lg';
|
|
42
|
+
className?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function PageHeader({ title, description, breadcrumb, actions, periods, activePeriod, tabs, currentTab, size, className, }: PageHeaderProps): import("react").JSX.Element;
|
|
45
|
+
export default PageHeader;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import './PlanUsageCard.css';
|
|
2
|
+
/**
|
|
3
|
+
* PlanUsageCard — Billing summary: current plan and price, renewal date, usage meters with
|
|
4
|
+
* warning thresholds, payment method and upgrade / manage actions.
|
|
5
|
+
*
|
|
6
|
+
* @param {string} plan - Plan name. Default 'Pro'.
|
|
7
|
+
* @param {string} price - Price label. Default '€149 / month'.
|
|
8
|
+
* @param {string} renews - Renewal text. Default 'Renews on Dec 1, 2026'.
|
|
9
|
+
* @param {Array<{label: string, used: number, limit: number, unit?: string}>} usage - Meters.
|
|
10
|
+
* @param {string} card - Payment method label (optional). Default 'Visa •••• 4242'.
|
|
11
|
+
* @param {{label: string, href: string}} upgrade - Primary action. Default upgrade.
|
|
12
|
+
* @param {{label: string, href: string}} manage - Secondary action (optional).
|
|
13
|
+
* @param {number} warnAt - Percentage at which a meter turns amber. Default 80.
|
|
14
|
+
* @param {string} variant - Style (card|accent). Default 'card'.
|
|
15
|
+
* @param {string} className - Extra class.
|
|
16
|
+
*
|
|
17
|
+
* Accessibility: each meter is a role="meter" with aria-valuenow/min/max and a text value,
|
|
18
|
+
* so usage is never conveyed by colour alone.
|
|
19
|
+
*/
|
|
20
|
+
export interface PlanUsageCardProps {
|
|
21
|
+
plan?: string;
|
|
22
|
+
price?: string;
|
|
23
|
+
renews?: string;
|
|
24
|
+
usage?: Array<{
|
|
25
|
+
label: string;
|
|
26
|
+
used: number;
|
|
27
|
+
limit: number;
|
|
28
|
+
unit?: string;
|
|
29
|
+
}>;
|
|
30
|
+
card?: string;
|
|
31
|
+
upgrade?: {
|
|
32
|
+
label: string;
|
|
33
|
+
href: string;
|
|
34
|
+
};
|
|
35
|
+
manage?: {
|
|
36
|
+
label: string;
|
|
37
|
+
href: string;
|
|
38
|
+
};
|
|
39
|
+
warnAt?: number;
|
|
40
|
+
variant?: 'card' | 'accent';
|
|
41
|
+
className?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function PlanUsageCard({ plan, price, renews, usage, card, upgrade, manage, warnAt, variant, className, }: PlanUsageCardProps): import("react").JSX.Element;
|
|
44
|
+
export default PlanUsageCard;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import './RoomRack.css';
|
|
2
|
+
interface Booking {
|
|
3
|
+
room: string;
|
|
4
|
+
guest: string;
|
|
5
|
+
start: number;
|
|
6
|
+
nights: number;
|
|
7
|
+
status: 'confirmed' | 'checked-in' | 'pending' | 'blocked';
|
|
8
|
+
ref?: string;
|
|
9
|
+
channel?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* RoomRack — Booking timeline ("tape chart"): rooms as rows, days as columns and reservations as
|
|
13
|
+
* coloured bars by status, with a today marker, room-type groups and a detail panel on click.
|
|
14
|
+
*
|
|
15
|
+
* @param {string[]} days - Column labels, e.g. ['Mon 3', 'Tue 4', …].
|
|
16
|
+
* @param {number} today - Index of today's column (-1 hides the marker). Default 1.
|
|
17
|
+
* @param {Array<{id: string, name: string, type?: string}>} rooms - Rows.
|
|
18
|
+
* @param {Array<{room: string, guest: string, start: number, nights: number, status: 'confirmed'|'checked-in'|'pending'|'blocked', ref?: string, channel?: string}>} bookings - Bars; `start` is a day index.
|
|
19
|
+
* @param {string} title - Card title. Default 'Room rack'.
|
|
20
|
+
* @param {number} dayWidth - Column width in px. Default 64.
|
|
21
|
+
* @param {string} variant - Style (card|plain). Default 'card'.
|
|
22
|
+
* @param {string} className - Extra class.
|
|
23
|
+
*
|
|
24
|
+
* Accessibility: each booking is a button labelled with guest, room, dates and status; the detail
|
|
25
|
+
* panel is a polite live region; the grid scrolls horizontally with the keyboard.
|
|
26
|
+
*/
|
|
27
|
+
export interface RoomRackProps {
|
|
28
|
+
days?: string[];
|
|
29
|
+
today?: number;
|
|
30
|
+
rooms?: Array<{
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
type?: string;
|
|
34
|
+
}>;
|
|
35
|
+
bookings?: Booking[];
|
|
36
|
+
title?: string;
|
|
37
|
+
dayWidth?: number;
|
|
38
|
+
variant?: 'card' | 'plain';
|
|
39
|
+
className?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare function RoomRack({ days, today, rooms, bookings, title, dayWidth, variant, className, }: RoomRackProps): import("react").JSX.Element;
|
|
42
|
+
export default RoomRack;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import './SettingsSection.css';
|
|
3
|
+
/**
|
|
4
|
+
* SettingsSection — Settings page block: title and description on the left, fields in a card on
|
|
5
|
+
* the right, with an optional footer holding Save / Cancel and a "saved" confirmation.
|
|
6
|
+
*
|
|
7
|
+
* @param {string} title - Section title. Default 'Profile'.
|
|
8
|
+
* @param {string} description - Help text under the title.
|
|
9
|
+
* @param {boolean} form - Wrap the fields in a <form> with Save/Cancel. Default true.
|
|
10
|
+
* @param {string} saveLabel - Save button label. Default 'Save changes'.
|
|
11
|
+
* @param {string} savedText - Confirmation after saving. Default 'Changes saved'.
|
|
12
|
+
* @param {string} id - Base id. Default 'settings-section'.
|
|
13
|
+
* @param {string} variant - Layout (split|stacked). Default 'split'.
|
|
14
|
+
* @param {string} className - Extra class.
|
|
15
|
+
*
|
|
16
|
+
* Slots: default (fields — SwitchRow, AnimatedInput, ModernSelect…), `footer-start` (extra text).
|
|
17
|
+
*
|
|
18
|
+
* Accessibility: a labelled section; the form validates natively and announces the saved state
|
|
19
|
+
* in a polite live region. Emits `app:settings-save` with the FormData.
|
|
20
|
+
*/
|
|
21
|
+
export interface SettingsSectionProps {
|
|
22
|
+
title?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
form?: boolean;
|
|
25
|
+
saveLabel?: string;
|
|
26
|
+
savedText?: string;
|
|
27
|
+
id?: string;
|
|
28
|
+
variant?: 'split' | 'stacked';
|
|
29
|
+
className?: string;
|
|
30
|
+
children?: ReactNode;
|
|
31
|
+
footerStart?: ReactNode;
|
|
32
|
+
}
|
|
33
|
+
export declare function SettingsSection({ title, description, form, saveLabel, savedText, id, variant, className, children, footerStart }: SettingsSectionProps): import("react").JSX.Element;
|
|
34
|
+
export default SettingsSection;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import './SwitchRow.css';
|
|
2
|
+
/**
|
|
3
|
+
* SwitchRow — Settings row with label, description and an accessible on/off switch.
|
|
4
|
+
*
|
|
5
|
+
* @param {string} label - Setting name. Default 'Email notifications'.
|
|
6
|
+
* @param {string} description - Help text.
|
|
7
|
+
* @param {string} name - Form field name (submitted as "on" when checked). Default 'setting'.
|
|
8
|
+
* @param {boolean} checked - Initial state. Default true.
|
|
9
|
+
* @param {boolean} disabled - Disable the switch. Default false.
|
|
10
|
+
* @param {string} id - Input id (unique). Defaults to `sw-${name}`.
|
|
11
|
+
* @param {string} size - Switch size (sm|md). Default 'md'.
|
|
12
|
+
* @param {string} className - Extra class.
|
|
13
|
+
*
|
|
14
|
+
* Accessibility: native checkbox with role="switch", associated label and description
|
|
15
|
+
* (aria-describedby), visible focus ring, 44px touch target.
|
|
16
|
+
*/
|
|
17
|
+
export interface SwitchRowProps {
|
|
18
|
+
label?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
checked?: boolean;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
id?: string;
|
|
24
|
+
size?: 'sm' | 'md';
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare function SwitchRow({ label, description, name, checked, disabled, id, size, className, }: SwitchRowProps): import("react").JSX.Element;
|
|
28
|
+
export default SwitchRow;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import './TeamMembers.css';
|
|
2
|
+
interface Member {
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
role: string;
|
|
6
|
+
status?: 'active' | 'invited' | 'suspended';
|
|
7
|
+
you?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* TeamMembers — Team management list: members with avatar, email, role selector and status,
|
|
11
|
+
* an invite form, and remove with confirmation.
|
|
12
|
+
*
|
|
13
|
+
* @param {string} title - Card title. Default 'Team'.
|
|
14
|
+
* @param {Array<{name: string, email: string, role: string, status?: 'active'|'invited'|'suspended', you?: boolean}>} members - People.
|
|
15
|
+
* @param {string[]} roles - Role options. Default ['Owner', 'Manager', 'Front desk', 'Housekeeping', 'Viewer'].
|
|
16
|
+
* @param {number} seats - Seats in the plan (shows "4 of 10 seats"). Optional.
|
|
17
|
+
* @param {string} variant - Style (card|plain). Default 'card'.
|
|
18
|
+
* @param {string} className - Extra class.
|
|
19
|
+
*
|
|
20
|
+
* Accessibility: real list; role selects and remove buttons are labelled with the member's name;
|
|
21
|
+
* the invite email field validates natively; changes are announced politely.
|
|
22
|
+
* Emits `app:team-invite` `{ email, role }` and `app:team-remove` `{ email }`.
|
|
23
|
+
*/
|
|
24
|
+
export interface TeamMembersProps {
|
|
25
|
+
title?: string;
|
|
26
|
+
members?: Member[];
|
|
27
|
+
roles?: string[];
|
|
28
|
+
seats?: number;
|
|
29
|
+
variant?: 'card' | 'plain';
|
|
30
|
+
className?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function TeamMembers({ title, members, roles, seats, variant, className, }: TeamMembersProps): import("react").JSX.Element;
|
|
33
|
+
export default TeamMembers;
|