funuicss 2.5.6 → 2.5.8

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 CHANGED
@@ -261,6 +261,39 @@
261
261
  }
262
262
 
263
263
 
264
+ /* For WebKit browsers (Chrome, Edge, Brave, Safari) */
265
+ ::-webkit-scrollbar {
266
+ width: 10px;
267
+ height: 10px;
268
+ }
269
+
270
+ ::-webkit-scrollbar-track {
271
+ border-radius: 10px;
272
+ }
273
+
274
+ ::-webkit-scrollbar-thumb {
275
+ background-color: var(--borderColor, #999); /* Darker thumb */
276
+ border-radius: 10px;
277
+ border: 2px solid transparent;
278
+ background-clip: content-box;
279
+ }
280
+
281
+ ::-webkit-scrollbar-thumb:hover {
282
+ background-color: var(--dark500, #666); /* Hover effect */
283
+ }
284
+
285
+ /* Optional: Hide scrollbar buttons (arrows) */
286
+ ::-webkit-scrollbar-button {
287
+ display: none;
288
+ }
289
+
290
+
291
+
292
+ *{
293
+ font-family: var(--font-font);
294
+ scroll-behavior: smooth;
295
+
296
+ }
264
297
 
265
298
  /* normalise css */
266
299
 
@@ -1983,117 +2016,7 @@ link:hover {
1983
2016
  color: var(--info900) !important;
1984
2017
  }
1985
2018
 
1986
- /* Light Colors */
1987
- .text-light,
1988
- .hover-text-light:hover {
1989
- color: var(--light) !important;
1990
- }
1991
-
1992
- .text-light50,
1993
- .hover-text-light50:hover {
1994
- color: var(--light50) !important;
1995
- }
1996
-
1997
- .text-light100,
1998
- .hover-text-light100:hover {
1999
- color: var(--light100) !important;
2000
- }
2001
-
2002
- .text-light200,
2003
- .hover-text-light200:hover {
2004
- color: var(--light200) !important;
2005
- }
2006
-
2007
- .text-light300,
2008
- .hover-text-light300:hover {
2009
- color: var(--light300) !important;
2010
- }
2011
-
2012
- .text-light400,
2013
- .hover-text-light400:hover {
2014
- color: var(--light400) !important;
2015
- }
2016
2019
 
2017
- .text-light500,
2018
- .hover-text-light500:hover {
2019
- color: var(--light500) !important;
2020
- }
2021
-
2022
- .text-light600,
2023
- .hover-text-light600:hover {
2024
- color: var(--light600) !important;
2025
- }
2026
-
2027
- .text-light700,
2028
- .hover-text-light700:hover {
2029
- color: var(--light700) !important;
2030
- }
2031
-
2032
- .text-light800,
2033
- .hover-text-light800:hover {
2034
- color: var(--light800) !important;
2035
- }
2036
-
2037
- .text-light900,
2038
- .hover-text-light900:hover {
2039
- color: var(--light900) !important;
2040
- }
2041
-
2042
- /* Rose Colors */
2043
- .text-rose,
2044
- .hover-text-rose:hover {
2045
- color: var(--rose) !important;
2046
- }
2047
-
2048
- .text-rose50,
2049
- .hover-text-rose50:hover {
2050
- color: var(--rose50) !important;
2051
- }
2052
-
2053
- .text-rose100,
2054
- .hover-text-rose100:hover {
2055
- color: var(--rose100) !important;
2056
- }
2057
-
2058
- .text-rose200,
2059
- .hover-text-rose200:hover {
2060
- color: var(--rose200) !important;
2061
- }
2062
-
2063
- .text-rose300,
2064
- .hover-text-rose300:hover {
2065
- color: var(--rose300) !important;
2066
- }
2067
-
2068
- .text-rose400,
2069
- .hover-text-rose400:hover {
2070
- color: var(--rose400) !important;
2071
- }
2072
-
2073
- .text-rose500,
2074
- .hover-text-rose500:hover {
2075
- color: var(--rose500) !important;
2076
- }
2077
-
2078
- .text-rose600,
2079
- .hover-text-rose600:hover {
2080
- color: var(--rose600) !important;
2081
- }
2082
-
2083
- .text-rose700,
2084
- .hover-text-rose700:hover {
2085
- color: var(--rose700) !important;
2086
- }
2087
-
2088
- .text-rose800,
2089
- .hover-text-rose800:hover {
2090
- color: var(--rose800) !important;
2091
- }
2092
-
2093
- .text-rose900,
2094
- .hover-text-rose900:hover {
2095
- color: var(--rose900) !important;
2096
- }
2097
2020
 
2098
2021
  /* Dark Colors */
2099
2022
  .text-dark,
@@ -2211,66 +2134,79 @@ body {
2211
2134
  .text-xl {
2212
2135
  font-size: var(--text-xl);
2213
2136
  line-height: var(--leading-xl);
2137
+ font-weight: 400;
2214
2138
  }
2215
2139
 
2216
2140
  .text-2xl {
2217
2141
  font-size: var(--text-2xl);
2218
2142
  line-height: var(--leading-2xl);
2143
+ font-weight: 500;
2219
2144
  }
2220
2145
 
2221
2146
  .text-3xl {
2222
2147
  font-size: var(--text-3xl);
2223
2148
  line-height: var(--leading-3xl);
2149
+ font-weight: 500;
2224
2150
  }
2225
2151
 
2226
2152
  .text-4xl {
2227
2153
  font-size: var(--text-4xl);
2228
2154
  line-height: var(--leading-4xl);
2155
+ font-weight: 600;
2229
2156
  }
2230
2157
 
2231
2158
  .text-5xl {
2232
2159
  font-size: var(--text-5xl);
2233
2160
  line-height: var(--leading-5xl);
2161
+ font-weight: 600;
2234
2162
  }
2235
2163
  .text-6xl {
2236
2164
  font-size: var(--text-6xl);
2237
2165
  line-height: var(--leading-6xl);
2166
+ font-weight: 600;
2238
2167
  }
2239
2168
 
2240
2169
  .text-7xl {
2241
2170
  font-size: var(--text-7xl);
2242
2171
  line-height: var(--leading-7xl);
2172
+ font-weight: 600;
2243
2173
  }
2244
2174
 
2245
2175
  .text-8xl {
2246
2176
  font-size: var(--text-8xl);
2247
2177
  line-height: var(--leading-8xl);
2178
+ font-weight: 800;
2248
2179
  }
2249
2180
 
2250
2181
  .text-9xl {
2251
2182
  font-size: var(--text-9xl);
2252
2183
  line-height: var(--leading-9xl);
2184
+ font-weight: 900;
2253
2185
  }
2254
2186
 
2255
2187
  .text-10xl {
2256
2188
  font-size: var(--text-10xl);
2257
2189
  line-height: var(--leading-10xl);
2190
+ font-weight: 900;
2258
2191
  }
2259
2192
 
2260
2193
  /* Additional responsive/animated sizes */
2261
2194
  .text-big {
2262
2195
  font-size: calc(1.375rem + 2vw); /* Responsive scaling */
2263
2196
  line-height: calc(1.5rem + 2vw);
2197
+ font-weight: 900;
2264
2198
  }
2265
2199
 
2266
2200
  .text-bigger {
2267
2201
  font-size: calc(1.375rem + 2.5vw);
2268
2202
  line-height: calc(1.5rem + 2.5vw);
2203
+ font-weight: 900;
2269
2204
  }
2270
2205
 
2271
2206
  .text-jumbo {
2272
2207
  font-size: calc(1.375rem + 5vw);
2273
2208
  line-height: calc(1.5rem + 5.5vw);
2209
+ font-weight: 900;
2274
2210
  }
2275
2211
 
2276
2212
  /* Mini sizes */
@@ -2319,35 +2255,42 @@ h1,
2319
2255
  h1, .h1 {
2320
2256
  font-size: var(--text-5xl);
2321
2257
  line-height: var(--leading-none);
2258
+ font-weight: 900;
2322
2259
  }
2323
2260
 
2324
2261
  h2, .h2 {
2325
2262
  font-size: var(--text-4xl);
2326
2263
  line-height: var(--leading-4xl);
2264
+ font-weight: 900;
2327
2265
  }
2328
2266
 
2329
2267
  h3, .h3 {
2330
2268
  font-size: var(--text-3xl);
2331
2269
  line-height: var(--leading-3xl);
2270
+ font-weight: 700;
2332
2271
  }
2333
2272
 
2334
2273
  h4, .h4 {
2335
2274
  font-size: var(--text-2xl);
2336
2275
  line-height: var(--leading-2xl);
2276
+ font-weight: 600;
2337
2277
  }
2338
2278
 
2339
2279
  h5, .h5 {
2340
2280
  font-size: var(--text-xl);
2341
2281
  line-height: var(--leading-xl);
2282
+ font-weight: 500;
2342
2283
  }
2343
2284
 
2344
2285
  h6, .h6 {
2345
2286
  font-size: var(--text-base);
2346
2287
  line-height: var(--leading-normal);
2288
+ font-weight: 500;
2347
2289
  }
2348
2290
 
2349
2291
 
2350
2292
 
2293
+
2351
2294
  .text-bold {
2352
2295
  font-weight: bold !important;
2353
2296
  }
@@ -2762,7 +2705,7 @@ h6, .h6 {
2762
2705
  font-size: var(--minifiedFontSize);
2763
2706
  position: relative;
2764
2707
  overflow: hidden;
2765
- font-weight: 600;
2708
+ font-weight: 500;
2766
2709
  line-height: 1 !important;
2767
2710
  }
2768
2711
 
@@ -3013,6 +2956,7 @@ h6, .h6 {
3013
2956
  /* Mobile layout when menu is open */
3014
2957
  .navbar-mobile-open {
3015
2958
  flex-direction: column;
2959
+ height: 100vh;
3016
2960
  }
3017
2961
 
3018
2962
  .navbar-mobile-open .linkWrapper {
@@ -3075,6 +3019,128 @@ h6, .h6 {
3075
3019
 
3076
3020
  .navigation-bar.transparent{ backdrop-filter: none !important ;}
3077
3021
 
3022
+ .navhamburger {
3023
+ width: 32px;
3024
+ height: 24px;
3025
+ display: flex;
3026
+ flex-direction: column;
3027
+ justify-content: space-between;
3028
+ cursor: pointer;
3029
+ position: relative;
3030
+ }
3031
+
3032
+ .navline {
3033
+ height: 3px;
3034
+ background-color: var(--text-color);
3035
+ border-radius: 4rem !important;
3036
+ width: 100%;
3037
+
3038
+ }
3039
+
3040
+ /* Middle line shorter and centered */
3041
+ .navmiddle {
3042
+ width: 60%;
3043
+ align-self: flex-start;
3044
+ background-color: var(--primary500);
3045
+
3046
+ }
3047
+
3048
+ .navbottom{
3049
+ width: 90%;
3050
+ align-self: flex-start;
3051
+ }
3052
+
3053
+ /* Animate open state */
3054
+ .navopen .navtop {
3055
+ animation: topLineOpen 0.5s forwards;
3056
+ }
3057
+
3058
+ .navopen .navmiddle {
3059
+ animation: middleLineOpen 0.5s forwards;
3060
+ }
3061
+
3062
+ .navopen .navbottom {
3063
+ animation: bottomLineOpen 0.5s forwards;
3064
+ }
3065
+
3066
+ /* Animate close state (optional for toggle) */
3067
+ .navhamburger:not(.navopen) .navtop {
3068
+ animation: topLineClose 0.5s forwards;
3069
+ }
3070
+
3071
+ .navhamburger:not(.navopen) .navmiddle {
3072
+ animation: middleLineClose 0.5s forwards;
3073
+ }
3074
+
3075
+ .navhamburger:not(.navopen) .navbottom {
3076
+ animation: bottomLineClose 0.5s forwards;
3077
+ }
3078
+
3079
+ /* KEYFRAMES */
3080
+
3081
+ @keyframes topLineOpen {
3082
+ 0% {
3083
+ transform: translateY(0) rotate(0deg);
3084
+ }
3085
+ 100% {
3086
+ transform: translateY(10px) rotate(45deg);
3087
+ background-color: var(--error);
3088
+ width: 100% !important;
3089
+
3090
+ }
3091
+ }
3092
+
3093
+ @keyframes middleLineOpen {
3094
+ 0% {
3095
+ opacity: 1;
3096
+ }
3097
+ 100% {
3098
+ opacity: 0;
3099
+ }
3100
+ }
3101
+
3102
+ @keyframes bottomLineOpen {
3103
+ 0% {
3104
+ transform: translateY(0) rotate(0deg);
3105
+ }
3106
+ 100% {
3107
+ transform: translateY(-10px) rotate(-45deg);
3108
+ background-color: var(--error);
3109
+ width: 100% !important;
3110
+
3111
+ }
3112
+ }
3113
+
3114
+ /* Reverse animations (optional) */
3115
+ @keyframes topLineClose {
3116
+ 0% {
3117
+ transform: translateY(10px) rotate(45deg);
3118
+ }
3119
+ 100% {
3120
+ transform: translateY(0) rotate(0deg);
3121
+
3122
+ }
3123
+ }
3124
+
3125
+ @keyframes middleLineClose {
3126
+ 0% {
3127
+ opacity: 0;
3128
+ }
3129
+ 100% {
3130
+ opacity: 1;
3131
+
3132
+ }
3133
+ }
3134
+
3135
+ @keyframes bottomLineClose {
3136
+ 0% {
3137
+ transform: translateY(-10px) rotate(-45deg);
3138
+ }
3139
+ 100% {
3140
+ transform: translateY(0) rotate(0deg);
3141
+ }
3142
+ }
3143
+
3078
3144
  .fun_side_bar_wrapper{
3079
3145
  position: fixed;
3080
3146
  z-index: var(--sideBarZindex);
@@ -3288,26 +3354,14 @@ h6, .h6 {
3288
3354
  position: relative;
3289
3355
  width:fit-content;
3290
3356
  z-index: 1;
3291
- padding: 5px;
3292
- }
3293
- .dropdown .drop-menu {
3294
- top: 101%;
3295
- }
3296
- .dropdown.left .drop-menu{
3297
- left: 0rem;
3298
- }
3299
- .dropdown.right .drop-menu{
3300
- right: 0rem;
3301
- }
3302
- .dropup.left .drop-menu{
3303
- left: 0rem;
3304
- }
3305
- .dropup.right .drop-menu{
3306
- right: 0rem;
3307
- }
3308
- .dropup .drop-menu {
3309
- bottom: 101%;
3310
3357
  }
3358
+ .dropdown .drop-menu { top: 101%; }
3359
+ .dropup .drop-menu { bottom: 101%; }
3360
+ .dropdown.left .drop-menu { left: 0; }
3361
+ .dropdown.right .drop-menu { right: 0; }
3362
+ .dropup.left .drop-menu { left: 0; }
3363
+ .dropup.right .drop-menu { right: 0; }
3364
+
3311
3365
  .drop-menu {
3312
3366
  position: absolute;
3313
3367
  box-shadow: var(--card);
@@ -3534,8 +3588,11 @@ padding-right: 2.5rem;
3534
3588
 
3535
3589
  }
3536
3590
 
3537
-
3538
-
3591
+ @media screen and (max-width: 800px){
3592
+ .input , input, textarea{
3593
+ font-size: 16px !important;
3594
+ }
3595
+ }
3539
3596
 
3540
3597
  /*flex*/
3541
3598
  .flex {
package/index.d.ts CHANGED
@@ -21,6 +21,7 @@ export { default as NotFound } from "./ui/page/NotFound";
21
21
  export { default as UnAuthorized } from "./ui/page/UnAuthorized";
22
22
  export { default as DropUp } from "./ui/drop/Up";
23
23
  export { default as DropDown } from "./ui/drop/Down";
24
+ export { default as Dropdown } from "./ui/drop/Dropdown";
24
25
  export { default as DropItem } from "./ui/drop/Item";
25
26
  export { default as DropMenu } from "./ui/drop/Menu";
26
27
  export { default as ProgressBar } from "./ui/progress/Bar";
package/index.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FullCenteredPage = exports.Circle = exports.Hr = exports.Section = exports.RowFlex = exports.Tip = exports.AppBar = exports.ToolTip = exports.Notification = exports.FunLoader = exports.ProgressBar = exports.DropMenu = exports.DropItem = exports.DropDown = exports.DropUp = exports.UnAuthorized = exports.NotFound = exports.StepLine = exports.StepHeader = exports.Step = exports.StepContainer = exports.Div = exports.Text = exports.List = exports.Table = exports.Modal = exports.Loader = exports.Input = exports.Col = exports.Grid = exports.Container = exports.BreadCrumb = exports.Card = exports.Button = exports.ThemeProvider = exports.Alert = void 0;
6
+ exports.FullCenteredPage = exports.Circle = exports.Hr = exports.Section = exports.RowFlex = exports.Tip = exports.AppBar = exports.ToolTip = exports.Notification = exports.FunLoader = exports.ProgressBar = exports.DropMenu = exports.DropItem = exports.Dropdown = exports.DropDown = exports.DropUp = exports.UnAuthorized = exports.NotFound = exports.StepLine = exports.StepHeader = exports.Step = exports.StepContainer = exports.Div = exports.Text = exports.List = exports.Table = exports.Modal = exports.Loader = exports.Input = exports.Col = exports.Grid = exports.Container = exports.BreadCrumb = exports.Card = exports.Button = exports.ThemeProvider = exports.Alert = void 0;
7
7
  var Alert_1 = require("./ui/alert/Alert");
8
8
  Object.defineProperty(exports, "Alert", { enumerable: true, get: function () { return __importDefault(Alert_1).default; } });
9
9
  var theme_1 = require("./ui/theme/theme");
@@ -50,6 +50,8 @@ var Up_1 = require("./ui/drop/Up");
50
50
  Object.defineProperty(exports, "DropUp", { enumerable: true, get: function () { return __importDefault(Up_1).default; } });
51
51
  var Down_1 = require("./ui/drop/Down");
52
52
  Object.defineProperty(exports, "DropDown", { enumerable: true, get: function () { return __importDefault(Down_1).default; } });
53
+ var Dropdown_1 = require("./ui/drop/Dropdown");
54
+ Object.defineProperty(exports, "Dropdown", { enumerable: true, get: function () { return __importDefault(Dropdown_1).default; } });
53
55
  var Item_1 = require("./ui/drop/Item");
54
56
  Object.defineProperty(exports, "DropItem", { enumerable: true, get: function () { return __importDefault(Item_1).default; } });
55
57
  var Menu_1 = require("./ui/drop/Menu");
package/index.tsx CHANGED
@@ -21,6 +21,7 @@ export { default as NotFound } from "./ui/page/NotFound"
21
21
  export { default as UnAuthorized } from "./ui/page/UnAuthorized"
22
22
  export { default as DropUp } from "./ui/drop/Up"
23
23
  export { default as DropDown } from "./ui/drop/Down"
24
+ export { default as Dropdown } from "./ui/drop/Dropdown"
24
25
  export { default as DropItem } from "./ui/drop/Item"
25
26
  export { default as DropMenu } from "./ui/drop/Menu"
26
27
  export { default as ProgressBar } from "./ui/progress/Bar"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.5.6",
2
+ "version": "2.5.8",
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",
@@ -37,7 +37,8 @@
37
37
  "test": "echo \"Error: no test specified\" && exit 1",
38
38
  "build": "tsc",
39
39
  "prepublishOnly": "tsc",
40
- "publish": "npm publish && git add . && git commit -m 'update' && git push origin main"
40
+ "publish": "npm publish",
41
+ "git": "git add . && git commit -m 'update' && git push origin main"
41
42
  },
42
43
  "author": "FunInc",
43
44
  "license": "MIT",
@@ -46,7 +47,8 @@
46
47
  "@babel/preset-env": "^7.22.10",
47
48
  "@babel/preset-react": "^7.22.5",
48
49
  "@babel/preset-typescript": "^7.22.11",
49
- "@types/react": "^19.1.4",
50
+ "@types/react": "^19.1.6",
51
+ "@types/react-dom": "^19.1.6",
50
52
  "babel-loader": "^9.1.3",
51
53
  "css-loader": "^6.8.1",
52
54
  "react": "^18.2.0",
package/tsconfig.json CHANGED
@@ -1,10 +1,19 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "jsx": "react",
4
- "target": "es5",
5
- "module": "commonjs",
6
- "composite": true ,
7
- "esModuleInterop": true ,
8
- "declaration":true
9
- }
10
- }
3
+ "target": "ES6",
4
+ "lib": ["dom", "dom.iterable", "esnext"],
5
+ "allowJs": true,
6
+ "skipLibCheck": true,
7
+ "strict": false,
8
+ "forceConsistentCasingInFileNames": true,
9
+ "noEmit": true,
10
+ "esModuleInterop": true,
11
+ "module": "esnext",
12
+ "moduleResolution": "node",
13
+ "resolveJsonModule": true,
14
+ "isolatedModules": true,
15
+ "jsx": "preserve"
16
+ },
17
+ "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
18
+ "exclude": ["node_modules"]
19
+ }