funuicss 2.5.8 → 2.5.9
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/assets/colors/colors.d.ts +347 -0
- package/dist/assets/colors/colors.js +348 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.js +80 -0
- package/dist/js/Fun.d.ts +38 -0
- package/dist/js/Fun.js +235 -0
- package/dist/js/Theme.d.ts +2 -0
- package/dist/js/Theme.js +42 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/ui/alert/Alert.d.ts +24 -0
- package/dist/ui/alert/Alert.js +48 -0
- package/dist/ui/aos/AOS.d.ts +9 -0
- package/dist/ui/aos/AOS.js +30 -0
- package/dist/ui/appbar/AppBar.d.ts +17 -0
- package/dist/ui/appbar/AppBar.js +43 -0
- package/dist/ui/appbar/Hamburger.d.ts +7 -0
- package/dist/ui/appbar/Hamburger.js +20 -0
- package/dist/ui/avatar/Avatar.d.ts +10 -0
- package/dist/ui/avatar/Avatar.js +12 -0
- package/dist/ui/blob/Blob.d.ts +10 -0
- package/dist/ui/blob/Blob.js +16 -0
- package/dist/ui/breadcrumb/BreadCrumb.d.ts +7 -0
- package/dist/ui/breadcrumb/BreadCrumb.js +10 -0
- package/dist/ui/button/Button.d.ts +39 -0
- package/dist/ui/button/Button.js +66 -0
- package/dist/ui/card/Card.d.ts +32 -0
- package/dist/ui/card/Card.js +39 -0
- package/dist/ui/card/CardBody.d.ts +7 -0
- package/dist/ui/card/CardBody.js +30 -0
- package/dist/ui/card/CardFab.d.ts +8 -0
- package/dist/ui/card/CardFab.js +31 -0
- package/dist/ui/card/CardFooter.d.ts +7 -0
- package/dist/ui/card/CardFooter.js +30 -0
- package/dist/ui/card/CardHeader.d.ts +7 -0
- package/dist/ui/card/CardHeader.js +30 -0
- package/dist/ui/container/Container.d.ts +11 -0
- package/dist/ui/container/Container.js +31 -0
- package/dist/ui/div/Div.d.ts +19 -0
- package/dist/ui/div/Div.js +31 -0
- package/dist/ui/drop/Action.d.ts +7 -0
- package/dist/ui/drop/Action.js +8 -0
- package/dist/ui/drop/Down.d.ts +9 -0
- package/dist/ui/drop/Down.js +8 -0
- package/dist/ui/drop/Dropdown.d.ts +18 -0
- package/dist/ui/drop/Dropdown.js +31 -0
- package/dist/ui/drop/Item.d.ts +8 -0
- package/dist/ui/drop/Item.js +8 -0
- package/dist/ui/drop/Menu.d.ts +12 -0
- package/dist/ui/drop/Menu.js +11 -0
- package/dist/ui/drop/Up.d.ts +9 -0
- package/dist/ui/drop/Up.js +8 -0
- package/dist/ui/grid/Col.d.ts +14 -0
- package/dist/ui/grid/Col.js +40 -0
- package/dist/ui/grid/Grid.d.ts +12 -0
- package/dist/ui/grid/Grid.js +34 -0
- package/dist/ui/input/Iconic.d.ts +11 -0
- package/dist/ui/input/Iconic.js +15 -0
- package/dist/ui/input/Input.d.ts +35 -0
- package/dist/ui/input/Input.js +110 -0
- package/dist/ui/list/Item.d.ts +7 -0
- package/dist/ui/list/Item.js +30 -0
- package/dist/ui/list/List.d.ts +14 -0
- package/dist/ui/list/List.js +30 -0
- package/dist/ui/loader/Loader.d.ts +10 -0
- package/dist/ui/loader/Loader.js +37 -0
- package/dist/ui/modal/Action.d.ts +7 -0
- package/dist/ui/modal/Action.js +30 -0
- package/dist/ui/modal/Close.d.ts +6 -0
- package/dist/ui/modal/Close.js +31 -0
- package/dist/ui/modal/Content.d.ts +7 -0
- package/dist/ui/modal/Content.js +8 -0
- package/dist/ui/modal/Header.d.ts +9 -0
- package/dist/ui/modal/Header.js +30 -0
- package/dist/ui/modal/Modal.d.ts +32 -0
- package/dist/ui/modal/Modal.js +61 -0
- package/dist/ui/notification/Content.d.ts +7 -0
- package/dist/ui/notification/Content.js +8 -0
- package/dist/ui/notification/Footer.d.ts +7 -0
- package/dist/ui/notification/Footer.js +8 -0
- package/dist/ui/notification/Header.d.ts +7 -0
- package/dist/ui/notification/Header.js +8 -0
- package/dist/ui/notification/Notification.d.ts +15 -0
- package/dist/ui/notification/Notification.js +23 -0
- package/dist/ui/page/NotFound.d.ts +9 -0
- package/dist/ui/page/NotFound.js +23 -0
- package/dist/ui/page/UnAuthorized.d.ts +9 -0
- package/dist/ui/page/UnAuthorized.js +21 -0
- package/dist/ui/progress/Bar.d.ts +17 -0
- package/dist/ui/progress/Bar.js +87 -0
- package/dist/ui/sidebar/SideBar.d.ts +14 -0
- package/dist/ui/sidebar/SideBar.js +42 -0
- package/dist/ui/sidebar/SideContent.d.ts +6 -0
- package/dist/ui/sidebar/SideContent.js +8 -0
- package/dist/ui/snackbar/SnackBar.d.ts +16 -0
- package/dist/ui/snackbar/SnackBar.js +53 -0
- package/dist/ui/specials/Circle.d.ts +15 -0
- package/dist/ui/specials/Circle.js +34 -0
- package/dist/ui/specials/FullCenteredPage.d.ts +8 -0
- package/dist/ui/specials/FullCenteredPage.js +30 -0
- package/dist/ui/specials/Hr.d.ts +7 -0
- package/dist/ui/specials/Hr.js +8 -0
- package/dist/ui/specials/RowFlex.d.ts +14 -0
- package/dist/ui/specials/RowFlex.js +34 -0
- package/dist/ui/specials/Section.d.ts +8 -0
- package/dist/ui/specials/Section.js +30 -0
- package/dist/ui/step/Container.d.ts +9 -0
- package/dist/ui/step/Container.js +8 -0
- package/dist/ui/step/Header.d.ts +7 -0
- package/dist/ui/step/Header.js +8 -0
- package/dist/ui/step/Line.d.ts +7 -0
- package/dist/ui/step/Line.js +9 -0
- package/dist/ui/step/Step.d.ts +7 -0
- package/dist/ui/step/Step.js +9 -0
- package/dist/ui/table/Body.d.ts +7 -0
- package/dist/ui/table/Body.js +8 -0
- package/dist/ui/table/Data.d.ts +8 -0
- package/dist/ui/table/Data.js +8 -0
- package/dist/ui/table/Head.d.ts +7 -0
- package/dist/ui/table/Head.js +8 -0
- package/dist/ui/table/Row.d.ts +9 -0
- package/dist/ui/table/Row.js +8 -0
- package/dist/ui/table/Table.d.ts +33 -0
- package/dist/ui/table/Table.js +133 -0
- package/dist/ui/text/Text.d.ts +44 -0
- package/dist/ui/text/Text.js +63 -0
- package/dist/ui/theme/dark.d.ts +5 -0
- package/dist/ui/theme/dark.js +34 -0
- package/dist/ui/theme/theme.d.ts +7 -0
- package/dist/ui/theme/theme.js +34 -0
- package/dist/ui/tooltip/Tip.d.ts +12 -0
- package/dist/ui/tooltip/Tip.js +31 -0
- package/dist/ui/tooltip/ToolTip.d.ts +7 -0
- package/dist/ui/tooltip/ToolTip.js +30 -0
- package/dist/ui/video/FunPlayer.d.ts +0 -0
- package/dist/ui/video/FunPlayer.js +203 -0
- package/dist/webpack.config.d.ts +23 -0
- package/package.json +13 -12
- package/tsconfig.json +12 -10
- package/tsconfig.tsbuildinfo +1 -1
- package/types/next-env.d.ts +3 -0
- package/types/react-easy-export.d.ts +4 -0
- package/ui/alert/Alert.js +18 -8
- package/ui/alert/Alert.tsx +1 -1
- package/ui/aos/AOS.js +18 -8
- package/ui/appbar/AppBar.js +23 -19
- package/ui/appbar/AppBar.tsx +5 -12
- package/ui/appbar/Hamburger.js +17 -7
- package/ui/avatar/Avatar.js +19 -8
- package/ui/avatar/Avatar.tsx +1 -0
- package/ui/blob/Blob.js +17 -7
- package/ui/breadcrumb/BreadCrumb.js +19 -8
- package/ui/breadcrumb/BreadCrumb.tsx +1 -0
- package/ui/button/Button.js +19 -8
- package/ui/button/Button.tsx +5 -6
- package/ui/card/Card.js +2 -1
- package/ui/card/Card.tsx +1 -0
- package/ui/card/CardBody.js +1 -1
- package/ui/card/CardFab.js +1 -1
- package/ui/card/CardFooter.js +1 -1
- package/ui/card/CardHeader.js +1 -1
- package/ui/container/Container.js +17 -7
- package/ui/container/Container.tsx +1 -1
- package/ui/div/Div.js +18 -7
- package/ui/div/Div.tsx +1 -0
- package/ui/drop/Action.js +17 -7
- package/ui/drop/Down.js +17 -7
- package/ui/drop/Dropdown.js +17 -7
- package/ui/drop/Dropdown.tsx +1 -2
- package/ui/drop/Item.js +18 -8
- package/ui/drop/Menu.js +18 -8
- package/ui/drop/Up.js +17 -7
- package/ui/grid/Col.js +18 -8
- package/ui/grid/Grid.js +18 -8
- package/ui/input/Iconic.js +1 -1
- package/ui/input/Input.js +17 -7
- package/ui/list/Item.js +18 -8
- package/ui/list/List.js +18 -8
- package/ui/loader/Loader.js +18 -8
- package/ui/modal/Action.js +18 -8
- package/ui/modal/Close.js +18 -8
- package/ui/modal/Content.js +18 -8
- package/ui/modal/Header.js +18 -8
- package/ui/modal/Modal.js +18 -8
- package/ui/notification/Content.js +18 -8
- package/ui/notification/Footer.js +18 -8
- package/ui/notification/Header.js +18 -8
- package/ui/notification/Notification.js +19 -8
- package/ui/notification/Notification.tsx +1 -0
- package/ui/page/NotFound.js +18 -8
- package/ui/page/UnAuthorized.js +18 -8
- package/ui/progress/Bar.js +19 -8
- package/ui/progress/Bar.tsx +1 -0
- package/ui/sidebar/SideBar.js +18 -8
- package/ui/sidebar/SideContent.js +1 -1
- package/ui/snackbar/SnackBar.js +17 -7
- package/ui/specials/Circle.js +18 -8
- package/ui/specials/FullCenteredPage.js +17 -7
- package/ui/specials/Hr.js +17 -7
- package/ui/specials/RowFlex.js +18 -8
- package/ui/specials/Section.js +17 -7
- package/ui/step/Line.js +1 -0
- package/ui/step/Line.tsx +1 -0
- package/ui/step/Step.js +1 -0
- package/ui/step/Step.tsx +1 -0
- package/ui/table/Body.js +18 -8
- package/ui/table/Data.js +18 -8
- package/ui/table/Head.js +18 -8
- package/ui/table/Row.js +18 -8
- package/ui/table/Table.js +21 -9
- package/ui/table/Table.tsx +4 -1
- package/ui/theme/dark.js +1 -1
- package/ui/theme/theme.js +17 -7
- package/ui/tooltip/Tip.js +18 -8
- package/ui/tooltip/ToolTip.js +18 -8
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import React, { useState, useRef, useEffect } from 'react';
|
|
3
|
+
// import { PiCornersOut, PiDownload, PiFastForward, PiFileAudio, PiPause, PiPlay, PiRewind, PiSpeakerHifi, PiSpeakerLow } from 'react-icons/pi';
|
|
4
|
+
// import ToolTip from "../tooltip/ToolTip"
|
|
5
|
+
// import RowFlex from '../specials/RowFlex';
|
|
6
|
+
// import Button from '../button/Button'
|
|
7
|
+
// import Text from '../text/Text'
|
|
8
|
+
// import Tip from '../tooltip/Tip'
|
|
9
|
+
// interface VideoProps {
|
|
10
|
+
// src: string;
|
|
11
|
+
// autoPlay: boolean;
|
|
12
|
+
// onDuration?: (duration: number) => void;
|
|
13
|
+
// }
|
|
14
|
+
// export default function Video({ src, autoPlay, onDuration }: VideoProps) {
|
|
15
|
+
// const videoRef = useRef<HTMLVideoElement>(null);
|
|
16
|
+
// const [isPlaying, setIsPlaying] = useState<boolean>(autoPlay);
|
|
17
|
+
// const [currentTime, setCurrentTime] = useState<number>(0);
|
|
18
|
+
// const [duration, setDuration] = useState<number>(0);
|
|
19
|
+
// const [volume, setVolume] = useState<number>(1);
|
|
20
|
+
// const [isFullScreen, setIsFullScreen] = useState<boolean>(false);
|
|
21
|
+
// const [showVolume, setShowVolume] = useState<boolean>(false);
|
|
22
|
+
// useEffect(() => {
|
|
23
|
+
// if (!videoRef.current) return;
|
|
24
|
+
// const handleTimeUpdate = () => {
|
|
25
|
+
// setCurrentTime(videoRef.current.currentTime);
|
|
26
|
+
// };
|
|
27
|
+
// const handleDurationChange = () => {
|
|
28
|
+
// const newDuration = videoRef.current.duration;
|
|
29
|
+
// setDuration(newDuration);
|
|
30
|
+
// onDuration && onDuration(newDuration);
|
|
31
|
+
// };
|
|
32
|
+
// videoRef.current.addEventListener('timeupdate', handleTimeUpdate);
|
|
33
|
+
// videoRef.current.addEventListener('durationchange', handleDurationChange);
|
|
34
|
+
// return () => {
|
|
35
|
+
// videoRef.current?.removeEventListener('timeupdate', handleTimeUpdate);
|
|
36
|
+
// videoRef.current?.removeEventListener('durationchange', handleDurationChange);
|
|
37
|
+
// };
|
|
38
|
+
// }, [onDuration]);
|
|
39
|
+
// const formatTime = (time: number) => {
|
|
40
|
+
// const minutes = Math.floor(time / 60);
|
|
41
|
+
// const seconds = Math.floor(time % 60);
|
|
42
|
+
// return `${String(minutes).padStart(2, '0')}:${String(seconds).padStart(2, '0')}`;
|
|
43
|
+
// };
|
|
44
|
+
// const handlePlay = () => {
|
|
45
|
+
// videoRef.current?.play();
|
|
46
|
+
// setIsPlaying(true);
|
|
47
|
+
// };
|
|
48
|
+
// const handlePause = () => {
|
|
49
|
+
// videoRef.current?.pause();
|
|
50
|
+
// setIsPlaying(false);
|
|
51
|
+
// };
|
|
52
|
+
// const handleStop = () => {
|
|
53
|
+
// videoRef.current?.pause();
|
|
54
|
+
// videoRef.current.currentTime = 0;
|
|
55
|
+
// setIsPlaying(false);
|
|
56
|
+
// };
|
|
57
|
+
// const handleRewind = () => {
|
|
58
|
+
// if (videoRef.current) videoRef.current.currentTime -= 10; // Rewind 10 seconds
|
|
59
|
+
// };
|
|
60
|
+
// const handleForward = () => {
|
|
61
|
+
// if (videoRef.current) videoRef.current.currentTime += 10; // Forward 10 seconds
|
|
62
|
+
// };
|
|
63
|
+
// const handleToggleFullScreen = () => {
|
|
64
|
+
// if (videoRef.current) {
|
|
65
|
+
// if (videoRef.current.requestFullscreen) {
|
|
66
|
+
// videoRef.current.requestFullscreen();
|
|
67
|
+
// } else if (videoRef.current.mozRequestFullScreen) {
|
|
68
|
+
// videoRef.current.mozRequestFullScreen();
|
|
69
|
+
// } else if (videoRef.current.webkitRequestFullscreen) {
|
|
70
|
+
// videoRef.current.webkitRequestFullscreen();
|
|
71
|
+
// } else if (videoRef.current.msRequestFullscreen) {
|
|
72
|
+
// videoRef.current.msRequestFullscreen();
|
|
73
|
+
// }
|
|
74
|
+
// setIsFullScreen(true);
|
|
75
|
+
// }
|
|
76
|
+
// };
|
|
77
|
+
// // const handleExitFullScreen = () => {
|
|
78
|
+
// // if (document.exitFullscreen) {
|
|
79
|
+
// // document.exitFullscreen();
|
|
80
|
+
// // } else if (document.mozCancelFullScreen) {
|
|
81
|
+
// // document.mozCancelFullScreen();
|
|
82
|
+
// // } else if (document.webkitExitFullscreen) {
|
|
83
|
+
// // document.webkitExitFullscreen();
|
|
84
|
+
// // } else if (document.msExitFullscreen) {
|
|
85
|
+
// // document.msExitFullscreen();
|
|
86
|
+
// // }
|
|
87
|
+
// // setIsFullScreen(false);
|
|
88
|
+
// // };
|
|
89
|
+
// const handleProgressBarChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
|
90
|
+
// const newTime = parseFloat(e.target.value);
|
|
91
|
+
// setCurrentTime(newTime);
|
|
92
|
+
// if (videoRef.current) videoRef.current.currentTime = newTime;
|
|
93
|
+
// };
|
|
94
|
+
// const handleVolumeChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
|
95
|
+
// const newVolume = parseFloat(e.target.value);
|
|
96
|
+
// setVolume(newVolume);
|
|
97
|
+
// if (videoRef.current) videoRef.current.volume = newVolume;
|
|
98
|
+
// };
|
|
99
|
+
// const timePlayed = formatTime(currentTime);
|
|
100
|
+
// const timeLeft = formatTime(duration - currentTime);
|
|
101
|
+
// return (
|
|
102
|
+
// <div className="vide_container">
|
|
103
|
+
// <video
|
|
104
|
+
// ref={videoRef}
|
|
105
|
+
// autoPlay={autoPlay}
|
|
106
|
+
// src={src}
|
|
107
|
+
// className="fit"
|
|
108
|
+
// ></video>
|
|
109
|
+
// <div className="video_controls" onDoubleClick={isPlaying ? handlePause : handlePlay}>
|
|
110
|
+
// <RowFlex gap={0.3} funcss="padding-5">
|
|
111
|
+
// <div>
|
|
112
|
+
// <Text
|
|
113
|
+
// text={timePlayed}
|
|
114
|
+
// size="small"
|
|
115
|
+
// bold
|
|
116
|
+
// />
|
|
117
|
+
// </div>
|
|
118
|
+
// <div className="col width-100-p">
|
|
119
|
+
// <input
|
|
120
|
+
// type="range"
|
|
121
|
+
// min={0}
|
|
122
|
+
// max={duration}
|
|
123
|
+
// value={currentTime}
|
|
124
|
+
// className="width-100-p"
|
|
125
|
+
// style={{ height: "3px" }}
|
|
126
|
+
// onChange={handleProgressBarChange}
|
|
127
|
+
// />
|
|
128
|
+
// </div>
|
|
129
|
+
// <div>
|
|
130
|
+
// <Text
|
|
131
|
+
// text={timeLeft}
|
|
132
|
+
// size="small"
|
|
133
|
+
// bold
|
|
134
|
+
// />
|
|
135
|
+
// </div>
|
|
136
|
+
// </RowFlex>
|
|
137
|
+
// <div className="margin-top-5"></div>
|
|
138
|
+
// <RowFlex gap={1} justify="space-between">
|
|
139
|
+
// <div>
|
|
140
|
+
// <RowFlex gap={0.5}>
|
|
141
|
+
// <ToolTip>
|
|
142
|
+
// <div className="width-30 height-30 pointer padding-5" onClick={isPlaying ? handlePause : handlePlay}>
|
|
143
|
+
// {isPlaying ? <PiPause /> : <PiPlay />}
|
|
144
|
+
// </div>
|
|
145
|
+
// <Tip tip="top" animation="ScaleUp" duration={0.5} content={isPlaying ? "Pause" : "Play"} />
|
|
146
|
+
// </ToolTip>
|
|
147
|
+
// <ToolTip>
|
|
148
|
+
// <div className="width-30 height-30 pointer padding-5" onClick={handleRewind}>
|
|
149
|
+
// <PiRewind />
|
|
150
|
+
// </div>
|
|
151
|
+
// <Tip tip="top" animation="ScaleUp" duration={0.5} content={"10 sec Back"} />
|
|
152
|
+
// </ToolTip>
|
|
153
|
+
// <ToolTip>
|
|
154
|
+
// <div className="width-30 height-30 pointer padding-5" onClick={handleForward}>
|
|
155
|
+
// <PiFastForward />
|
|
156
|
+
// </div>
|
|
157
|
+
// <Tip tip="top" animation="ScaleUp" duration={0.5} content={"10 sec Forward"} />
|
|
158
|
+
// </ToolTip>
|
|
159
|
+
// <div onMouseEnter={() => setShowVolume(true)} onMouseLeave={() => setShowVolume(false)}>
|
|
160
|
+
// <RowFlex >
|
|
161
|
+
// <ToolTip>
|
|
162
|
+
// <div className="width-30 height-30 pointer padding-5">
|
|
163
|
+
// <PiSpeakerLow />
|
|
164
|
+
// </div>
|
|
165
|
+
// <Tip tip="top" animation="ScaleUp" duration={0.5} content={"Volume"} />
|
|
166
|
+
// </ToolTip>
|
|
167
|
+
// {showVolume &&
|
|
168
|
+
// <input
|
|
169
|
+
// type="range"
|
|
170
|
+
// min={0}
|
|
171
|
+
// max={1}
|
|
172
|
+
// step={0.01}
|
|
173
|
+
// value={volume}
|
|
174
|
+
// className="width-100"
|
|
175
|
+
// style={{ height: "3px" }}
|
|
176
|
+
// onChange={handleVolumeChange}
|
|
177
|
+
// />
|
|
178
|
+
// }
|
|
179
|
+
// </RowFlex>
|
|
180
|
+
// </div>
|
|
181
|
+
// </RowFlex>
|
|
182
|
+
// </div>
|
|
183
|
+
// <div>
|
|
184
|
+
// <RowFlex gap={0.3}>
|
|
185
|
+
// <ToolTip>
|
|
186
|
+
// <div className="width-30 height-30 pointer padding-5" onClick={handleToggleFullScreen}>
|
|
187
|
+
// <PiCornersOut />
|
|
188
|
+
// </div>
|
|
189
|
+
// <Tip tip="top" animation="ScaleUp" duration={0.5} content={"Expand"} />
|
|
190
|
+
// </ToolTip>
|
|
191
|
+
// <ToolTip>
|
|
192
|
+
// <div className="width-30 height-30 pointer padding-5" onClick={() => { window.open(src || "", '_blank'); }}>
|
|
193
|
+
// <PiDownload />
|
|
194
|
+
// </div>
|
|
195
|
+
// <Tip tip="top" animation="ScaleUp" duration={0.5} content={"Download"} />
|
|
196
|
+
// </ToolTip>
|
|
197
|
+
// </RowFlex>
|
|
198
|
+
// </div>
|
|
199
|
+
// </RowFlex>
|
|
200
|
+
// </div>
|
|
201
|
+
// </div>
|
|
202
|
+
// );
|
|
203
|
+
// }
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import TerserPlugin = require("terser-webpack-plugin");
|
|
2
|
+
export let mode: string;
|
|
3
|
+
export let devtool: string;
|
|
4
|
+
export let entry: string;
|
|
5
|
+
export namespace output {
|
|
6
|
+
let path: string;
|
|
7
|
+
let filename: string;
|
|
8
|
+
}
|
|
9
|
+
export namespace resolve {
|
|
10
|
+
let extensions: string[];
|
|
11
|
+
}
|
|
12
|
+
export namespace module {
|
|
13
|
+
let rules: {
|
|
14
|
+
test: RegExp;
|
|
15
|
+
use: string;
|
|
16
|
+
exclude: RegExp;
|
|
17
|
+
}[];
|
|
18
|
+
}
|
|
19
|
+
export namespace optimization {
|
|
20
|
+
let minimize: boolean;
|
|
21
|
+
let minimizer: TerserPlugin<import("terser").MinifyOptions>[];
|
|
22
|
+
}
|
|
23
|
+
export let plugins: any[];
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.5.
|
|
2
|
+
"version": "2.5.9",
|
|
3
3
|
"name": "funuicss",
|
|
4
4
|
"description": "React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting both seamless functionality and aesthetic appeal—all achieved with minimal lines of code. Unleash the power of simplicity and style in your projects!",
|
|
5
5
|
"main": "index.js",
|
|
@@ -42,27 +42,28 @@
|
|
|
42
42
|
},
|
|
43
43
|
"author": "FunInc",
|
|
44
44
|
"license": "MIT",
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"aos": "^2.3.4",
|
|
47
|
+
"next": "^13.4.4",
|
|
48
|
+
"react": "^18.2.0",
|
|
49
|
+
"react-dom": "^18.2.0",
|
|
50
|
+
"react-easy-export": "^1.0.1",
|
|
51
|
+
"react-icons": "^5.0.1"
|
|
52
|
+
},
|
|
45
53
|
"devDependencies": {
|
|
46
54
|
"@babel/core": "^7.22.11",
|
|
47
55
|
"@babel/preset-env": "^7.22.10",
|
|
48
56
|
"@babel/preset-react": "^7.22.5",
|
|
49
57
|
"@babel/preset-typescript": "^7.22.11",
|
|
50
|
-
"@types/react": "^
|
|
51
|
-
"@types/react-dom": "^
|
|
58
|
+
"@types/react": "^18.0.38",
|
|
59
|
+
"@types/react-dom": "^18.0.11",
|
|
52
60
|
"babel-loader": "^9.1.3",
|
|
61
|
+
"babel-preset-next": "^1.4.0",
|
|
53
62
|
"css-loader": "^6.8.1",
|
|
54
|
-
"react": "^18.2.0",
|
|
55
|
-
"react-dom": "^18.2.0",
|
|
56
63
|
"style-loader": "^3.3.3",
|
|
57
64
|
"ts-loader": "^9.4.4",
|
|
65
|
+
"typescript": "^5.3.3",
|
|
58
66
|
"webpack": "^5.88.2",
|
|
59
67
|
"webpack-cli": "^5.1.4"
|
|
60
|
-
},
|
|
61
|
-
"dependencies": {
|
|
62
|
-
"aos": "^2.3.4",
|
|
63
|
-
"next": "^13.3.1",
|
|
64
|
-
"react-easy-export": "^1.0.1",
|
|
65
|
-
"react-icons": "^5.0.1",
|
|
66
|
-
"typescript": "^5.3.3"
|
|
67
68
|
}
|
|
68
69
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
3
|
+
"target": "es5",
|
|
4
4
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"noEmit": true,
|
|
5
|
+
"module": "commonjs",
|
|
6
|
+
"jsx": "react-jsx",
|
|
7
|
+
"declaration": true,
|
|
8
|
+
"outDir": "dist",
|
|
10
9
|
"esModuleInterop": true,
|
|
11
|
-
"module": "esnext",
|
|
12
10
|
"moduleResolution": "node",
|
|
13
11
|
"resolveJsonModule": true,
|
|
14
|
-
"
|
|
15
|
-
"
|
|
12
|
+
"allowJs": true,
|
|
13
|
+
"skipLibCheck": true,
|
|
14
|
+
"strict": true,
|
|
15
|
+
"forceConsistentCasingInFileNames": true,
|
|
16
|
+
"incremental": true,
|
|
17
|
+
"composite": true
|
|
16
18
|
},
|
|
17
|
-
"include": ["
|
|
19
|
+
"include": ["ui/**/*", "types/**/*", "next-env.d.ts"],
|
|
18
20
|
"exclude": ["node_modules"]
|
|
19
21
|
}
|