funuicss 2.7.16 โ 3.0.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/css/fun.css +6663 -6653
- package/index.d.ts +2 -0
- package/index.js +5 -1
- package/js/google/AnalyticsHandler.d.ts +10 -0
- package/js/google/AnalyticsHandler.js +20 -0
- package/js/google/analytics.d.ts +6 -0
- package/js/google/analytics.js +53 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/ui/flex/Flex.d.ts +3 -3
- package/ui/flex/Flex.js +2 -2
- package/ui/notification/Notification.d.ts +7 -3
- package/ui/notification/Notification.js +18 -14
- package/ui/scrolltotop/ScrollToTop.d.ts +3 -0
- package/ui/scrolltotop/ScrollToTop.js +61 -0
- package/ui/view/View.d.ts +27 -38
- package/ui/view/View.js +10 -38
- package/ui/vista/Vista.d.ts +6 -1
- package/ui/vista/Vista.js +33 -4
- package/assets/colors/colors.d.ts +0 -347
- package/assets/colors/colors.js +0 -348
- package/assets/colors/colors.tsx +0 -697
- package/hooks/useHls.tsx +0 -69
- package/index.tsx +0 -58
- package/js/Cookie.tsx +0 -91
- package/js/Fun.jsx +0 -225
- package/js/Fun.tsx +0 -239
- package/tsconfig.json +0 -20
- package/types/react-easy-export.d.ts +0 -4
- package/ui/ScrollInView/ScrollInView.tsx +0 -69
- package/ui/accordion/Accordion.tsx +0 -125
- package/ui/alert/Alert.tsx +0 -106
- package/ui/aos/AOS.tsx +0 -24
- package/ui/appbar/AppBar.tsx +0 -115
- package/ui/appbar/Hamburger.tsx +0 -30
- package/ui/avatar/Avatar.tsx +0 -52
- package/ui/blob/Blob.tsx +0 -34
- package/ui/breadcrumb/BreadCrumb.tsx +0 -48
- package/ui/button/Button.tsx +0 -153
- package/ui/calendar/ActivityCard.tsx +0 -27
- package/ui/calendar/Calendar.tsx +0 -343
- package/ui/card/Card.tsx +0 -117
- package/ui/card/CardBody.tsx +0 -14
- package/ui/card/CardFab.tsx +0 -16
- package/ui/card/CardFooter.tsx +0 -14
- package/ui/card/CardHeader.tsx +0 -14
- package/ui/carousel/Carousel.tsx +0 -148
- package/ui/chart/Bar.tsx +0 -121
- package/ui/chart/Line.tsx +0 -186
- package/ui/chart/Pie.tsx +0 -127
- package/ui/container/Container.tsx +0 -38
- package/ui/datepicker/DatePicker.tsx +0 -148
- package/ui/div/Div.tsx +0 -61
- package/ui/drop/Action.tsx +0 -16
- package/ui/drop/Down.tsx +0 -18
- package/ui/drop/Dropdown.tsx +0 -117
- package/ui/drop/Item.tsx +0 -15
- package/ui/drop/Menu.tsx +0 -40
- package/ui/drop/Up.tsx +0 -18
- package/ui/flex/Flex.tsx +0 -97
- package/ui/flex/FlexItem.tsx +0 -64
- package/ui/grid/Col.tsx +0 -43
- package/ui/grid/Grid.tsx +0 -37
- package/ui/input/Iconic.tsx +0 -43
- package/ui/input/Input.tsx +0 -409
- package/ui/list/Item.tsx +0 -18
- package/ui/list/List.tsx +0 -45
- package/ui/loader/Loader.tsx +0 -47
- package/ui/modal/Action.tsx +0 -14
- package/ui/modal/Close.tsx +0 -14
- package/ui/modal/Content.tsx +0 -15
- package/ui/modal/Header.tsx +0 -19
- package/ui/modal/Modal.tsx +0 -140
- package/ui/notification/Content.tsx +0 -14
- package/ui/notification/Footer.tsx +0 -14
- package/ui/notification/Header.tsx +0 -14
- package/ui/notification/Notification.tsx +0 -62
- package/ui/page/NotFound.tsx +0 -67
- package/ui/page/UnAuthorized.tsx +0 -64
- package/ui/progress/Bar.tsx +0 -114
- package/ui/richtext/RichText.tsx +0 -156
- package/ui/sidebar/SideBar.tsx +0 -202
- package/ui/sidebar/SideContent.tsx +0 -16
- package/ui/slider/Slider.tsx +0 -75
- package/ui/snackbar/SnackBar.tsx +0 -56
- package/ui/specials/Circle.tsx +0 -49
- package/ui/specials/CircleGroup.tsx +0 -49
- package/ui/specials/FullCenteredPage.tsx +0 -25
- package/ui/specials/Hr.tsx +0 -16
- package/ui/specials/RowFlex.tsx +0 -56
- package/ui/specials/Section.tsx +0 -18
- package/ui/step/Container.tsx +0 -27
- package/ui/step/Header.tsx +0 -16
- package/ui/step/Line.tsx +0 -17
- package/ui/step/Step.tsx +0 -17
- package/ui/table/Body.tsx +0 -10
- package/ui/table/Data.tsx +0 -15
- package/ui/table/Head.tsx +0 -10
- package/ui/table/Row.tsx +0 -16
- package/ui/table/Table.tsx +0 -372
- package/ui/text/Text.tsx +0 -179
- package/ui/theme/dark.tsx +0 -45
- package/ui/theme/darkenUtils.ts +0 -15
- package/ui/theme/theme.tsx +0 -48
- package/ui/theme/themes.ts +0 -154
- package/ui/tooltip/Tip.tsx +0 -34
- package/ui/tooltip/ToolTip.tsx +0 -20
- package/ui/video/Video.tsx +0 -348
- package/ui/video/videoFunctions.tsx +0 -19
- package/ui/video/videoShortcuts.ts +0 -13
- package/ui/view/View.tsx +0 -157
- package/ui/vista/Vista.tsx +0 -165
- package/utils/Emojis.tsx +0 -59
- package/utils/Functions.tsx +0 -9
- package/utils/getCssVariable.tsx +0 -9
package/ui/view/View.tsx
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
type ViewProps = {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
content?: React.ReactNode;
|
|
7
|
-
funcss?: string;
|
|
8
|
-
customStyle?: React.CSSProperties;
|
|
9
|
-
|
|
10
|
-
// Dimensions
|
|
11
|
-
height?: string;
|
|
12
|
-
width?: string;
|
|
13
|
-
minHeight?: string;
|
|
14
|
-
maxHeight?: string;
|
|
15
|
-
minWidth?: string;
|
|
16
|
-
maxWidth?: string;
|
|
17
|
-
|
|
18
|
-
// Spacing
|
|
19
|
-
padding?: string;
|
|
20
|
-
margin?: string;
|
|
21
|
-
gap?: string;
|
|
22
|
-
|
|
23
|
-
// Layout & Display
|
|
24
|
-
fit?: boolean;
|
|
25
|
-
display?: React.CSSProperties['display'];
|
|
26
|
-
flexDirection?: React.CSSProperties['flexDirection'];
|
|
27
|
-
justifyContent?: React.CSSProperties['justifyContent'];
|
|
28
|
-
alignItems?: React.CSSProperties['alignItems'];
|
|
29
|
-
|
|
30
|
-
// Styling
|
|
31
|
-
background?: string;
|
|
32
|
-
color?: string;
|
|
33
|
-
border?: string;
|
|
34
|
-
borderRadius?: string;
|
|
35
|
-
boxShadow?: string;
|
|
36
|
-
|
|
37
|
-
// Positioning
|
|
38
|
-
position?: React.CSSProperties['position'];
|
|
39
|
-
top?: string;
|
|
40
|
-
left?: string;
|
|
41
|
-
right?: string;
|
|
42
|
-
bottom?: string;
|
|
43
|
-
zIndex?: number;
|
|
44
|
-
overflow?: React.CSSProperties['overflow'];
|
|
45
|
-
|
|
46
|
-
// Accessibility & IDs
|
|
47
|
-
id?: string;
|
|
48
|
-
title?: string;
|
|
49
|
-
role?: string;
|
|
50
|
-
ariaLabel?: string;
|
|
51
|
-
|
|
52
|
-
// Events
|
|
53
|
-
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
54
|
-
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
|
|
55
|
-
onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
|
|
56
|
-
onFocus?: React.FocusEventHandler<HTMLDivElement>;
|
|
57
|
-
onBlur?: React.FocusEventHandler<HTMLDivElement>;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
const View = ({
|
|
61
|
-
children,
|
|
62
|
-
content,
|
|
63
|
-
funcss = '',
|
|
64
|
-
customStyle = {},
|
|
65
|
-
|
|
66
|
-
height,
|
|
67
|
-
width,
|
|
68
|
-
minHeight,
|
|
69
|
-
maxHeight,
|
|
70
|
-
minWidth,
|
|
71
|
-
maxWidth,
|
|
72
|
-
|
|
73
|
-
padding,
|
|
74
|
-
margin,
|
|
75
|
-
gap,
|
|
76
|
-
|
|
77
|
-
fit,
|
|
78
|
-
display,
|
|
79
|
-
flexDirection,
|
|
80
|
-
justifyContent,
|
|
81
|
-
alignItems,
|
|
82
|
-
|
|
83
|
-
background,
|
|
84
|
-
color,
|
|
85
|
-
border,
|
|
86
|
-
borderRadius,
|
|
87
|
-
boxShadow,
|
|
88
|
-
|
|
89
|
-
position,
|
|
90
|
-
top,
|
|
91
|
-
left,
|
|
92
|
-
right,
|
|
93
|
-
bottom,
|
|
94
|
-
zIndex,
|
|
95
|
-
overflow,
|
|
96
|
-
|
|
97
|
-
id,
|
|
98
|
-
title,
|
|
99
|
-
role,
|
|
100
|
-
ariaLabel,
|
|
101
|
-
|
|
102
|
-
onClick,
|
|
103
|
-
onMouseEnter,
|
|
104
|
-
onMouseLeave,
|
|
105
|
-
onFocus,
|
|
106
|
-
onBlur,
|
|
107
|
-
|
|
108
|
-
...rest
|
|
109
|
-
}: ViewProps) => {
|
|
110
|
-
return (
|
|
111
|
-
<div
|
|
112
|
-
id={id}
|
|
113
|
-
title={title}
|
|
114
|
-
role={role}
|
|
115
|
-
aria-label={ariaLabel}
|
|
116
|
-
className={`${fit ? 'width-100-p height-100-p' : ''} ${funcss}`}
|
|
117
|
-
style={{
|
|
118
|
-
display,
|
|
119
|
-
flexDirection,
|
|
120
|
-
justifyContent,
|
|
121
|
-
alignItems,
|
|
122
|
-
height,
|
|
123
|
-
width,
|
|
124
|
-
minHeight,
|
|
125
|
-
maxHeight,
|
|
126
|
-
minWidth,
|
|
127
|
-
maxWidth,
|
|
128
|
-
padding,
|
|
129
|
-
margin,
|
|
130
|
-
gap,
|
|
131
|
-
background,
|
|
132
|
-
color,
|
|
133
|
-
border,
|
|
134
|
-
borderRadius,
|
|
135
|
-
boxShadow,
|
|
136
|
-
position,
|
|
137
|
-
top,
|
|
138
|
-
left,
|
|
139
|
-
right,
|
|
140
|
-
bottom,
|
|
141
|
-
zIndex,
|
|
142
|
-
overflow,
|
|
143
|
-
...customStyle,
|
|
144
|
-
}}
|
|
145
|
-
onClick={onClick}
|
|
146
|
-
onMouseEnter={onMouseEnter}
|
|
147
|
-
onMouseLeave={onMouseLeave}
|
|
148
|
-
onFocus={onFocus}
|
|
149
|
-
onBlur={onBlur}
|
|
150
|
-
{...rest}
|
|
151
|
-
>
|
|
152
|
-
{content || children}
|
|
153
|
-
</div>
|
|
154
|
-
);
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
export default View;
|
package/ui/vista/Vista.tsx
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import ScrollInView from '../ScrollInView/ScrollInView';
|
|
4
|
-
import { getCssVariableValue } from '../../utils/getCssVariable';
|
|
5
|
-
|
|
6
|
-
type VistaProps = {
|
|
7
|
-
layout?: 'centered' | 'imageLeft' | 'imageRight' | 'stacked';
|
|
8
|
-
pattern?: 'grid' | 'dots' | 'diagonal' | 'checkerboard' | 'horizontal' | 'vertical';
|
|
9
|
-
patternOpacity?: number;
|
|
10
|
-
reverse?: boolean;
|
|
11
|
-
background?: string;
|
|
12
|
-
padding?: string;
|
|
13
|
-
textAlign?: 'left' | 'center' | 'right';
|
|
14
|
-
imgPosition?: 'top' | 'bottom';
|
|
15
|
-
funcss?: string;
|
|
16
|
-
blurry?: number;
|
|
17
|
-
opacity?: number;
|
|
18
|
-
|
|
19
|
-
heading?: React.ReactNode;
|
|
20
|
-
subheading?: React.ReactNode;
|
|
21
|
-
content?: React.ReactNode;
|
|
22
|
-
image?: React.ReactNode;
|
|
23
|
-
cta?: React.ReactNode;
|
|
24
|
-
|
|
25
|
-
sectionClass?: string;
|
|
26
|
-
containerClass?: string;
|
|
27
|
-
textWrapperClass?: string;
|
|
28
|
-
imageWrapperClass?: string;
|
|
29
|
-
children?: React.ReactNode;
|
|
30
|
-
|
|
31
|
-
// New Props for Gradient Blob
|
|
32
|
-
showGradient?: boolean;
|
|
33
|
-
gradientPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center';
|
|
34
|
-
gradientSize?: string; // e.g. '300px'
|
|
35
|
-
gradientColors?: string; // e.g. 'radial-gradient(circle, #ff6ec4, #7873f5)'
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
const Vista: React.FC<VistaProps> = ({
|
|
39
|
-
layout = 'imageRight',
|
|
40
|
-
reverse = false,
|
|
41
|
-
background = '',
|
|
42
|
-
padding = 'padding-lg',
|
|
43
|
-
textAlign = 'left',
|
|
44
|
-
imgPosition = 'top',
|
|
45
|
-
funcss = '',
|
|
46
|
-
pattern = '',
|
|
47
|
-
patternOpacity = pattern === 'grid' ? 0.15 : pattern === 'dots' ? 0.4 : pattern === 'diagonal' ? 0.2 : pattern === 'checkerboard' ? 0.2 : pattern === 'horizontal' ? 0.2 : pattern === 'vertical' ? 0.2 : 0.1,
|
|
48
|
-
|
|
49
|
-
heading,
|
|
50
|
-
subheading,
|
|
51
|
-
content,
|
|
52
|
-
image,
|
|
53
|
-
cta,
|
|
54
|
-
|
|
55
|
-
sectionClass = '',
|
|
56
|
-
containerClass = '',
|
|
57
|
-
textWrapperClass = '',
|
|
58
|
-
imageWrapperClass = '',
|
|
59
|
-
children,
|
|
60
|
-
|
|
61
|
-
// Gradient Props
|
|
62
|
-
showGradient = false,
|
|
63
|
-
gradientPosition = 'bottom-right',
|
|
64
|
-
gradientSize = '300px',
|
|
65
|
-
blurry = 100,
|
|
66
|
-
opacity = 0.4 ,
|
|
67
|
-
gradientColors,
|
|
68
|
-
}) => {
|
|
69
|
-
const layoutClass = [
|
|
70
|
-
layout,
|
|
71
|
-
reverse ? 'reverse' : '',
|
|
72
|
-
`text-${textAlign}`,
|
|
73
|
-
]
|
|
74
|
-
.filter(Boolean)
|
|
75
|
-
.join(' ');
|
|
76
|
-
|
|
77
|
-
const TextContent = (
|
|
78
|
-
<div className={`vista-text ${textWrapperClass}`}>
|
|
79
|
-
{heading}
|
|
80
|
-
{subheading}
|
|
81
|
-
{content}
|
|
82
|
-
{cta}
|
|
83
|
-
{children}
|
|
84
|
-
</div>
|
|
85
|
-
);
|
|
86
|
-
|
|
87
|
-
const ImageContent = image && (
|
|
88
|
-
<div className={`vista-image ${imageWrapperClass}`}>{image}</div>
|
|
89
|
-
);
|
|
90
|
-
|
|
91
|
-
const isCentered = layout === 'centered';
|
|
92
|
-
const isStacked = layout === 'stacked';
|
|
93
|
-
|
|
94
|
-
const positionStyles: Record<string, React.CSSProperties> = {
|
|
95
|
-
'top-left': { top: '-100px', left: '-100px' },
|
|
96
|
-
'top-right': { top: '-100px', right: '-100px' },
|
|
97
|
-
'bottom-left': { bottom: '-100px', left: '-100px' },
|
|
98
|
-
'bottom-right': { bottom: '-100px', right: '-100px' },
|
|
99
|
-
center: { top: '50%', left: '50%', transform: 'translate(-50%, -50%)' },
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
let primaryColor = getCssVariableValue('primary')
|
|
103
|
-
let secondaryColor = getCssVariableValue('secondary')
|
|
104
|
-
|
|
105
|
-
const gradientStyle: React.CSSProperties = {
|
|
106
|
-
position: 'absolute',
|
|
107
|
-
width: gradientSize,
|
|
108
|
-
height: gradientSize,
|
|
109
|
-
background: gradientColors || `radial-gradient(circle, ${primaryColor}, ${secondaryColor})`,
|
|
110
|
-
opacity: opacity,
|
|
111
|
-
filter: `blur(${blurry}px)`,
|
|
112
|
-
pointerEvents: 'none',
|
|
113
|
-
zIndex: 0,
|
|
114
|
-
...positionStyles[gradientPosition],
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
return (
|
|
118
|
-
<ScrollInView>
|
|
119
|
-
<div
|
|
120
|
-
className={`vista
|
|
121
|
-
${pattern === 'grid' ? 'grid-bg' :
|
|
122
|
-
pattern === 'dots' ? 'bg-pattern-dots' :
|
|
123
|
-
pattern === 'diagonal' ? 'bg-pattern-diagonal' :
|
|
124
|
-
pattern === 'checkerboard' ? 'bg-pattern-checkerboard' :
|
|
125
|
-
pattern === 'horizontal' ? 'bg-pattern-horizontal' :
|
|
126
|
-
pattern === 'vertical' ? 'bg-pattern-vertical' : ''}
|
|
127
|
-
${background} ${padding} ${layoutClass} ${sectionClass} ${funcss}`}
|
|
128
|
-
style={{ position: 'relative',
|
|
129
|
-
overflow: 'hidden' ,
|
|
130
|
-
backgroundImage: pattern === 'grid' ? `linear-gradient(to right, rgba(var(--borderRgb), ${patternOpacity}) 1px, transparent 1px),
|
|
131
|
-
linear-gradient(to bottom, rgba(var(--borderRgb), ${patternOpacity}) 1px, transparent 1px)` :
|
|
132
|
-
pattern === 'dots' ? `radial-gradient(rgba(var(--borderRgb), ${patternOpacity}) 1px, transparent 1px)` :
|
|
133
|
-
pattern === 'diagonal' ? `repeating-linear-gradient(45deg, rgba(var(--borderRgb), ${patternOpacity}), rgba(var(--borderRgb), ${patternOpacity}) 1px, transparent 1px, transparent 10px)` :
|
|
134
|
-
pattern === 'checkerboard' ? `linear-gradient(45deg, rgba(var(--borderRgb), ${patternOpacity}) 25%, transparent 25%), linear-gradient(-45deg, rgba(var(--borderRgb), ${patternOpacity}) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(var(--borderRgb), ${patternOpacity}) 75%), linear-gradient(-45deg, transparent 75%, rgba(var(--borderRgb), ${patternOpacity}) 75%)` :
|
|
135
|
-
pattern === 'horizontal' ? `linear-gradient(to bottom, rgba(var(--borderRgb), ${patternOpacity}) 1px, transparent 1px)` :
|
|
136
|
-
pattern === 'vertical' ? `linear-gradient(to right, rgba(var(--borderRgb), ${patternOpacity}) 1px, transparent 1px)` : ''
|
|
137
|
-
}}
|
|
138
|
-
>
|
|
139
|
-
{showGradient && <div style={gradientStyle} />}
|
|
140
|
-
<div className={`vista-container ${containerClass}`} style={{ position: 'relative', zIndex: 1 }}>
|
|
141
|
-
{isCentered || isStacked ? (
|
|
142
|
-
<>
|
|
143
|
-
{(imgPosition === 'top') && ImageContent}
|
|
144
|
-
{TextContent}
|
|
145
|
-
{(imgPosition === 'bottom') && ImageContent}
|
|
146
|
-
</>
|
|
147
|
-
) : reverse ? (
|
|
148
|
-
<>
|
|
149
|
-
{ImageContent}
|
|
150
|
-
{TextContent}
|
|
151
|
-
</>
|
|
152
|
-
) : (
|
|
153
|
-
<>
|
|
154
|
-
{(layout === 'imageLeft') && ImageContent}
|
|
155
|
-
{TextContent}
|
|
156
|
-
{(layout === 'imageRight') && ImageContent}
|
|
157
|
-
</>
|
|
158
|
-
)}
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
161
|
-
</ScrollInView>
|
|
162
|
-
);
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
export default Vista;
|
package/utils/Emojis.tsx
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export let EmojiSmiley = () => {
|
|
2
|
-
return [
|
|
3
|
-
'๐','๐','๐','๐','๐','๐
','๐คฃ','๐','๐','๐','๐','๐','๐','๐ฅฐ','๐','๐คฉ','๐','๐','โบ๏ธ','๐',
|
|
4
|
-
'๐','๐','๐','๐','๐คช','๐','๐ค','๐ค','๐คญ','๐คซ','๐ค','๐ค','๐ถ','๐','๐','๐','๐ฌ','๐คฅ','๐','๐',
|
|
5
|
-
'๐ช','๐คค','๐ด','๐ท','๐ค','๐ค','๐คข','๐คฎ','๐ฅต','๐ฅถ','๐ต','๐ฅด','๐','๐','๐','โน๏ธ','๐ฒ','๐ฏ','๐ณ',
|
|
6
|
-
'๐ฅบ','๐ฆ','๐ง','๐จ','๐ฐ','๐ฅ','๐ข','๐ญ','๐ฑ','๐','๐ฃ','๐','๐','๐ฉ','๐ซ','๐ฅฑ','๐ค','๐ก','๐ ',
|
|
7
|
-
'๐คฌ','๐','๐ฟ','๐','โ ๏ธ','๐คก','๐น','๐บ','๐ป','๐ฝ','๐พ','๐ค'
|
|
8
|
-
]
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
export let EmojiGesture = () => {
|
|
12
|
-
return [
|
|
13
|
-
'๐','๐ค','๐๏ธ','โ','๐','๐','๐ค','๐ค','โ๏ธ','๐ค','๐ซฐ','๐ซต','๐ซฑ','๐ซฒ','๐ค','๐ค','๐ค','๐','๐','๐',
|
|
14
|
-
'๐','๐','โ๏ธ','๐','๐','โ','๐','๐ค','๐ค','๐','๐','๐','๐คฒ','๐','๐ช','๐ฆพ','๐ฆฟ','๐ฆต','๐ฆถ'
|
|
15
|
-
]
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
export let EmojiSymbol = () => {
|
|
19
|
-
return [
|
|
20
|
-
'โค๏ธ','๐งก','๐','๐','๐','๐','๐ค','๐ค','๐ค','๐','โฃ๏ธ','๐','๐','๐','๐','๐','๐','๐','๐',
|
|
21
|
-
'๐ฏ','๐ข','๐ฅ','๐ซ','๐ฆ','๐จ','๐ณ๏ธ','๐ฃ','๐ฌ','๐๏ธโ๐จ๏ธ','๐จ๏ธ','๐ฏ๏ธ','๐ญ','๐','๐','๐','๐ต','๐ถ',
|
|
22
|
-
'๐ผ','๐ฅ','โญ','๐','โจ','โก','๐ก','๐','๐','๐','๐','๐'
|
|
23
|
-
]
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
export let EmojiTravel = () => {
|
|
27
|
-
return [
|
|
28
|
-
'๐','๐','โ๏ธ','๐ฉ๏ธ','๐','๐','๐','๐','๐','๐๏ธ','๐','๐','๐','๐','๐','๐','๐ป','๐','๐ด','๐ฒ',
|
|
29
|
-
'๐ต','๐๏ธ','๐บ','๐จ','๐','๐','๐','๐','๐ก','๐','๐ ','๐','๐','๐','๐','๐','๐
','๐','๐','๐',
|
|
30
|
-
'๐ซ','๐ฌ','๐ฐ๏ธ','๐บ','๐ถ','โต','๐ค','๐ณ๏ธ','โด๏ธ','๐ข'
|
|
31
|
-
]
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
export let EmojiPeople = () => {
|
|
35
|
-
return [
|
|
36
|
-
'๐ถ','๐ง','๐ฆ','๐ง','๐ง','๐ฑ','๐จ','๐ฉ','๐ง','๐ด','๐ต','๐','๐','๐
','๐','๐','๐','๐ง','๐','๐คฆ',
|
|
37
|
-
'๐คท','๐งโโ๏ธ','๐จโโ๏ธ','๐ฉโโ๏ธ','๐งโ๐','๐จโ๐','๐ฉโ๐','๐งโ๐ซ','๐จโ๐ซ','๐ฉโ๐ซ','๐งโโ๏ธ','๐จโโ๏ธ','๐ฉโโ๏ธ','๐งโ๐พ',
|
|
38
|
-
'๐จโ๐พ','๐ฉโ๐พ','๐งโ๐ณ','๐จโ๐ณ','๐ฉโ๐ณ','๐งโ๐ง','๐จโ๐ง','๐ฉโ๐ง','๐งโ๐ญ','๐จโ๐ญ','๐ฉโ๐ญ'
|
|
39
|
-
]
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
export let EmojiAminal = () => {
|
|
43
|
-
return [
|
|
44
|
-
'๐ถ','๐ฑ','๐ญ','๐น','๐ฐ','๐ฆ','๐ป','๐ผ','๐จ','๐ฏ','๐ฆ','๐ฎ','๐ท','๐ธ','๐ต','๐','๐','๐','๐','๐',
|
|
45
|
-
'๐ง','๐ฆ','๐ค','๐ฃ','๐ฅ','๐ฆ','๐ฆ
','๐ฆ','๐ฆ','๐บ','๐','๐ด','๐ฆ','๐','๐','๐ฆ','๐','๐','๐','๐ชฒ'
|
|
46
|
-
]
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
export let AllEmojis = {
|
|
53
|
-
'Animals':EmojiAminal(),
|
|
54
|
-
'People':EmojiPeople(),
|
|
55
|
-
'Travel':EmojiTravel(),
|
|
56
|
-
'Smiley':EmojiSmiley(),
|
|
57
|
-
'Gesture':EmojiGesture(),
|
|
58
|
-
'Symbols':EmojiSymbol(),
|
|
59
|
-
}
|
package/utils/Functions.tsx
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export function isTouchDevice(): boolean {
|
|
2
|
-
// Check for touch events
|
|
3
|
-
const hasTouchSupport = 'ontouchstart' in window || navigator.maxTouchPoints > 0;
|
|
4
|
-
|
|
5
|
-
// Check for typical mobile user agents
|
|
6
|
-
const isMobileAgent = /Mobi|Android|iPhone|iPad|iPod|Opera Mini|IEMobile/i.test(navigator.userAgent);
|
|
7
|
-
|
|
8
|
-
return hasTouchSupport && isMobileAgent;
|
|
9
|
-
}
|
package/utils/getCssVariable.tsx
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export function getCssVariableValue(name: string): string {
|
|
2
|
-
if (typeof window === 'undefined' || typeof getComputedStyle === 'undefined') {
|
|
3
|
-
return ''; // or throw an error / return a fallback
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
const variableName = name.startsWith('--') ? name : `--${name}`;
|
|
7
|
-
const rootStyles = getComputedStyle(document.documentElement);
|
|
8
|
-
return rootStyles.getPropertyValue(variableName).trim();
|
|
9
|
-
}
|