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.
Files changed (115) hide show
  1. package/css/fun.css +6663 -6653
  2. package/index.d.ts +2 -0
  3. package/index.js +5 -1
  4. package/js/google/AnalyticsHandler.d.ts +10 -0
  5. package/js/google/AnalyticsHandler.js +20 -0
  6. package/js/google/analytics.d.ts +6 -0
  7. package/js/google/analytics.js +53 -0
  8. package/package.json +1 -1
  9. package/tsconfig.tsbuildinfo +1 -1
  10. package/ui/flex/Flex.d.ts +3 -3
  11. package/ui/flex/Flex.js +2 -2
  12. package/ui/notification/Notification.d.ts +7 -3
  13. package/ui/notification/Notification.js +18 -14
  14. package/ui/scrolltotop/ScrollToTop.d.ts +3 -0
  15. package/ui/scrolltotop/ScrollToTop.js +61 -0
  16. package/ui/view/View.d.ts +27 -38
  17. package/ui/view/View.js +10 -38
  18. package/ui/vista/Vista.d.ts +6 -1
  19. package/ui/vista/Vista.js +33 -4
  20. package/assets/colors/colors.d.ts +0 -347
  21. package/assets/colors/colors.js +0 -348
  22. package/assets/colors/colors.tsx +0 -697
  23. package/hooks/useHls.tsx +0 -69
  24. package/index.tsx +0 -58
  25. package/js/Cookie.tsx +0 -91
  26. package/js/Fun.jsx +0 -225
  27. package/js/Fun.tsx +0 -239
  28. package/tsconfig.json +0 -20
  29. package/types/react-easy-export.d.ts +0 -4
  30. package/ui/ScrollInView/ScrollInView.tsx +0 -69
  31. package/ui/accordion/Accordion.tsx +0 -125
  32. package/ui/alert/Alert.tsx +0 -106
  33. package/ui/aos/AOS.tsx +0 -24
  34. package/ui/appbar/AppBar.tsx +0 -115
  35. package/ui/appbar/Hamburger.tsx +0 -30
  36. package/ui/avatar/Avatar.tsx +0 -52
  37. package/ui/blob/Blob.tsx +0 -34
  38. package/ui/breadcrumb/BreadCrumb.tsx +0 -48
  39. package/ui/button/Button.tsx +0 -153
  40. package/ui/calendar/ActivityCard.tsx +0 -27
  41. package/ui/calendar/Calendar.tsx +0 -343
  42. package/ui/card/Card.tsx +0 -117
  43. package/ui/card/CardBody.tsx +0 -14
  44. package/ui/card/CardFab.tsx +0 -16
  45. package/ui/card/CardFooter.tsx +0 -14
  46. package/ui/card/CardHeader.tsx +0 -14
  47. package/ui/carousel/Carousel.tsx +0 -148
  48. package/ui/chart/Bar.tsx +0 -121
  49. package/ui/chart/Line.tsx +0 -186
  50. package/ui/chart/Pie.tsx +0 -127
  51. package/ui/container/Container.tsx +0 -38
  52. package/ui/datepicker/DatePicker.tsx +0 -148
  53. package/ui/div/Div.tsx +0 -61
  54. package/ui/drop/Action.tsx +0 -16
  55. package/ui/drop/Down.tsx +0 -18
  56. package/ui/drop/Dropdown.tsx +0 -117
  57. package/ui/drop/Item.tsx +0 -15
  58. package/ui/drop/Menu.tsx +0 -40
  59. package/ui/drop/Up.tsx +0 -18
  60. package/ui/flex/Flex.tsx +0 -97
  61. package/ui/flex/FlexItem.tsx +0 -64
  62. package/ui/grid/Col.tsx +0 -43
  63. package/ui/grid/Grid.tsx +0 -37
  64. package/ui/input/Iconic.tsx +0 -43
  65. package/ui/input/Input.tsx +0 -409
  66. package/ui/list/Item.tsx +0 -18
  67. package/ui/list/List.tsx +0 -45
  68. package/ui/loader/Loader.tsx +0 -47
  69. package/ui/modal/Action.tsx +0 -14
  70. package/ui/modal/Close.tsx +0 -14
  71. package/ui/modal/Content.tsx +0 -15
  72. package/ui/modal/Header.tsx +0 -19
  73. package/ui/modal/Modal.tsx +0 -140
  74. package/ui/notification/Content.tsx +0 -14
  75. package/ui/notification/Footer.tsx +0 -14
  76. package/ui/notification/Header.tsx +0 -14
  77. package/ui/notification/Notification.tsx +0 -62
  78. package/ui/page/NotFound.tsx +0 -67
  79. package/ui/page/UnAuthorized.tsx +0 -64
  80. package/ui/progress/Bar.tsx +0 -114
  81. package/ui/richtext/RichText.tsx +0 -156
  82. package/ui/sidebar/SideBar.tsx +0 -202
  83. package/ui/sidebar/SideContent.tsx +0 -16
  84. package/ui/slider/Slider.tsx +0 -75
  85. package/ui/snackbar/SnackBar.tsx +0 -56
  86. package/ui/specials/Circle.tsx +0 -49
  87. package/ui/specials/CircleGroup.tsx +0 -49
  88. package/ui/specials/FullCenteredPage.tsx +0 -25
  89. package/ui/specials/Hr.tsx +0 -16
  90. package/ui/specials/RowFlex.tsx +0 -56
  91. package/ui/specials/Section.tsx +0 -18
  92. package/ui/step/Container.tsx +0 -27
  93. package/ui/step/Header.tsx +0 -16
  94. package/ui/step/Line.tsx +0 -17
  95. package/ui/step/Step.tsx +0 -17
  96. package/ui/table/Body.tsx +0 -10
  97. package/ui/table/Data.tsx +0 -15
  98. package/ui/table/Head.tsx +0 -10
  99. package/ui/table/Row.tsx +0 -16
  100. package/ui/table/Table.tsx +0 -372
  101. package/ui/text/Text.tsx +0 -179
  102. package/ui/theme/dark.tsx +0 -45
  103. package/ui/theme/darkenUtils.ts +0 -15
  104. package/ui/theme/theme.tsx +0 -48
  105. package/ui/theme/themes.ts +0 -154
  106. package/ui/tooltip/Tip.tsx +0 -34
  107. package/ui/tooltip/ToolTip.tsx +0 -20
  108. package/ui/video/Video.tsx +0 -348
  109. package/ui/video/videoFunctions.tsx +0 -19
  110. package/ui/video/videoShortcuts.ts +0 -13
  111. package/ui/view/View.tsx +0 -157
  112. package/ui/vista/Vista.tsx +0 -165
  113. package/utils/Emojis.tsx +0 -59
  114. package/utils/Functions.tsx +0 -9
  115. 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;
@@ -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
- }
@@ -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
- }
@@ -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
- }