@almadar/ui 2.15.8 → 2.15.11
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/dist/components/atoms/ContentSection.d.ts +16 -0
- package/dist/components/atoms/SectionHeader.d.ts +14 -0
- package/dist/components/atoms/StatCard.d.ts +13 -0
- package/dist/components/atoms/index.d.ts +3 -0
- package/dist/components/atoms/svg/SvgBranch.d.ts +12 -0
- package/dist/components/atoms/svg/SvgConnection.d.ts +13 -0
- package/dist/components/atoms/svg/SvgFlow.d.ts +10 -0
- package/dist/components/atoms/svg/SvgGrid.d.ts +14 -0
- package/dist/components/atoms/svg/SvgLobe.d.ts +13 -0
- package/dist/components/atoms/svg/SvgMesh.d.ts +12 -0
- package/dist/components/atoms/svg/SvgMorph.d.ts +11 -0
- package/dist/components/atoms/svg/SvgNode.d.ts +12 -0
- package/dist/components/atoms/svg/SvgPulse.d.ts +12 -0
- package/dist/components/atoms/svg/SvgRing.d.ts +13 -0
- package/dist/components/atoms/svg/SvgShield.d.ts +11 -0
- package/dist/components/atoms/svg/SvgStack.d.ts +13 -0
- package/dist/components/atoms/svg/index.d.ts +12 -0
- package/dist/{chunk-ACUO2BBW.js → components/index.cjs} +24831 -16747
- package/dist/components/index.js +37754 -889
- package/dist/components/molecules/AnimatedCounter.d.ts +18 -0
- package/dist/components/molecules/ArticleSection.d.ts +18 -0
- package/dist/components/molecules/CTABanner.d.ts +31 -0
- package/dist/components/molecules/CaseStudyCard.d.ts +24 -0
- package/dist/components/molecules/CodeExample.d.ts +23 -0
- package/dist/components/molecules/CommunityLinks.d.ts +25 -0
- package/dist/components/molecules/DocBreadcrumb.d.ts +20 -0
- package/dist/components/molecules/DocCodeBlock.d.ts +13 -0
- package/dist/components/molecules/DocPagination.d.ts +14 -0
- package/dist/components/molecules/DocSearch.d.ts +15 -0
- package/dist/components/molecules/DocSidebar.d.ts +24 -0
- package/dist/components/molecules/DocTOC.d.ts +24 -0
- package/dist/components/molecules/FeatureCard.d.ts +26 -0
- package/dist/components/molecules/FeatureGrid.d.ts +19 -0
- package/dist/components/molecules/GradientDivider.d.ts +14 -0
- package/dist/components/molecules/HeroSection.d.ts +36 -0
- package/dist/components/molecules/InstallBox.d.ts +16 -0
- package/dist/components/molecules/MarketingFooter.d.ts +27 -0
- package/dist/components/molecules/PricingCard.d.ts +21 -0
- package/dist/components/molecules/PricingGrid.d.ts +13 -0
- package/dist/components/molecules/PullQuote.d.ts +14 -0
- package/dist/components/molecules/ServiceCatalog.d.ts +19 -0
- package/dist/components/molecules/ShowcaseCard.d.ts +20 -0
- package/dist/components/molecules/SocialProof.d.ts +25 -0
- package/dist/components/molecules/SplitSection.d.ts +21 -0
- package/dist/components/molecules/StatsGrid.d.ts +17 -0
- package/dist/components/molecules/StepFlow.d.ts +20 -0
- package/dist/components/molecules/TagCloud.d.ts +18 -0
- package/dist/components/molecules/TeamCard.d.ts +18 -0
- package/dist/components/molecules/index.d.ts +19 -0
- package/dist/components/molecules/svg/AIGenerates.d.ts +7 -0
- package/dist/components/molecules/svg/ClosedCircuit.d.ts +7 -0
- package/dist/components/molecules/svg/CommunityOwnership.d.ts +7 -0
- package/dist/components/molecules/svg/CompileAnywhere.d.ts +7 -0
- package/dist/components/molecules/svg/ComposableModels.d.ts +7 -0
- package/dist/components/molecules/svg/DescribeProveDeploy.d.ts +7 -0
- package/dist/components/molecules/svg/DomainGrid.d.ts +7 -0
- package/dist/components/molecules/svg/EventBus.d.ts +7 -0
- package/dist/components/molecules/svg/OrbitalUnit.d.ts +7 -0
- package/dist/components/molecules/svg/PlanVerifyRemember.d.ts +7 -0
- package/dist/components/molecules/svg/ProveCorrect.d.ts +7 -0
- package/dist/components/molecules/svg/ServiceLayers.d.ts +7 -0
- package/dist/components/molecules/svg/SharedReality.d.ts +7 -0
- package/dist/components/molecules/svg/StandardLibrary.d.ts +7 -0
- package/dist/components/molecules/svg/StateMachine.d.ts +7 -0
- package/dist/components/molecules/svg/WorldModel.d.ts +7 -0
- package/dist/components/molecules/svg/index.d.ts +16 -0
- package/dist/components/organisms/CaseStudyOrganism.d.ts +19 -0
- package/dist/components/organisms/FeatureGridOrganism.d.ts +20 -0
- package/dist/components/organisms/HeroOrganism.d.ts +18 -0
- package/dist/components/organisms/PricingOrganism.d.ts +19 -0
- package/dist/components/organisms/ShowcaseOrganism.d.ts +20 -0
- package/dist/components/organisms/StatsOrganism.d.ts +17 -0
- package/dist/components/organisms/StepFlowOrganism.d.ts +20 -0
- package/dist/components/organisms/TeamOrganism.d.ts +18 -0
- package/dist/components/organisms/game/three/index.cjs +2525 -0
- package/dist/components/organisms/game/three/index.js +1795 -50
- package/dist/components/organisms/index.d.ts +9 -0
- package/dist/components/organisms/marketing-types.d.ts +87 -0
- package/dist/components/templates/AboutPageTemplate.d.ts +26 -0
- package/dist/components/templates/FeatureDetailPageTemplate.d.ts +27 -0
- package/dist/components/templates/LandingPageTemplate.d.ts +31 -0
- package/dist/components/templates/PricingPageTemplate.d.ts +26 -0
- package/dist/components/templates/index.d.ts +4 -0
- package/dist/context/index.cjs +550 -0
- package/dist/context/index.js +420 -6
- package/dist/docs/index.cjs +4015 -0
- package/dist/docs/index.d.cts +412 -0
- package/dist/docs/index.d.ts +29 -0
- package/dist/docs/index.js +3977 -0
- package/dist/hooks/index.cjs +2606 -0
- package/dist/hooks/index.js +2535 -8
- package/dist/illustrations/index.cjs +3004 -0
- package/dist/illustrations/index.d.cts +261 -0
- package/dist/illustrations/index.d.ts +35 -0
- package/dist/illustrations/index.js +2971 -0
- package/dist/{chunk-XL7WB2O5.js → lib/index.cjs} +454 -274
- package/dist/lib/index.js +1407 -3
- package/dist/locales/index.cjs +340 -0
- package/dist/locales/index.js +105 -2
- package/dist/marketing/index.cjs +4680 -0
- package/dist/marketing/index.d.cts +831 -0
- package/dist/marketing/index.d.ts +62 -0
- package/dist/marketing/index.js +4623 -0
- package/dist/providers/index.cjs +4811 -0
- package/dist/providers/index.js +4765 -11
- package/dist/{chunk-K2D5D3WK.js → renderer/index.cjs} +101 -42
- package/dist/renderer/index.js +1036 -2
- package/dist/runtime/index.cjs +4400 -0
- package/dist/runtime/index.js +3615 -19
- package/dist/{chunk-N7MVUW4R.js → stores/index.cjs} +24 -1
- package/dist/stores/index.js +194 -2
- package/dist/tsup.config.d.ts +2 -1
- package/package.json +27 -12
- package/tailwind-preset.cjs +9 -0
- package/themes/almadar-website.css +195 -0
- package/themes/index.css +23 -20
- package/dist/chunk-3HJHHULT.js +0 -93
- package/dist/chunk-3JGAROCW.js +0 -149
- package/dist/chunk-4N3BAPDB.js +0 -1667
- package/dist/chunk-CDIOHSKG.js +0 -661
- package/dist/chunk-DKQN5FVU.js +0 -279
- package/dist/chunk-JJHCOO34.js +0 -375
- package/dist/chunk-PKBMQBKP.js +0 -5
- package/dist/chunk-QIABKRCN.js +0 -107
- package/dist/chunk-SD3KVCY6.js +0 -1465
- package/dist/chunk-YXZM3WCF.js +0 -222
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AnimatedCounter Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* Counts from 0 to a target value on scroll-into-view using IntersectionObserver.
|
|
5
|
+
* Replaces static stat numbers with animated versions for visual impact.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface AnimatedCounterProps {
|
|
9
|
+
/** Target value to count to (e.g. "500+", "99.9%", "3x") */
|
|
10
|
+
value: string;
|
|
11
|
+
/** Label displayed below the number */
|
|
12
|
+
label: string;
|
|
13
|
+
/** Animation duration in ms */
|
|
14
|
+
duration?: number;
|
|
15
|
+
/** Additional class names */
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const AnimatedCounter: React.FC<AnimatedCounterProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ArticleSection Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A centered content section with a title and constrained max-width,
|
|
5
|
+
* suitable for article or documentation layouts.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface ArticleSectionProps {
|
|
9
|
+
/** Section title */
|
|
10
|
+
title: string;
|
|
11
|
+
/** Section content */
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
/** Maximum width constraint */
|
|
14
|
+
maxWidth?: 'sm' | 'md' | 'lg';
|
|
15
|
+
/** Additional class names */
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const ArticleSection: React.FC<ArticleSectionProps>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CTABanner Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A call-to-action banner with title, subtitle, and action buttons.
|
|
5
|
+
* Uses the site's theme naturally - no forced color inversions.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export type CTABannerBackground = 'default' | 'alt' | 'dark' | 'gradient' | 'primary';
|
|
9
|
+
export interface CTABannerProps {
|
|
10
|
+
/** Banner headline */
|
|
11
|
+
title: string;
|
|
12
|
+
/** Supporting text below the title */
|
|
13
|
+
subtitle?: string;
|
|
14
|
+
/** Primary action button config */
|
|
15
|
+
primaryAction?: {
|
|
16
|
+
label: string;
|
|
17
|
+
href: string;
|
|
18
|
+
};
|
|
19
|
+
/** Secondary action button config */
|
|
20
|
+
secondaryAction?: {
|
|
21
|
+
label: string;
|
|
22
|
+
href: string;
|
|
23
|
+
};
|
|
24
|
+
/** Background style */
|
|
25
|
+
background?: CTABannerBackground;
|
|
26
|
+
/** Content alignment */
|
|
27
|
+
align?: 'center' | 'left';
|
|
28
|
+
/** Additional class names */
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare const CTABanner: React.FC<CTABannerProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CaseStudyCard Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A card for displaying case studies with category badge, title,
|
|
5
|
+
* description, and a call-to-action link button.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface CaseStudyCardProps {
|
|
9
|
+
/** Case study title */
|
|
10
|
+
title: string;
|
|
11
|
+
/** Short description of the case study */
|
|
12
|
+
description: string;
|
|
13
|
+
/** Category label shown as a badge */
|
|
14
|
+
category: string;
|
|
15
|
+
/** Custom background color for the category badge (CSS value) */
|
|
16
|
+
categoryColor?: string;
|
|
17
|
+
/** URL the card links to */
|
|
18
|
+
href: string;
|
|
19
|
+
/** Label for the link button */
|
|
20
|
+
linkLabel?: string;
|
|
21
|
+
/** Additional class names */
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const CaseStudyCard: React.FC<CaseStudyCardProps>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeExample Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* Displays a block of code with an optional title bar, copy button,
|
|
5
|
+
* and scrollable area. A standalone fallback for code display
|
|
6
|
+
* without syntax highlighting.
|
|
7
|
+
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
export interface CodeExampleProps {
|
|
10
|
+
/** The code content to display */
|
|
11
|
+
code: string;
|
|
12
|
+
/** Programming language label */
|
|
13
|
+
language: string;
|
|
14
|
+
/** Optional title shown in the header bar */
|
|
15
|
+
title?: string;
|
|
16
|
+
/** Whether to show a copy button */
|
|
17
|
+
copyable?: boolean;
|
|
18
|
+
/** Maximum height of the code area (CSS value) */
|
|
19
|
+
maxHeight?: string;
|
|
20
|
+
/** Additional class names */
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const CodeExample: React.FC<CodeExampleProps>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CommunityLinks Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* Displays community platform links (GitHub, Discord, Twitter) as styled buttons.
|
|
5
|
+
* Composes VStack, HStack, Typography, Button, and Icon atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface CommunityLinksProps {
|
|
9
|
+
github?: {
|
|
10
|
+
url: string;
|
|
11
|
+
stars?: number;
|
|
12
|
+
};
|
|
13
|
+
discord?: {
|
|
14
|
+
url: string;
|
|
15
|
+
members?: number;
|
|
16
|
+
};
|
|
17
|
+
twitter?: {
|
|
18
|
+
url: string;
|
|
19
|
+
followers?: number;
|
|
20
|
+
};
|
|
21
|
+
heading?: string;
|
|
22
|
+
subtitle?: string;
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const CommunityLinks: React.FC<CommunityLinksProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DocBreadcrumb Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A breadcrumb navigation component for documentation pages.
|
|
5
|
+
* Composes from HStack, Typography, and Icon atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface DocBreadcrumbItem {
|
|
9
|
+
/** Display label */
|
|
10
|
+
label: string;
|
|
11
|
+
/** Navigation href (omit for the current/last item) */
|
|
12
|
+
href?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface DocBreadcrumbProps {
|
|
15
|
+
/** Breadcrumb path items, last item is treated as current page */
|
|
16
|
+
items: DocBreadcrumbItem[];
|
|
17
|
+
/** Additional CSS classes */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const DocBreadcrumb: React.FC<DocBreadcrumbProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface DocCodeBlockProps {
|
|
2
|
+
/** Code content to display */
|
|
3
|
+
code: string;
|
|
4
|
+
/** Programming language label */
|
|
5
|
+
language?: string;
|
|
6
|
+
/** Optional title/filename shown in the header bar */
|
|
7
|
+
title?: string;
|
|
8
|
+
/** Show line numbers in the gutter */
|
|
9
|
+
showLineNumbers?: boolean;
|
|
10
|
+
/** Additional class names */
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function DocCodeBlock({ code, language, title, showLineNumbers, className, }: DocCodeBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface DocPaginationLink {
|
|
2
|
+
label: string;
|
|
3
|
+
href: string;
|
|
4
|
+
category?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface DocPaginationProps {
|
|
7
|
+
/** Previous page link */
|
|
8
|
+
prev?: DocPaginationLink;
|
|
9
|
+
/** Next page link */
|
|
10
|
+
next?: DocPaginationLink;
|
|
11
|
+
/** Additional class names */
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function DocPagination({ prev, next, className }: DocPaginationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface DocSearchResult {
|
|
2
|
+
title: string;
|
|
3
|
+
href: string;
|
|
4
|
+
excerpt?: string;
|
|
5
|
+
category?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface DocSearchProps {
|
|
8
|
+
/** Placeholder text for the input */
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
/** Callback invoked with the search query, returns results */
|
|
11
|
+
onSearch?: (query: string) => DocSearchResult[] | Promise<DocSearchResult[]>;
|
|
12
|
+
/** Additional class names */
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function DocSearch({ placeholder, onSearch, className, }: DocSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DocSidebar Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A documentation navigation sidebar with collapsible category sections.
|
|
5
|
+
* Composes from Box, VStack, HStack, Typography, and Icon atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface DocSidebarItem {
|
|
9
|
+
/** Display label */
|
|
10
|
+
label: string;
|
|
11
|
+
/** Navigation href */
|
|
12
|
+
href?: string;
|
|
13
|
+
/** Nested child items (makes this a collapsible category) */
|
|
14
|
+
items?: DocSidebarItem[];
|
|
15
|
+
/** Whether this item is currently active */
|
|
16
|
+
active?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface DocSidebarProps {
|
|
19
|
+
/** Sidebar navigation items */
|
|
20
|
+
items: DocSidebarItem[];
|
|
21
|
+
/** Additional CSS classes */
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const DocSidebar: React.FC<DocSidebarProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DocTOC Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A table of contents component with active section highlighting.
|
|
5
|
+
* Composes from Box, VStack, and Typography atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface DocTOCItem {
|
|
9
|
+
/** Heading element id to link to */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Display label */
|
|
12
|
+
label: string;
|
|
13
|
+
/** Heading level: 2 for h2, 3 for h3, etc. */
|
|
14
|
+
level: number;
|
|
15
|
+
}
|
|
16
|
+
export interface DocTOCProps {
|
|
17
|
+
/** Table of contents items */
|
|
18
|
+
items: DocTOCItem[];
|
|
19
|
+
/** Currently active section id */
|
|
20
|
+
activeId?: string;
|
|
21
|
+
/** Additional CSS classes */
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const DocTOC: React.FC<DocTOCProps>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FeatureCard Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A card highlighting a feature with icon, title, description, and optional link.
|
|
5
|
+
* Composes Card, VStack, Icon, Typography, and Button atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface FeatureCardProps {
|
|
9
|
+
/** Icon name (Lucide string) or ReactNode */
|
|
10
|
+
icon?: string | React.ReactNode;
|
|
11
|
+
/** Feature title */
|
|
12
|
+
title: string;
|
|
13
|
+
/** Feature description */
|
|
14
|
+
description: string;
|
|
15
|
+
/** Optional link URL */
|
|
16
|
+
href?: string;
|
|
17
|
+
/** Label for the link button */
|
|
18
|
+
linkLabel?: string;
|
|
19
|
+
/** Card visual variant */
|
|
20
|
+
variant?: 'default' | 'bordered' | 'elevated' | 'interactive';
|
|
21
|
+
/** Card size affecting icon and spacing */
|
|
22
|
+
size?: 'sm' | 'md' | 'lg';
|
|
23
|
+
/** Additional class names */
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const FeatureCard: React.FC<FeatureCardProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FeatureGrid Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A responsive grid layout for displaying multiple FeatureCards.
|
|
5
|
+
* Composes SimpleGrid and FeatureCard molecules.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { type FeatureCardProps } from './FeatureCard';
|
|
9
|
+
export interface FeatureGridProps {
|
|
10
|
+
/** Array of feature card configurations */
|
|
11
|
+
items: FeatureCardProps[];
|
|
12
|
+
/** Number of grid columns */
|
|
13
|
+
columns?: 2 | 3 | 4 | 6;
|
|
14
|
+
/** Gap between grid items */
|
|
15
|
+
gap?: 'sm' | 'md' | 'lg';
|
|
16
|
+
/** Additional class names */
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const FeatureGrid: React.FC<FeatureGridProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GradientDivider Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A horizontal line that fades from transparent at edges to primary color at center.
|
|
5
|
+
* Used between major sections for visual separation without hard background-color breaks.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface GradientDividerProps {
|
|
9
|
+
/** Override the center color (CSS value). Defaults to var(--color-primary). */
|
|
10
|
+
color?: string;
|
|
11
|
+
/** Additional class names */
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const GradientDivider: React.FC<GradientDividerProps>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HeroSection Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A full-width hero section for landing pages and marketing content.
|
|
5
|
+
* Composes atoms: Box, VStack, HStack, Badge, Typography, Button.
|
|
6
|
+
* Optionally includes an InstallBox molecule for CLI commands.
|
|
7
|
+
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
export interface HeroSectionProps {
|
|
10
|
+
tag?: string;
|
|
11
|
+
tagVariant?: 'primary' | 'secondary' | 'accent';
|
|
12
|
+
title: string;
|
|
13
|
+
titleAccent?: string;
|
|
14
|
+
subtitle: string;
|
|
15
|
+
primaryAction?: {
|
|
16
|
+
label: string;
|
|
17
|
+
href: string;
|
|
18
|
+
};
|
|
19
|
+
secondaryAction?: {
|
|
20
|
+
label: string;
|
|
21
|
+
href: string;
|
|
22
|
+
};
|
|
23
|
+
installCommand?: string;
|
|
24
|
+
image?: {
|
|
25
|
+
src: string;
|
|
26
|
+
alt: string;
|
|
27
|
+
};
|
|
28
|
+
imagePosition?: 'below' | 'right' | 'background';
|
|
29
|
+
background?: 'dark' | 'gradient' | 'subtle';
|
|
30
|
+
align?: 'center' | 'left';
|
|
31
|
+
/** Background element (SVG animation, etc.) rendered behind hero content */
|
|
32
|
+
backgroundElement?: React.ReactNode;
|
|
33
|
+
children?: React.ReactNode;
|
|
34
|
+
className?: string;
|
|
35
|
+
}
|
|
36
|
+
export declare const HeroSection: React.FC<HeroSectionProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* InstallBox Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A copyable command display box for install/CLI commands.
|
|
5
|
+
* Shows a monospace command with a copy-to-clipboard button.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface InstallBoxProps {
|
|
9
|
+
/** The command to display and copy */
|
|
10
|
+
command: string;
|
|
11
|
+
/** Optional label above the command */
|
|
12
|
+
label?: string;
|
|
13
|
+
/** Additional class names */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const InstallBox: React.FC<InstallBoxProps>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MarketingFooter Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A themed footer for marketing/documentation sites.
|
|
5
|
+
* Displays link columns, optional logo, and copyright text.
|
|
6
|
+
* Uses @almadar/ui theme CSS variables for consistent branding.
|
|
7
|
+
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
export interface FooterLinkItem {
|
|
10
|
+
label: string;
|
|
11
|
+
href: string;
|
|
12
|
+
}
|
|
13
|
+
export interface FooterLinkColumn {
|
|
14
|
+
title: string;
|
|
15
|
+
items: FooterLinkItem[];
|
|
16
|
+
}
|
|
17
|
+
export interface MarketingFooterProps {
|
|
18
|
+
columns: FooterLinkColumn[];
|
|
19
|
+
copyright?: string;
|
|
20
|
+
logo?: {
|
|
21
|
+
src: string;
|
|
22
|
+
alt: string;
|
|
23
|
+
href?: string;
|
|
24
|
+
};
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const MarketingFooter: React.FC<MarketingFooterProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PricingCard Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A pricing tier card showing plan name, price, features, and CTA button.
|
|
5
|
+
* Composes atoms: Card, VStack, HStack, Badge, Typography, Icon, Divider, Spacer, Button.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface PricingCardProps {
|
|
9
|
+
name: string;
|
|
10
|
+
price: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
features: string[];
|
|
13
|
+
action: {
|
|
14
|
+
label: string;
|
|
15
|
+
href: string;
|
|
16
|
+
};
|
|
17
|
+
highlighted?: boolean;
|
|
18
|
+
badge?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const PricingCard: React.FC<PricingCardProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PricingGrid Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A responsive grid of PricingCard molecules.
|
|
5
|
+
* Composes: SimpleGrid + PricingCard.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { type PricingCardProps } from './PricingCard';
|
|
9
|
+
export interface PricingGridProps {
|
|
10
|
+
plans: PricingCardProps[];
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const PricingGrid: React.FC<PricingGridProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PullQuote Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* Large italic text with a thick left border in primary color.
|
|
5
|
+
* Breaks up prose walls on long-form pages like Vision and case studies.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface PullQuoteProps {
|
|
9
|
+
/** The quote text */
|
|
10
|
+
children: string;
|
|
11
|
+
/** Additional class names */
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const PullQuote: React.FC<PullQuoteProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ServiceCatalog Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* Displays a grid of services organized by layer, each shown as a card
|
|
5
|
+
* with a layer badge and service name.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface ServiceCatalogItem {
|
|
9
|
+
name: string;
|
|
10
|
+
layer: string;
|
|
11
|
+
layerColor?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ServiceCatalogProps {
|
|
14
|
+
/** List of services to display */
|
|
15
|
+
services: ServiceCatalogItem[];
|
|
16
|
+
/** Additional class names */
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const ServiceCatalog: React.FC<ServiceCatalogProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ShowcaseCard Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A card for showcasing projects, demos, or portfolio items with an image, badge, and description.
|
|
5
|
+
* Composes Card, Box, VStack, Badge, and Typography atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface ShowcaseCardProps {
|
|
9
|
+
title: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
image: {
|
|
12
|
+
src: string;
|
|
13
|
+
alt: string;
|
|
14
|
+
};
|
|
15
|
+
href?: string;
|
|
16
|
+
badge?: string;
|
|
17
|
+
accentColor?: string;
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const ShowcaseCard: React.FC<ShowcaseCardProps>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SocialProof Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* Displays social proof in three variants: company logos, customer quotes,
|
|
5
|
+
* or technology badges. Composes HStack, SimpleGrid, Card, Badge,
|
|
6
|
+
* Box, and Typography atoms.
|
|
7
|
+
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
export interface SocialProofItem {
|
|
10
|
+
/** Optional logo URL */
|
|
11
|
+
logo?: string;
|
|
12
|
+
/** Company or person name */
|
|
13
|
+
name: string;
|
|
14
|
+
/** Optional quote or testimonial text */
|
|
15
|
+
quote?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface SocialProofProps {
|
|
18
|
+
/** List of social proof items */
|
|
19
|
+
items: SocialProofItem[];
|
|
20
|
+
/** Display variant */
|
|
21
|
+
variant?: 'logos' | 'quotes' | 'badges';
|
|
22
|
+
/** Additional class names */
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const SocialProof: React.FC<SocialProofProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SplitSection Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A two-column content section with text on one side and an image (or custom content) on the other.
|
|
5
|
+
* Composes Box, HStack, VStack, Typography, and Icon atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface SplitSectionProps {
|
|
9
|
+
title: string;
|
|
10
|
+
description: string | React.ReactNode;
|
|
11
|
+
bullets?: string[];
|
|
12
|
+
image?: {
|
|
13
|
+
src: string;
|
|
14
|
+
alt: string;
|
|
15
|
+
};
|
|
16
|
+
imagePosition?: 'left' | 'right';
|
|
17
|
+
background?: 'default' | 'alt';
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const SplitSection: React.FC<SplitSectionProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StatsGrid Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A responsive grid of stat items showing value + label pairs.
|
|
5
|
+
* Composes: SimpleGrid + VStack + Typography.
|
|
6
|
+
* Uses StatDisplay internally when available for consistent styling.
|
|
7
|
+
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
export interface StatsGridProps {
|
|
10
|
+
stats: {
|
|
11
|
+
value: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}[];
|
|
14
|
+
columns?: 2 | 3 | 4 | 6;
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const StatsGrid: React.FC<StatsGridProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StepFlow Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A step-by-step progress indicator supporting horizontal and vertical orientations.
|
|
5
|
+
* Composes Center, Typography, Icon, HStack, VStack, Box, and Divider atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface StepItemProps {
|
|
9
|
+
number?: number;
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
icon?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface StepFlowProps {
|
|
15
|
+
steps: StepItemProps[];
|
|
16
|
+
orientation?: 'horizontal' | 'vertical';
|
|
17
|
+
showConnectors?: boolean;
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const StepFlow: React.FC<StepFlowProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TagCloud Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A collection of tags displayed as badges in a wrapping layout.
|
|
5
|
+
* Composes HStack and Badge atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface TagCloudItem {
|
|
9
|
+
label: string;
|
|
10
|
+
href?: string;
|
|
11
|
+
variant?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface TagCloudProps {
|
|
14
|
+
tags: string[] | TagCloudItem[];
|
|
15
|
+
variant?: 'default' | 'primary' | 'accent';
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const TagCloud: React.FC<TagCloudProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TeamCard Molecule Component
|
|
3
|
+
*
|
|
4
|
+
* A card displaying a team member with avatar, name, role, and bio.
|
|
5
|
+
* Composes Card, VStack, Avatar, and Typography atoms.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export interface TeamCardProps {
|
|
9
|
+
name: string;
|
|
10
|
+
nameAr?: string;
|
|
11
|
+
role: string;
|
|
12
|
+
bio: string;
|
|
13
|
+
avatar?: string | {
|
|
14
|
+
initials: string;
|
|
15
|
+
};
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const TeamCard: React.FC<TeamCardProps>;
|
|
@@ -57,3 +57,22 @@ export { SwipeableRow, type SwipeableRowProps, type SwipeAction } from './Swipea
|
|
|
57
57
|
export { SortableList, type SortableListProps } from './SortableList';
|
|
58
58
|
export { Carousel, type CarouselProps } from './Carousel';
|
|
59
59
|
export { PullToRefresh, type PullToRefreshProps } from './PullToRefresh';
|
|
60
|
+
export { InstallBox, type InstallBoxProps } from './InstallBox';
|
|
61
|
+
export { FeatureCard, type FeatureCardProps } from './FeatureCard';
|
|
62
|
+
export { FeatureGrid, type FeatureGridProps } from './FeatureGrid';
|
|
63
|
+
export { CTABanner, type CTABannerProps, type CTABannerBackground } from './CTABanner';
|
|
64
|
+
export { HeroSection, type HeroSectionProps } from './HeroSection';
|
|
65
|
+
export { PricingCard, type PricingCardProps } from './PricingCard';
|
|
66
|
+
export { PricingGrid, type PricingGridProps } from './PricingGrid';
|
|
67
|
+
export { StatsGrid, type StatsGridProps } from './StatsGrid';
|
|
68
|
+
export { ServiceCatalog, type ServiceCatalogProps, type ServiceCatalogItem } from './ServiceCatalog';
|
|
69
|
+
export { CaseStudyCard, type CaseStudyCardProps } from './CaseStudyCard';
|
|
70
|
+
export { ArticleSection, type ArticleSectionProps } from './ArticleSection';
|
|
71
|
+
export { CodeExample, type CodeExampleProps } from './CodeExample';
|
|
72
|
+
export { SocialProof, type SocialProofProps, type SocialProofItem } from './SocialProof';
|
|
73
|
+
export { StepFlow, type StepFlowProps, type StepItemProps } from './StepFlow';
|
|
74
|
+
export { SplitSection, type SplitSectionProps } from './SplitSection';
|
|
75
|
+
export { TagCloud, type TagCloudProps, type TagCloudItem } from './TagCloud';
|
|
76
|
+
export { CommunityLinks, type CommunityLinksProps } from './CommunityLinks';
|
|
77
|
+
export { TeamCard, type TeamCardProps } from './TeamCard';
|
|
78
|
+
export { ShowcaseCard, type ShowcaseCardProps } from './ShowcaseCard';
|