@app-studio/web 0.8.90 → 0.8.91
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/CookieConsent/CookieConsent/CookieConsent.props.d.ts +57 -0
- package/dist/components/CookieConsent/CookieConsent/CookieConsent.state.d.ts +13 -0
- package/dist/components/CookieConsent/CookieConsent/CookieConsent.style.d.ts +68 -0
- package/dist/components/CookieConsent/CookieConsent/CookieConsent.type.d.ts +13 -0
- package/dist/components/CookieConsent/CookieConsent/CookieConsent.view.d.ts +8 -0
- package/dist/components/CookieConsent/CookieConsent.d.ts +3 -0
- package/dist/components/CookieConsent/examples/custom.d.ts +5 -0
- package/dist/components/CookieConsent/examples/default.d.ts +5 -0
- package/dist/components/CookieConsent/examples/index.d.ts +4 -0
- package/dist/components/CookieConsent/examples/positions.d.ts +5 -0
- package/dist/components/CookieConsent/examples/variants.d.ts +5 -0
- package/dist/components/Icon/Icon.d.ts +4 -1
- package/dist/components/Title/Title/Title.props.d.ts +89 -0
- package/dist/components/Title/Title/Title.state.d.ts +124 -0
- package/dist/components/Title/Title/Title.style.d.ts +25 -0
- package/dist/components/Title/Title/Title.type.d.ts +25 -0
- package/dist/components/Title/Title/Title.view.d.ts +9 -0
- package/dist/components/Title/Title/useInView.d.ts +9 -0
- package/dist/components/Title/Title.d.ts +3 -0
- package/dist/components/Title/examples/alternating.d.ts +5 -0
- package/dist/components/Title/examples/animated.d.ts +5 -0
- package/dist/components/Title/examples/animationTest.d.ts +5 -0
- package/dist/components/Title/examples/custom.d.ts +5 -0
- package/dist/components/Title/examples/default.d.ts +5 -0
- package/dist/components/Title/examples/directAnimation.d.ts +5 -0
- package/dist/components/Title/examples/gradientTest.d.ts +5 -0
- package/dist/components/Title/examples/hero.d.ts +5 -0
- package/dist/components/Title/examples/highlightTest.d.ts +5 -0
- package/dist/components/Title/examples/highlighted.d.ts +5 -0
- package/dist/components/Title/examples/index.d.ts +10 -0
- package/dist/components/Title/examples/responsive.d.ts +5 -0
- package/dist/components/Title/index.d.ts +1 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/pages/cookieConsent.page.d.ts +6 -0
- package/dist/pages/title.page.d.ts +6 -0
- package/dist/web.cjs.development.js +956 -133
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +953 -135
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +957 -135
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
3
|
+
import { CookieConsentPosition, CookieConsentStyles, CookieConsentVariant } from './CookieConsent.type';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the CookieConsent component
|
|
6
|
+
*/
|
|
7
|
+
export interface CookieConsentProps extends Omit<ViewProps, 'position'> {
|
|
8
|
+
/**
|
|
9
|
+
* Title of the cookie consent banner
|
|
10
|
+
*/
|
|
11
|
+
title?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Description text explaining cookie usage
|
|
14
|
+
*/
|
|
15
|
+
description?: string | React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Text for the accept button
|
|
18
|
+
*/
|
|
19
|
+
acceptButtonText?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Text for the customize button
|
|
22
|
+
*/
|
|
23
|
+
customizeButtonText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Position of the banner on the screen
|
|
26
|
+
*/
|
|
27
|
+
position?: CookieConsentPosition;
|
|
28
|
+
/**
|
|
29
|
+
* Visual variant of the banner
|
|
30
|
+
*/
|
|
31
|
+
variant?: CookieConsentVariant;
|
|
32
|
+
/**
|
|
33
|
+
* Function called when user accepts cookies
|
|
34
|
+
*/
|
|
35
|
+
onAccept?: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* Function called when user wants to customize cookie preferences
|
|
38
|
+
*/
|
|
39
|
+
onCustomize?: () => void;
|
|
40
|
+
/**
|
|
41
|
+
* Custom styles for the component
|
|
42
|
+
*/
|
|
43
|
+
views?: CookieConsentStyles;
|
|
44
|
+
/**
|
|
45
|
+
* Whether to show the customize button
|
|
46
|
+
*/
|
|
47
|
+
showCustomizeButton?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Cookie expiration in days
|
|
50
|
+
*/
|
|
51
|
+
cookieExpiration?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Optional theme mode override ('light' or 'dark')
|
|
54
|
+
* If not provided, the component will use the theme mode from context
|
|
55
|
+
*/
|
|
56
|
+
themeMode?: 'light' | 'dark';
|
|
57
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Custom hook to manage cookie consent state
|
|
4
|
+
* @param cookieExpiration Number of days until the cookie expires
|
|
5
|
+
* @returns State and functions for managing cookie consent
|
|
6
|
+
*/
|
|
7
|
+
export declare const useCookieConsentState: (cookieExpiration?: number) => {
|
|
8
|
+
isHovered: boolean;
|
|
9
|
+
setIsHovered: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
10
|
+
hasConsent: boolean | null;
|
|
11
|
+
acceptCookies: () => void;
|
|
12
|
+
resetConsent: () => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get theme-based styles for the CookieConsent component
|
|
3
|
+
*/
|
|
4
|
+
export declare const getThemes: (themeMode: 'light' | 'dark') => {
|
|
5
|
+
default: {
|
|
6
|
+
container: {
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
boxShadow: string;
|
|
10
|
+
};
|
|
11
|
+
content: {
|
|
12
|
+
color: string;
|
|
13
|
+
};
|
|
14
|
+
acceptButton: {
|
|
15
|
+
backgroundColor: string;
|
|
16
|
+
color: string;
|
|
17
|
+
hoverBackgroundColor: string;
|
|
18
|
+
};
|
|
19
|
+
customizeButton: {
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
color: string;
|
|
22
|
+
borderColor: string;
|
|
23
|
+
hoverBackgroundColor: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
info: {
|
|
27
|
+
container: {
|
|
28
|
+
backgroundColor: string;
|
|
29
|
+
borderColor: string;
|
|
30
|
+
boxShadow: string;
|
|
31
|
+
};
|
|
32
|
+
content: {
|
|
33
|
+
color: string;
|
|
34
|
+
};
|
|
35
|
+
acceptButton: {
|
|
36
|
+
backgroundColor: string;
|
|
37
|
+
color: string;
|
|
38
|
+
hoverBackgroundColor: string;
|
|
39
|
+
};
|
|
40
|
+
customizeButton: {
|
|
41
|
+
backgroundColor: string;
|
|
42
|
+
color: string;
|
|
43
|
+
borderColor: string;
|
|
44
|
+
hoverBackgroundColor: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
primary: {
|
|
48
|
+
container: {
|
|
49
|
+
backgroundColor: string;
|
|
50
|
+
borderColor: string;
|
|
51
|
+
boxShadow: string;
|
|
52
|
+
};
|
|
53
|
+
content: {
|
|
54
|
+
color: string;
|
|
55
|
+
};
|
|
56
|
+
acceptButton: {
|
|
57
|
+
backgroundColor: string;
|
|
58
|
+
color: string;
|
|
59
|
+
hoverBackgroundColor: string;
|
|
60
|
+
};
|
|
61
|
+
customizeButton: {
|
|
62
|
+
backgroundColor: string;
|
|
63
|
+
color: string;
|
|
64
|
+
borderColor: string;
|
|
65
|
+
hoverBackgroundColor: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CookieConsent component types
|
|
3
|
+
*/
|
|
4
|
+
export declare type CookieConsentPosition = 'bottom' | 'top';
|
|
5
|
+
export declare type CookieConsentVariant = 'default' | 'info' | 'primary';
|
|
6
|
+
export declare type CookieConsentStyles = {
|
|
7
|
+
container?: any;
|
|
8
|
+
title?: any;
|
|
9
|
+
description?: any;
|
|
10
|
+
buttonGroup?: any;
|
|
11
|
+
acceptButton?: any;
|
|
12
|
+
customizeButton?: any;
|
|
13
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CookieConsentProps } from './CookieConsent.props';
|
|
3
|
+
/**
|
|
4
|
+
* CookieConsent View Component
|
|
5
|
+
*
|
|
6
|
+
* Renders a cookie consent banner with customizable styling, position, and content.
|
|
7
|
+
*/
|
|
8
|
+
export declare const CookieConsentView: React.FC<CookieConsentProps>;
|
|
@@ -6,7 +6,7 @@ export interface IconProps extends ViewProps {
|
|
|
6
6
|
orientation?: 'left' | 'right' | 'up' | 'down';
|
|
7
7
|
}
|
|
8
8
|
export declare const UserIcon: React.FC<IconProps>;
|
|
9
|
-
export declare const HelpIcon:
|
|
9
|
+
export declare const HelpIcon: React.FC<IconProps>;
|
|
10
10
|
export declare const ChevronIcon: React.FC<IconProps>;
|
|
11
11
|
export declare const DragHandleIcon: React.FC<IconProps>;
|
|
12
12
|
export declare const FileIcon: React.FC<IconProps>;
|
|
@@ -82,3 +82,6 @@ export declare const ShapeIcon: React.FC<IconProps>;
|
|
|
82
82
|
export declare const RotateIcon: React.FC<IconProps>;
|
|
83
83
|
export declare const DocumentIcon: React.FC<IconProps>;
|
|
84
84
|
export declare const ChartIcon: React.FC<IconProps>;
|
|
85
|
+
export declare const GiftIcon: React.FC<IconProps>;
|
|
86
|
+
export declare const ShieldIcon: React.FC<IconProps>;
|
|
87
|
+
export declare const CheckIcon: React.FC<IconProps>;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
3
|
+
import { HighlightStyle, TitleAnimation, AnimationDirection, TitleSize, TitleStyles } from './Title.type';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the Title component
|
|
6
|
+
*/
|
|
7
|
+
export interface TitleProps extends ViewProps {
|
|
8
|
+
/**
|
|
9
|
+
* Internal prop to indicate if the component is in view
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
_isInView?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The main text content of the title
|
|
15
|
+
*/
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Text to be highlighted within the title
|
|
19
|
+
* If not provided, no highlighting will be applied
|
|
20
|
+
*/
|
|
21
|
+
highlightText?: string | string[];
|
|
22
|
+
/**
|
|
23
|
+
* Array of strings to cycle through, replacing the text specified in highlightText
|
|
24
|
+
* Used with alternateAnimation to create an infinite loop of changing words
|
|
25
|
+
*/
|
|
26
|
+
alternateHighlightText?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Enable alternating animation that replaces the highlightText with words from alternateHighlightText
|
|
29
|
+
* When enabled, the component will replace the text specified in highlightText with each word
|
|
30
|
+
* from alternateHighlightText in sequence, creating an infinite loop animation
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
alternateAnimation?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Duration for each alternation cycle in milliseconds
|
|
36
|
+
* Controls how long each word from alternateHighlightText is displayed before switching to the next
|
|
37
|
+
* @default 3000
|
|
38
|
+
*/
|
|
39
|
+
alternateDuration?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Style of the highlight effect
|
|
42
|
+
* @default 'background'
|
|
43
|
+
*/
|
|
44
|
+
highlightStyle?: HighlightStyle;
|
|
45
|
+
/**
|
|
46
|
+
* Color for the highlight effect
|
|
47
|
+
* @default 'theme.primary'
|
|
48
|
+
*/
|
|
49
|
+
highlightColor?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Secondary color for gradient highlights
|
|
52
|
+
* @default 'theme.secondary'
|
|
53
|
+
*/
|
|
54
|
+
highlightSecondaryColor?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Animation type for the title
|
|
57
|
+
* @default 'none'
|
|
58
|
+
*/
|
|
59
|
+
animation?: TitleAnimation;
|
|
60
|
+
/**
|
|
61
|
+
* Direction for slide animations
|
|
62
|
+
* @default 'left'
|
|
63
|
+
*/
|
|
64
|
+
animationDirection?: AnimationDirection;
|
|
65
|
+
/**
|
|
66
|
+
* Duration of the animation in seconds
|
|
67
|
+
* @default '1s'
|
|
68
|
+
*/
|
|
69
|
+
animationDuration?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Delay before animation starts in seconds
|
|
72
|
+
* @default '0s'
|
|
73
|
+
*/
|
|
74
|
+
animationDelay?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Size of the title
|
|
77
|
+
* @default 'xl'
|
|
78
|
+
*/
|
|
79
|
+
size?: TitleSize;
|
|
80
|
+
/**
|
|
81
|
+
* Whether to center the title
|
|
82
|
+
* @default false
|
|
83
|
+
*/
|
|
84
|
+
centered?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Custom styles for different parts of the component
|
|
87
|
+
*/
|
|
88
|
+
views?: TitleStyles;
|
|
89
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TitleProps } from './Title.props';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for managing Title component state and animations
|
|
5
|
+
*/
|
|
6
|
+
export declare const useTitleState: (props: TitleProps) => {
|
|
7
|
+
displayText: string;
|
|
8
|
+
getAnimation: () => {
|
|
9
|
+
from: {
|
|
10
|
+
opacity: number;
|
|
11
|
+
transform?: undefined;
|
|
12
|
+
backgroundSize?: undefined;
|
|
13
|
+
clipPath?: undefined;
|
|
14
|
+
};
|
|
15
|
+
to: {
|
|
16
|
+
opacity: number;
|
|
17
|
+
transform?: undefined;
|
|
18
|
+
backgroundSize?: undefined;
|
|
19
|
+
clipPath?: undefined;
|
|
20
|
+
};
|
|
21
|
+
duration: string;
|
|
22
|
+
delay: string;
|
|
23
|
+
direction: string;
|
|
24
|
+
'20%'?: undefined;
|
|
25
|
+
'40%'?: undefined;
|
|
26
|
+
'60%'?: undefined;
|
|
27
|
+
'80%'?: undefined;
|
|
28
|
+
iterationCount?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
from: {
|
|
31
|
+
transform: string;
|
|
32
|
+
opacity?: undefined;
|
|
33
|
+
backgroundSize?: undefined;
|
|
34
|
+
clipPath?: undefined;
|
|
35
|
+
};
|
|
36
|
+
to: {
|
|
37
|
+
transform: string;
|
|
38
|
+
opacity?: undefined;
|
|
39
|
+
backgroundSize?: undefined;
|
|
40
|
+
clipPath?: undefined;
|
|
41
|
+
};
|
|
42
|
+
duration: string;
|
|
43
|
+
delay: string;
|
|
44
|
+
direction: string;
|
|
45
|
+
'20%'?: undefined;
|
|
46
|
+
'40%'?: undefined;
|
|
47
|
+
'60%'?: undefined;
|
|
48
|
+
'80%'?: undefined;
|
|
49
|
+
iterationCount?: undefined;
|
|
50
|
+
} | {
|
|
51
|
+
from: {
|
|
52
|
+
transform: string;
|
|
53
|
+
opacity?: undefined;
|
|
54
|
+
backgroundSize?: undefined;
|
|
55
|
+
clipPath?: undefined;
|
|
56
|
+
};
|
|
57
|
+
'20%': {
|
|
58
|
+
transform: string;
|
|
59
|
+
};
|
|
60
|
+
'40%': {
|
|
61
|
+
transform: string;
|
|
62
|
+
};
|
|
63
|
+
'60%': {
|
|
64
|
+
transform: string;
|
|
65
|
+
};
|
|
66
|
+
'80%': {
|
|
67
|
+
transform: string;
|
|
68
|
+
};
|
|
69
|
+
to: {
|
|
70
|
+
transform: string;
|
|
71
|
+
opacity?: undefined;
|
|
72
|
+
backgroundSize?: undefined;
|
|
73
|
+
clipPath?: undefined;
|
|
74
|
+
};
|
|
75
|
+
duration: string;
|
|
76
|
+
delay: string;
|
|
77
|
+
iterationCount: string;
|
|
78
|
+
direction?: undefined;
|
|
79
|
+
} | {
|
|
80
|
+
from: {
|
|
81
|
+
backgroundSize: string;
|
|
82
|
+
opacity?: undefined;
|
|
83
|
+
transform?: undefined;
|
|
84
|
+
clipPath?: undefined;
|
|
85
|
+
};
|
|
86
|
+
to: {
|
|
87
|
+
backgroundSize: string;
|
|
88
|
+
opacity?: undefined;
|
|
89
|
+
transform?: undefined;
|
|
90
|
+
clipPath?: undefined;
|
|
91
|
+
};
|
|
92
|
+
duration: string;
|
|
93
|
+
delay: string;
|
|
94
|
+
direction?: undefined;
|
|
95
|
+
'20%'?: undefined;
|
|
96
|
+
'40%'?: undefined;
|
|
97
|
+
'60%'?: undefined;
|
|
98
|
+
'80%'?: undefined;
|
|
99
|
+
iterationCount?: undefined;
|
|
100
|
+
} | {
|
|
101
|
+
from: {
|
|
102
|
+
clipPath: string;
|
|
103
|
+
opacity?: undefined;
|
|
104
|
+
transform?: undefined;
|
|
105
|
+
backgroundSize?: undefined;
|
|
106
|
+
};
|
|
107
|
+
to: {
|
|
108
|
+
clipPath: string;
|
|
109
|
+
opacity?: undefined;
|
|
110
|
+
transform?: undefined;
|
|
111
|
+
backgroundSize?: undefined;
|
|
112
|
+
};
|
|
113
|
+
duration: string;
|
|
114
|
+
delay: string;
|
|
115
|
+
direction?: undefined;
|
|
116
|
+
'20%'?: undefined;
|
|
117
|
+
'40%'?: undefined;
|
|
118
|
+
'60%'?: undefined;
|
|
119
|
+
'80%'?: undefined;
|
|
120
|
+
iterationCount?: undefined;
|
|
121
|
+
} | undefined;
|
|
122
|
+
currentHighlightText: string | string[] | undefined;
|
|
123
|
+
alternatingContent: import("react").ReactNode;
|
|
124
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { TitleSize, HighlightStyle } from './Title.type';
|
|
3
|
+
/**
|
|
4
|
+
* Font sizes for different title sizes
|
|
5
|
+
*/
|
|
6
|
+
export declare const TitleSizes: {
|
|
7
|
+
xs: number;
|
|
8
|
+
sm: number;
|
|
9
|
+
md: number;
|
|
10
|
+
lg: number;
|
|
11
|
+
xl: number;
|
|
12
|
+
'2xl': number;
|
|
13
|
+
'3xl': number;
|
|
14
|
+
'4xl': number;
|
|
15
|
+
'5xl': number;
|
|
16
|
+
'6xl': number;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Line heights for different title sizes
|
|
20
|
+
*/
|
|
21
|
+
export declare const LineHeights: Record<TitleSize, number>;
|
|
22
|
+
/**
|
|
23
|
+
* Default styles for different highlight types
|
|
24
|
+
*/
|
|
25
|
+
export declare const HighlightStyles: Record<HighlightStyle, (color: string, secondaryColor?: string) => ViewProps>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
/**
|
|
3
|
+
* Highlight style options for the Title component
|
|
4
|
+
*/
|
|
5
|
+
export declare type HighlightStyle = 'underline' | 'background' | 'gradient' | 'outline' | 'glow';
|
|
6
|
+
/**
|
|
7
|
+
* Animation type for the Title component
|
|
8
|
+
*/
|
|
9
|
+
export declare type TitleAnimation = 'fadeIn' | 'slideIn' | 'typewriter' | 'highlight' | 'reveal' | 'bounce' | 'alternate' | 'none';
|
|
10
|
+
/**
|
|
11
|
+
* Animation direction for slide animations
|
|
12
|
+
*/
|
|
13
|
+
export declare type AnimationDirection = 'left' | 'right' | 'top' | 'bottom';
|
|
14
|
+
/**
|
|
15
|
+
* Title size options
|
|
16
|
+
*/
|
|
17
|
+
export declare type TitleSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
18
|
+
/**
|
|
19
|
+
* Title styles for customization
|
|
20
|
+
*/
|
|
21
|
+
export declare type TitleStyles = {
|
|
22
|
+
container?: ViewProps;
|
|
23
|
+
text?: ViewProps;
|
|
24
|
+
highlight?: ViewProps;
|
|
25
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TitleProps } from './Title.props';
|
|
3
|
+
/**
|
|
4
|
+
* Title View Component
|
|
5
|
+
*
|
|
6
|
+
* Renders a title with optional highlighting and animations for hero sections.
|
|
7
|
+
*/
|
|
8
|
+
declare const TitleView: React.FC<TitleProps>;
|
|
9
|
+
export default TitleView;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* Custom hook to detect when an element is in the viewport
|
|
4
|
+
* @returns An object with a ref to attach to the element and a boolean indicating if the element is in view
|
|
5
|
+
*/
|
|
6
|
+
export declare const useInView: () => {
|
|
7
|
+
ref: import("react").MutableRefObject<HTMLElement | null>;
|
|
8
|
+
isInView: boolean;
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './default';
|
|
2
|
+
export * from './highlighted';
|
|
3
|
+
export * from './animated';
|
|
4
|
+
export * from './hero';
|
|
5
|
+
export * from './responsive';
|
|
6
|
+
export * from './custom';
|
|
7
|
+
export * from './directAnimation';
|
|
8
|
+
export * from './gradientTest';
|
|
9
|
+
export * from './highlightTest';
|
|
10
|
+
export * from './alternating';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Title';
|
|
@@ -7,6 +7,7 @@ export * from './Button/Button';
|
|
|
7
7
|
export * from './Card/Card';
|
|
8
8
|
export * from './Carousel/Carousel';
|
|
9
9
|
export * from './Chart/Chart';
|
|
10
|
+
export * from './CookieConsent/CookieConsent';
|
|
10
11
|
export * from './ContextMenu/ContextMenu';
|
|
11
12
|
export * from './File/File';
|
|
12
13
|
export * from './Form/Select/Select';
|
|
@@ -31,6 +32,7 @@ export * from './NavigationMenu/NavigationMenu';
|
|
|
31
32
|
export * from './Table/Table';
|
|
32
33
|
export * from './Tabs/Tabs';
|
|
33
34
|
export * from './Text/Text';
|
|
35
|
+
export * from './Title/Title';
|
|
34
36
|
export * from './Icon/Icon';
|
|
35
37
|
export * as Icon from './Icon/Icon';
|
|
36
38
|
export * from './Toggle/Toggle';
|
|
@@ -55,6 +57,7 @@ export * from './Button/Button/Button.props';
|
|
|
55
57
|
export * from './Card/Card/Card.props';
|
|
56
58
|
export * from './Carousel/Carousel/Carousel.props';
|
|
57
59
|
export * from './Chart/Chart/Chart.props';
|
|
60
|
+
export * from './CookieConsent/CookieConsent/CookieConsent.props';
|
|
58
61
|
export * from './ContextMenu/ContextMenu/ContextMenu.props';
|
|
59
62
|
export * from './Form/Select/Select/Select.props';
|
|
60
63
|
export * from './Form/Switch/Switch/Switch.props';
|
|
@@ -75,6 +78,7 @@ export * from './Uploader/Uploader/Uploader.props';
|
|
|
75
78
|
export * from './Table/Table/Table.props';
|
|
76
79
|
export * from './Tabs/Tabs/Tabs.props';
|
|
77
80
|
export * from './Text/Text/Text.props';
|
|
81
|
+
export * from './Title/Title/Title.props';
|
|
78
82
|
export * from './Toggle/Toggle/Toggle.props';
|
|
79
83
|
export * from './ToggleGroup/ToggleGroup/ToggleGroup.props';
|
|
80
84
|
export * from './HoverCard/HoverCard/HoverCard.props';
|