@almadar/ui 2.23.0 → 2.24.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/dist/components/atoms/PatternTile.d.ts +41 -0
- package/dist/components/atoms/index.d.ts +1 -0
- package/dist/components/index.cjs +2136 -1124
- package/dist/components/index.js +1272 -264
- package/dist/components/molecules/EdgeDecoration.d.ts +35 -0
- package/dist/components/molecules/GeometricPattern.d.ts +33 -0
- package/dist/components/molecules/index.d.ts +2 -0
- package/dist/docs/index.cjs +3 -3
- package/dist/docs/index.js +3 -3
- package/dist/marketing/index.cjs +1035 -23
- package/dist/marketing/index.d.cts +112 -1
- package/dist/marketing/index.d.ts +6 -0
- package/dist/marketing/index.js +1034 -26
- package/dist/providers/index.cjs +125 -125
- package/dist/providers/index.js +37 -37
- package/dist/runtime/enrichFromResponse.d.ts +1 -1
- package/dist/runtime/index.cjs +1006 -998
- package/dist/runtime/index.js +247 -239
- package/package.json +1 -1
- package/themes/almadar-website.css +36 -34
|
@@ -828,4 +828,115 @@ interface AnimatedCounterProps {
|
|
|
828
828
|
}
|
|
829
829
|
declare const AnimatedCounter: React.FC<AnimatedCounterProps>;
|
|
830
830
|
|
|
831
|
-
|
|
831
|
+
/**
|
|
832
|
+
* PatternTile Atom
|
|
833
|
+
*
|
|
834
|
+
* Mathematically correct Islamic geometric pattern tiles using the
|
|
835
|
+
* Polygons-in-Contact (PIC) method (Hankin 1925, formalized by Kaplan 2005).
|
|
836
|
+
*
|
|
837
|
+
* Construction: A regular polygon tiling is overlaid with star motifs.
|
|
838
|
+
* Each motif touches the enclosing polygon at EDGE MIDPOINTS only.
|
|
839
|
+
* Two rays emanate from each midpoint into the polygon at a specific
|
|
840
|
+
* CONTACT ANGLE (theta). Where rays from adjacent midpoints intersect,
|
|
841
|
+
* they form the star points. Gap tiles (squares, triangles) between
|
|
842
|
+
* polygons receive inferred geometry by extending boundary rays inward.
|
|
843
|
+
*
|
|
844
|
+
* Variants:
|
|
845
|
+
* star8 — 8-fold star-and-cross on 4.8.8 tiling (theta = 67.5 deg)
|
|
846
|
+
* star6 — 6-fold star on hexagonal tiling (theta = 60 deg)
|
|
847
|
+
* khatam — 8-fold rosette with interlocking kites (theta = 72 deg)
|
|
848
|
+
* star10 — 10-fold girih on decagonal tiling (theta = 72 deg)
|
|
849
|
+
* star12 — 12-fold on dodecagonal tiling (theta = 75 deg)
|
|
850
|
+
*
|
|
851
|
+
* All tiles use stroke only (no fill), rendering as transparent overlays.
|
|
852
|
+
*/
|
|
853
|
+
|
|
854
|
+
type PatternVariant = 'star8' | 'star6' | 'khatam' | 'star10' | 'star12' | 'rosette-double' | 'rosette-filled' | 'seigaiha' | 'greek-key' | 'celtic-knot' | 'kolam' | 'arch' | 'arabesque-vine' | 'arabesque-net';
|
|
855
|
+
interface PatternTileProps {
|
|
856
|
+
/** Which geometric pattern to render */
|
|
857
|
+
variant?: PatternVariant;
|
|
858
|
+
/** Tile unit size in SVG units */
|
|
859
|
+
size?: number;
|
|
860
|
+
/** Stroke color (CSS variable or hex) */
|
|
861
|
+
color?: string;
|
|
862
|
+
/** Line thickness */
|
|
863
|
+
strokeWidth?: number;
|
|
864
|
+
className?: string;
|
|
865
|
+
}
|
|
866
|
+
declare const PatternTile: React.FC<PatternTileProps>;
|
|
867
|
+
/** Returns the tile dimensions for a given variant and size */
|
|
868
|
+
declare function getTileDimensions(variant: PatternVariant, size: number): {
|
|
869
|
+
width: number;
|
|
870
|
+
height: number;
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* GeometricPattern Molecule
|
|
875
|
+
*
|
|
876
|
+
* Composes PatternTile into reusable layout modes for Islamic geometric
|
|
877
|
+
* background decoration. Supports four modes:
|
|
878
|
+
*
|
|
879
|
+
* background — full tiling fill behind content
|
|
880
|
+
* left/right — pattern fades from one side toward the other
|
|
881
|
+
* frame — thin decorative strips above and below content
|
|
882
|
+
*
|
|
883
|
+
* Uses SVG <pattern> for efficient tiling and <mask> for fade effects.
|
|
884
|
+
* All rendering is pure SVG (SSR-safe, no browser APIs).
|
|
885
|
+
*/
|
|
886
|
+
|
|
887
|
+
interface GeometricPatternProps {
|
|
888
|
+
/** Which geometric tile design */
|
|
889
|
+
variant?: PatternVariant;
|
|
890
|
+
/** Layout mode */
|
|
891
|
+
mode?: 'background' | 'left' | 'right' | 'dual' | 'around' | 'frame';
|
|
892
|
+
/** Overall opacity (default: 0.06) */
|
|
893
|
+
opacity?: number;
|
|
894
|
+
/** Stroke color passed to PatternTile */
|
|
895
|
+
color?: string;
|
|
896
|
+
/** Tile scale multiplier (default: 1) */
|
|
897
|
+
scale?: number;
|
|
898
|
+
/** Stroke width passed to PatternTile */
|
|
899
|
+
strokeWidth?: number;
|
|
900
|
+
/** Content to wrap (used in frame mode) */
|
|
901
|
+
children?: React.ReactNode;
|
|
902
|
+
className?: string;
|
|
903
|
+
}
|
|
904
|
+
declare const GeometricPattern: React.FC<GeometricPatternProps>;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* EdgeDecoration Molecule
|
|
908
|
+
*
|
|
909
|
+
* Standalone SVG decorative elements positioned on section edges.
|
|
910
|
+
* Unlike GeometricPattern (which tiles small units), these are large
|
|
911
|
+
* singular shapes placed at specific positions: left edge, right edge,
|
|
912
|
+
* or both.
|
|
913
|
+
*
|
|
914
|
+
* Variants:
|
|
915
|
+
* arch — Concentric pointed mihrab arches (half-circles opening inward)
|
|
916
|
+
* vine — Flowing arabesque scroll tendrils running vertically
|
|
917
|
+
* lattice — Fine curved diamond lattice mesh
|
|
918
|
+
*
|
|
919
|
+
* Each variant renders as an absolutely-positioned SVG on one or both
|
|
920
|
+
* sides of the parent container.
|
|
921
|
+
*/
|
|
922
|
+
|
|
923
|
+
type EdgeVariant = 'arch' | 'vine' | 'lattice';
|
|
924
|
+
type EdgeSide = 'left' | 'right' | 'both';
|
|
925
|
+
interface EdgeDecorationProps {
|
|
926
|
+
/** Which decorative element */
|
|
927
|
+
variant?: EdgeVariant;
|
|
928
|
+
/** Which side(s) to place the decoration */
|
|
929
|
+
side?: EdgeSide;
|
|
930
|
+
/** Overall opacity (default: 0.15) */
|
|
931
|
+
opacity?: number;
|
|
932
|
+
/** Stroke color */
|
|
933
|
+
color?: string;
|
|
934
|
+
/** Stroke width */
|
|
935
|
+
strokeWidth?: number;
|
|
936
|
+
/** Width of the decoration area as percentage of container (default: 15) */
|
|
937
|
+
width?: number;
|
|
938
|
+
className?: string;
|
|
939
|
+
}
|
|
940
|
+
declare const EdgeDecoration: React.FC<EdgeDecorationProps>;
|
|
941
|
+
|
|
942
|
+
export { AnimatedCounter, type AnimatedCounterProps, ArticleSection, type ArticleSectionProps, Badge, Box, Button, CTABanner, type CTABannerProps, Card, CaseStudyCard, type CaseStudyCardProps, Center, CommunityLinks, type CommunityLinksProps, ContentSection, type ContentSectionProps, Divider, EdgeDecoration, type EdgeDecorationProps, type EdgeSide, type EdgeVariant, FeatureCard, type FeatureCardProps, FeatureGrid, type FeatureGridProps, type FooterLinkColumn, type FooterLinkItem, GeometricPattern, type GeometricPatternProps, GradientDivider, type GradientDividerProps, HStack, HeroSection, type HeroSectionProps, Icon, InstallBox, type InstallBoxProps, MarketingFooter, type MarketingFooterProps, PatternTile, type PatternTileProps, type PatternVariant, PricingCard, type PricingCardProps, PricingGrid, type PricingGridProps, PullQuote, type PullQuoteProps, ServiceCatalog, type ServiceCatalogProps, ShowcaseCard, type ShowcaseCardProps, SimpleGrid, Spacer, SplitSection, type SplitSectionProps, StatsGrid, type StatsGridProps, StepFlow, type StepFlowProps, type StepItemProps, TagCloud, type TagCloudProps, TeamCard, type TeamCardProps, Typography, VStack, getTileDimensions };
|
|
@@ -60,3 +60,9 @@ export { PullQuote } from '../components/molecules/PullQuote';
|
|
|
60
60
|
export type { PullQuoteProps } from '../components/molecules/PullQuote';
|
|
61
61
|
export { AnimatedCounter } from '../components/molecules/AnimatedCounter';
|
|
62
62
|
export type { AnimatedCounterProps } from '../components/molecules/AnimatedCounter';
|
|
63
|
+
export { PatternTile, getTileDimensions } from '../components/atoms/PatternTile';
|
|
64
|
+
export type { PatternTileProps, PatternVariant } from '../components/atoms/PatternTile';
|
|
65
|
+
export { GeometricPattern } from '../components/molecules/GeometricPattern';
|
|
66
|
+
export type { GeometricPatternProps } from '../components/molecules/GeometricPattern';
|
|
67
|
+
export { EdgeDecoration } from '../components/molecules/EdgeDecoration';
|
|
68
|
+
export type { EdgeDecorationProps, EdgeVariant, EdgeSide } from '../components/molecules/EdgeDecoration';
|