funuicss 3.8.13 → 3.8.15

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.
@@ -1,31 +1,23 @@
1
1
  import React from 'react';
2
- type FeatureItem = {
2
+ type ContentItem = {
3
3
  icon?: string | React.ReactNode;
4
4
  iconColor?: string;
5
5
  iconSize?: number;
6
- iconClassName?: string;
7
6
  title?: React.ReactNode;
8
- titleSize?: string;
9
- titleWeight?: number;
10
- titleColor?: string;
11
- titleClassName?: string;
12
7
  description?: React.ReactNode;
13
- descriptionSize?: string;
14
- descriptionWeight?: number;
15
- descriptionColor?: string;
16
- descriptionClassName?: string;
17
8
  imageUrl?: string;
18
9
  imageAlt?: string;
19
- imageClassName?: string;
20
- imageStyle?: React.CSSProperties;
21
- content?: React.ReactNode;
22
10
  className?: string;
23
11
  style?: React.CSSProperties;
24
- ctaText?: string;
25
- ctaUrl?: string;
26
- ctaOnClick?: () => void;
27
- ctaClassName?: string;
28
- customRender?: () => React.ReactNode;
12
+ customerName?: string;
13
+ company?: string;
14
+ avatar?: string;
15
+ role?: string;
16
+ project?: string;
17
+ rating?: number;
18
+ date?: string;
19
+ featured?: boolean;
20
+ content?: string;
29
21
  };
30
22
  interface CarouselOptions {
31
23
  isCarousel?: boolean;
@@ -33,85 +25,63 @@ interface CarouselOptions {
33
25
  gap?: number;
34
26
  carouselFuncss?: string;
35
27
  showDashes?: boolean;
36
- allowVerticalOverflow?: boolean;
37
- itemPadding?: string;
38
- controlerSize?: number;
39
- controlerIconSize?: number;
40
- infiniteScroll?: boolean;
41
- infiniteScrollSpeed?: number;
42
- infiniteScrollDirection?: 'left' | 'right' | 'alternate';
43
- carouselContainerClassName?: string;
44
- carouselContainerStyle?: React.CSSProperties;
45
28
  }
46
29
  type FeatureProps = {
47
30
  variant?: string;
48
31
  layout?: 'checklist' | 'centered' | 'grid';
49
32
  title?: React.ReactNode;
50
- titleSize?: string;
51
- titleWeight?: number;
33
+ titleSize?: 'base' | 'xs' | 'sm' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
52
34
  titleColor?: string;
53
- titleClassName?: string;
54
35
  titleAlign?: 'left' | 'center' | 'right';
55
36
  subtitle?: React.ReactNode;
56
- subtitleSize?: string;
57
- subtitleWeight?: number;
37
+ subtitleSize?: 'base' | 'xs' | 'sm' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
58
38
  subtitleColor?: string;
59
- subtitleClassName?: string;
60
39
  description?: React.ReactNode;
61
- descriptionSize?: string;
62
- descriptionWeight?: number;
40
+ descriptionSize?: 'base' | 'xs' | 'sm' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
63
41
  descriptionColor?: string;
64
- descriptionClassName?: string;
65
- features?: FeatureItem[] | string;
42
+ isTestimonial?: boolean;
43
+ items?: ContentItem[] | string;
44
+ bucket?: string;
45
+ bucketPage?: number;
46
+ bucketSize?: number;
66
47
  gap?: number;
67
48
  itemMaxWidth?: string;
68
- align?: 'start' | 'center' | 'end' | 'stretch';
49
+ align?: 'start' | 'center' | 'end';
69
50
  justify?: 'start' | 'center' | 'end' | 'between' | 'around';
70
51
  wrap?: boolean;
71
52
  card?: boolean;
72
53
  cardPadding?: string;
73
54
  cardRounded?: string;
74
55
  cardShadow?: 'sm' | 'md' | 'lg' | 'xl' | 'none';
75
- cardBorder?: boolean;
76
- cardBorderColor?: string;
77
- cardHoverEffect?: 'lift' | 'glow' | 'scale' | 'none';
78
56
  cardClassName?: string;
79
- padding?: string;
80
- className?: string;
81
- style?: React.CSSProperties;
82
- containerClassName?: string;
83
- containerStyle?: React.CSSProperties;
84
57
  iconColor?: string;
85
58
  iconSize?: number;
86
- iconClassName?: string;
87
- itemTitleSize?: string;
88
- itemTitleWeight?: number;
89
- itemTitleColor?: string;
90
- itemDescriptionSize?: string;
91
- itemDescriptionWeight?: number;
92
- itemDescriptionColor?: string;
93
- checkmarkIcon?: string;
94
- checkmarkColor?: string;
95
- checkmarkSize?: number;
96
- checkmarkClassName?: string;
59
+ itemTitleSize?: 'base' | 'xs' | 'sm' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
60
+ itemDescriptionSize?: 'base' | 'xs' | 'sm' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
61
+ showStars?: boolean;
62
+ ratingIcon?: string;
63
+ starColor?: string;
64
+ showQuote?: boolean;
65
+ quoteIcon?: string | React.ReactNode;
66
+ quoteColor?: string;
67
+ showDate?: boolean;
68
+ showCompany?: boolean;
69
+ showRole?: boolean;
70
+ showCTA?: boolean;
71
+ contentLimit?: number;
72
+ showExpand?: boolean;
73
+ expandText?: string;
74
+ collapseText?: string;
97
75
  ctaText?: string;
98
76
  ctaUrl?: string;
99
- ctaOnClick?: () => void;
100
- ctaClassName?: string;
101
- ctaAlign?: 'left' | 'center' | 'right';
102
- ctaStringPrefix?: string;
103
- ctaStringSuffix?: string;
104
- ctaStartIcon?: React.ReactNode;
105
- ctaEndIcon?: React.ReactNode;
106
- ctaIconSize?: number;
107
- ctaIsLoading?: boolean;
108
- ctaStatus?: 'success' | 'warning' | 'info' | 'error';
109
77
  ctaBg?: string;
110
- children?: React.ReactNode;
78
+ ctaAlign?: 'left' | 'center' | 'right';
79
+ padding?: string;
80
+ className?: string;
81
+ containerClassName?: string;
82
+ maxWidth?: string;
111
83
  id?: string;
112
84
  funcss?: string;
113
- sectionClass?: string;
114
- maxWidth?: string;
115
85
  } & CarouselOptions;
116
86
  declare const Feature: React.FC<FeatureProps>;
117
87
  export default Feature;