funuicss 1.9.13 → 1.9.14

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.
@@ -90,7 +90,7 @@ function Alert(_ref) {
90
90
  style: {
91
91
  animation: " ".concat(0.3, "s ", "ScaleUp")
92
92
  },
93
- className: "alert ".concat(funcss, " ").concat(type, " \n").concat(fixed == "top-left" ? "top-left" : "", "\n ").concat(fixed == "top-right" ? "top-right" : "", "\n ").concat(fixed == "bottom-left" ? "bottom-left" : "", "\n ").concat(fixed == "bottom-right" ? "bottom-right" : "", " \n ").concat(fixed == "top-middle" ? "top-middle" : "", " \n ").concat(fixed == "bottom-middle" ? "bottom-middle" : "", " \n ").concat(fullWidth ? "width-100-p" : "", "\n \n ")
93
+ className: "alert ".concat(funcss, " ").concat(type, " \n").concat(fixed == "top-left" ? "top-left" : "", "\n ").concat(fixed == "top-right" ? "top-right" : "", "\n ").concat(fixed == "bottom-left" ? "bottom-left" : "", "\n ").concat(fixed == "bottom-right" ? "bottom-right" : "", " \n ").concat(fixed == "top-middle" ? "top-middle" : "", " \n ").concat(fixed == "bottom-middle" ? "bottom-middle" : "", " \n ").concat(fixed == "middle" ? "middle" : "", " \n ").concat(fullWidth ? "width-100-p" : "", "\n \n ")
94
94
  }, /*#__PURE__*/external_react_default().createElement("div", {
95
95
  className: "alert-icon"
96
96
  }, !isLoading ? /*#__PURE__*/external_react_default().createElement("div", null, type === "success" && /*#__PURE__*/external_react_default().createElement("i", {
@@ -68,7 +68,7 @@ function FunLoader(_ref) {
68
68
  return /*#__PURE__*/external_react_default().createElement("div", {
69
69
  className: "".concat(fixed ? "fixedLoader" : "", " ").concat(backdrop && fixed ? "backdropLoader" : "", " ")
70
70
  }, /*#__PURE__*/external_react_default().createElement("i", {
71
- className: "".concat(funcss ? funcss : "", " fas fa-spinner fa-spin text-").concat(color ? color : ""),
71
+ className: "funLoader ".concat(funcss ? funcss : "", " fas fa-spinner fa-spin text-").concat(color ? color : ""),
72
72
  style: {
73
73
  fontSize: size ? size : ""
74
74
  }
package/css/fun.css CHANGED
@@ -51,14 +51,17 @@
51
51
  --largeScreen: calc(var(var(--mediumScreen)) + 1px);
52
52
  --shadowMedium:0 0.8rem 2rem 0 rgba(0, 0, 0, 0.1);
53
53
 
54
- /* Darktheme effects */
55
- --raiseThemes:"#FFFFFF";
54
+ }
55
+
56
+
57
+
58
+ /* DarkTheme */
59
+ :root{
60
+ --raiseThemes:#FFFFFF;
56
61
  --inputOutline:var(--successLight);
57
62
  --lightThemeDark: var(--dark)
58
-
59
63
  }
60
64
 
61
-
62
65
  /* normalise css */
63
66
  * {
64
67
  font-family: var(--fontFamily);
@@ -66,7 +69,7 @@
66
69
  *,
67
70
  *::before,
68
71
  *::after {
69
- box-sizing: border-box;
72
+ box-sizing: border-box !important;
70
73
  }
71
74
 
72
75
  @media (prefers-reduced-motion: no-preference) {
@@ -380,6 +383,7 @@ h1,
380
383
  margin-top: 0;
381
384
  margin-bottom: 0.5rem;
382
385
  line-height: 1.2;
386
+ font-weight: 300;
383
387
  }
384
388
 
385
389
  h1,
@@ -798,7 +802,10 @@ h6,
798
802
  }
799
803
  }
800
804
 
801
-
805
+ .page{
806
+ min-height: 80vh;
807
+ padding: 2rem 0;
808
+ }
802
809
 
803
810
 
804
811
  /*buttons*/
@@ -1062,13 +1069,12 @@ h6,
1062
1069
  }
1063
1070
  .alert.top-right , .alert.bottom-right ,
1064
1071
  .alert.top-left , .alert.bottom-left, .alert.top-middle ,
1065
- .alert.bottom-middle
1072
+ .alert.bottom-middle , .middle
1066
1073
  {
1067
1074
  position: fixed;
1068
1075
  z-index: var(--snackBarZindex);
1069
1076
  box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.2);
1070
1077
  width: fit-content;
1071
- min-width: 250px;
1072
1078
  height: fit-content;
1073
1079
  }
1074
1080
  .alert.top-middle{
@@ -1097,6 +1103,11 @@ h6,
1097
1103
  bottom: 1rem;
1098
1104
  left: 1rem;
1099
1105
  }
1106
+ .alert.middle{
1107
+ top: 50%;
1108
+ left: 50%;
1109
+ transform: translate(-50%, -50%);
1110
+ }
1100
1111
  .alert-icon > i {
1101
1112
  cursor: pointer;
1102
1113
  margin: 0;
@@ -1270,6 +1281,7 @@ input , select{height: var(--inputHeight);}
1270
1281
  .input:focus {
1271
1282
  border-bottom: 0.1rem solid var(--primaryColor);
1272
1283
  }
1284
+
1273
1285
  .input.borderedInput {
1274
1286
  border: var(--border);
1275
1287
  border-radius: 0.3rem;
@@ -2079,18 +2091,19 @@ th {
2079
2091
  background-color: var(--danger);
2080
2092
  cursor: pointer;
2081
2093
  }
2094
+
2082
2095
  .modal-title {
2083
2096
  padding: 0.5rem;
2084
- border-bottom: 1.5px solid #ddd;
2097
+ border-bottom: 1.5px solid var(--borderColor);
2085
2098
  max-height: 70px;
2086
2099
  height: fit-content;
2087
2100
  }
2088
2101
  .modal-content {
2089
- background-color: var(--white);
2102
+ background-color: var(--raiseThemes);
2090
2103
  max-width: 700px;
2091
2104
  width: 100%;
2092
2105
  border-radius: 10px;
2093
- background-color: var(--raiseThemes);
2106
+
2094
2107
  }
2095
2108
  .modal-body {
2096
2109
  padding: 0.7rem;
@@ -2115,7 +2128,7 @@ Button,
2115
2128
  .notification{
2116
2129
  position: fixed;
2117
2130
  max-width: 400px;
2118
- background-color: var(--bd-theme);
2131
+ background-color: var(--raiseThemes);
2119
2132
  width: fit-content;
2120
2133
  padding: 1rem;
2121
2134
  border-radius: 0.3rem;
@@ -2231,7 +2244,7 @@ Button,
2231
2244
  }
2232
2245
 
2233
2246
  /*hide and show on screen */
2234
- @media (max-width: 600px) {
2247
+ @media(max-width: 600px) {
2235
2248
  .hide-small {
2236
2249
  display: none;
2237
2250
  }
@@ -2260,7 +2273,7 @@ Button,
2260
2273
  display: none;
2261
2274
  }
2262
2275
  }
2263
- @media (min-width: 601px) {
2276
+ @media (min-width: 601px) {
2264
2277
  .hide-medium {
2265
2278
  display: none;
2266
2279
  }
@@ -2286,7 +2299,8 @@ Button,
2286
2299
  display: none;
2287
2300
  }
2288
2301
  }
2289
- @media (min-width: 101px) {
2302
+
2303
+ @media screen and (min-width: 1001px) {
2290
2304
  .show-large {
2291
2305
  display: block;
2292
2306
  }
@@ -2403,14 +2417,14 @@ Button,
2403
2417
 
2404
2418
  .tooltip .tip {
2405
2419
  display: none;
2406
- width: 100%;
2407
2420
  min-width: 100px;
2408
2421
  max-width: 400px;
2409
- background-color: #555;
2422
+ width: fit-content;
2423
+ background-color: #1E1E1E;
2410
2424
  color: #fff;
2411
2425
  text-align: center;
2412
2426
  border-radius: 3px;
2413
- padding: 5px 0;
2427
+ padding: 0.2rem 0.3rem;
2414
2428
  position: absolute;
2415
2429
  z-index: 5;
2416
2430
  transition: opacity 0.3s;
@@ -2458,27 +2472,14 @@ Button,
2458
2472
  }
2459
2473
 
2460
2474
 
2461
- /* animations */
2462
- .animate-underline::after {
2463
- position: absolute;
2464
- top: 25px;
2465
- left: 0;
2466
- content: "";
2467
- width: 0%;
2468
- height: 3px;
2469
- /* background-color: rgba(255, 255, 255, 0.6); */
2470
- transition: all 0.5s;
2471
- }
2472
-
2473
- .animate-underline:hover::after {
2474
- width: 100%;
2475
- }
2476
2475
  .snackbar {
2477
2476
  position: fixed;
2478
2477
  background-color: #1E1E1E;
2479
2478
  border-radius: 3px;
2480
2479
  max-width: 90%;
2481
2480
  width: fit-content;
2481
+ max-height: 2.5rem;
2482
+ height: fit-content;
2482
2483
  color: var(--white);
2483
2484
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.5);
2484
2485
  z-index: var(--snackBarZindex);
@@ -2581,19 +2582,8 @@ Button,
2581
2582
 
2582
2583
 
2583
2584
  /* Loader */
2584
- .funLoading {
2585
- width:50px;
2586
- height:50px;
2587
- display:inline-block;
2588
- padding:0px;
2589
- border-radius:100%;
2590
- border:5px solid;
2591
- border-top-color:var(--primaryColor);
2592
- border-bottom-color:var(--light);
2593
- border-left-color:var(--primaryColor);
2594
- border-right-color:var(--light);
2595
- -webkit-animation: loader4 0.5s ease-in-out infinite;
2596
- animation: loader4 0.5s ease-in-out infinite;
2585
+ .funLoader{
2586
+ color: var(--primaryColor);
2597
2587
  }
2598
2588
  .fixedLoader{
2599
2589
  position: fixed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "funuicss",
3
- "version": "1.9.13",
3
+ "version": "1.9.14",
4
4
  "description": "React/Next.js component UI Library for creating Easy and good looking websites with fewer lines of code.",
5
5
  "main": "index.js",
6
6
  "keywords": ["funui" , "React Component", "Next Component", "react" , "react and next component Library"],
package/css/font/OFL.txt DELETED
@@ -1,93 +0,0 @@
1
- Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins)
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- http://scripts.sil.org/OFL
6
-
7
-
8
- -----------------------------------------------------------
9
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
- -----------------------------------------------------------
11
-
12
- PREAMBLE
13
- The goals of the Open Font License (OFL) are to stimulate worldwide
14
- development of collaborative font projects, to support the font creation
15
- efforts of academic and linguistic communities, and to provide a free and
16
- open framework in which fonts may be shared and improved in partnership
17
- with others.
18
-
19
- The OFL allows the licensed fonts to be used, studied, modified and
20
- redistributed freely as long as they are not sold by themselves. The
21
- fonts, including any derivative works, can be bundled, embedded,
22
- redistributed and/or sold with any software provided that any reserved
23
- names are not used by derivative works. The fonts and derivatives,
24
- however, cannot be released under any other type of license. The
25
- requirement for fonts to remain under this license does not apply
26
- to any document created using the fonts or their derivatives.
27
-
28
- DEFINITIONS
29
- "Font Software" refers to the set of files released by the Copyright
30
- Holder(s) under this license and clearly marked as such. This may
31
- include source files, build scripts and documentation.
32
-
33
- "Reserved Font Name" refers to any names specified as such after the
34
- copyright statement(s).
35
-
36
- "Original Version" refers to the collection of Font Software components as
37
- distributed by the Copyright Holder(s).
38
-
39
- "Modified Version" refers to any derivative made by adding to, deleting,
40
- or substituting -- in part or in whole -- any of the components of the
41
- Original Version, by changing formats or by porting the Font Software to a
42
- new environment.
43
-
44
- "Author" refers to any designer, engineer, programmer, technical
45
- writer or other person who contributed to the Font Software.
46
-
47
- PERMISSION & CONDITIONS
48
- Permission is hereby granted, free of charge, to any person obtaining
49
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
- redistribute, and sell modified and unmodified copies of the Font
51
- Software, subject to the following conditions:
52
-
53
- 1) Neither the Font Software nor any of its individual components,
54
- in Original or Modified Versions, may be sold by itself.
55
-
56
- 2) Original or Modified Versions of the Font Software may be bundled,
57
- redistributed and/or sold with any software, provided that each copy
58
- contains the above copyright notice and this license. These can be
59
- included either as stand-alone text files, human-readable headers or
60
- in the appropriate machine-readable metadata fields within text or
61
- binary files as long as those fields can be easily viewed by the user.
62
-
63
- 3) No Modified Version of the Font Software may use the Reserved Font
64
- Name(s) unless explicit written permission is granted by the corresponding
65
- Copyright Holder. This restriction only applies to the primary font name as
66
- presented to the users.
67
-
68
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
- Software shall not be used to promote, endorse or advertise any
70
- Modified Version, except to acknowledge the contribution(s) of the
71
- Copyright Holder(s) and the Author(s) or with their explicit written
72
- permission.
73
-
74
- 5) The Font Software, modified or unmodified, in part or in whole,
75
- must be distributed entirely under this license, and must not be
76
- distributed under any other license. The requirement for fonts to
77
- remain under this license does not apply to any document created
78
- using the Font Software.
79
-
80
- TERMINATION
81
- This license becomes null and void if any of the above conditions are
82
- not met.
83
-
84
- DISCLAIMER
85
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
- OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file