funuicss 2.7.9 → 2.7.10
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 +59 -21
- package/index.tsx +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/ui/accordion/Accordion.d.ts +16 -2
- package/ui/accordion/Accordion.js +8 -8
- package/ui/accordion/Accordion.tsx +24 -17
- package/ui/avatar/Avatar.js +5 -4
- package/ui/avatar/Avatar.tsx +3 -1
- package/ui/button/Button.d.ts +1 -1
- package/ui/button/Button.js +1 -1
- package/ui/button/Button.tsx +3 -2
- package/ui/calendar/ActivityCard.d.ts +8 -0
- package/ui/calendar/ActivityCard.js +18 -0
- package/ui/calendar/ActivityCard.tsx +27 -0
- package/ui/calendar/Calendar.d.ts +5 -2
- package/ui/calendar/Calendar.js +119 -84
- package/ui/calendar/Calendar.tsx +211 -161
- package/ui/datepicker/DatePicker.js +4 -3
- package/ui/datepicker/DatePicker.tsx +8 -3
- package/ui/drop/Dropdown.js +17 -17
- package/ui/drop/Dropdown.tsx +31 -29
package/css/fun.css
CHANGED
|
@@ -1844,6 +1844,7 @@ button:disabled {
|
|
|
1844
1844
|
}
|
|
1845
1845
|
|
|
1846
1846
|
|
|
1847
|
+
|
|
1847
1848
|
/* Typography */
|
|
1848
1849
|
.baseColor, .text-base{
|
|
1849
1850
|
color: var(--text-color) !important;}
|
|
@@ -1855,6 +1856,9 @@ body {
|
|
|
1855
1856
|
background-color: var(--page-bg) !important;
|
|
1856
1857
|
color: var(--text-color) !important;
|
|
1857
1858
|
}
|
|
1859
|
+
.bg{
|
|
1860
|
+
background-color: var(--page-bg) !important;
|
|
1861
|
+
}
|
|
1858
1862
|
|
|
1859
1863
|
/* Font utilities with matching line heights */
|
|
1860
1864
|
.text-xs {
|
|
@@ -2596,7 +2600,7 @@ h6, .h6 {
|
|
|
2596
2600
|
|
|
2597
2601
|
/*cards*/
|
|
2598
2602
|
.card {
|
|
2599
|
-
background: var(--cardBg)
|
|
2603
|
+
background: var(--cardBg);
|
|
2600
2604
|
box-shadow: var(--card);
|
|
2601
2605
|
transition: 0.3s;
|
|
2602
2606
|
backdrop-filter: var(--raiseBackdrop) ;
|
|
@@ -2930,7 +2934,7 @@ color: var(--text-color);
|
|
|
2930
2934
|
}
|
|
2931
2935
|
|
|
2932
2936
|
.navline {
|
|
2933
|
-
height:
|
|
2937
|
+
height: 2px;
|
|
2934
2938
|
background-color: var(--text-color);
|
|
2935
2939
|
border-radius: 4rem !important;
|
|
2936
2940
|
width: 100%;
|
|
@@ -2941,7 +2945,7 @@ color: var(--text-color);
|
|
|
2941
2945
|
.navmiddle {
|
|
2942
2946
|
width: 60%;
|
|
2943
2947
|
align-self: flex-start;
|
|
2944
|
-
background-color: var(--
|
|
2948
|
+
background-color: var(--primary600);
|
|
2945
2949
|
|
|
2946
2950
|
}
|
|
2947
2951
|
|
|
@@ -3310,19 +3314,20 @@ color: var(--text-color);
|
|
|
3310
3314
|
position: absolute;
|
|
3311
3315
|
box-shadow: var(--card);
|
|
3312
3316
|
transition: 0.5s;
|
|
3313
|
-
z-index:
|
|
3317
|
+
z-index: 10; /* Higher to sit above everything */
|
|
3314
3318
|
width: 100%;
|
|
3315
3319
|
min-width: max-content !important;
|
|
3316
3320
|
overflow: visible; /* allow overflow! */
|
|
3317
3321
|
border-radius: 0.5rem;
|
|
3318
|
-
background-color: var(--
|
|
3319
|
-
backdrop-filter:
|
|
3320
|
-
display: none;
|
|
3322
|
+
background-color: var(--raiseThemes);
|
|
3323
|
+
backdrop-filter: blur(2px) !important;
|
|
3321
3324
|
border: var(--border);
|
|
3322
3325
|
}
|
|
3323
3326
|
|
|
3324
3327
|
|
|
3325
3328
|
|
|
3329
|
+
|
|
3330
|
+
|
|
3326
3331
|
.dropup:hover .drop-menu {
|
|
3327
3332
|
display: block;
|
|
3328
3333
|
z-index: 1;
|
|
@@ -3354,6 +3359,7 @@ color: var(--text-color);
|
|
|
3354
3359
|
}
|
|
3355
3360
|
|
|
3356
3361
|
|
|
3362
|
+
|
|
3357
3363
|
/*inputs*/
|
|
3358
3364
|
.input {
|
|
3359
3365
|
padding: var(--inputPadding);
|
|
@@ -4567,13 +4573,9 @@ filter: brightness(90%);
|
|
|
4567
4573
|
gap: 0.25rem;
|
|
4568
4574
|
}
|
|
4569
4575
|
|
|
4576
|
+
|
|
4570
4577
|
/* Date Cell */
|
|
4571
4578
|
.datepicker-day {
|
|
4572
|
-
height: 2.5rem;
|
|
4573
|
-
display: flex;
|
|
4574
|
-
justify-content: center;
|
|
4575
|
-
align-items: center;
|
|
4576
|
-
border-radius: 6px;
|
|
4577
4579
|
cursor: pointer;
|
|
4578
4580
|
transition: background-color 0.3s ease;
|
|
4579
4581
|
}
|
|
@@ -4589,7 +4591,7 @@ filter: brightness(90%);
|
|
|
4589
4591
|
}
|
|
4590
4592
|
|
|
4591
4593
|
.datepicker-day.selected {
|
|
4592
|
-
background-color: var(--primary);
|
|
4594
|
+
background-color: var(--primary) !important;
|
|
4593
4595
|
color: var(--primary50);
|
|
4594
4596
|
}
|
|
4595
4597
|
|
|
@@ -4601,6 +4603,7 @@ filter: brightness(90%);
|
|
|
4601
4603
|
.datepicker-selected{display: flex;justify-content: space-between;align-items: center;}
|
|
4602
4604
|
|
|
4603
4605
|
|
|
4606
|
+
|
|
4604
4607
|
.calendar {
|
|
4605
4608
|
width: 100%;
|
|
4606
4609
|
/* border: var(--border); */
|
|
@@ -4643,29 +4646,36 @@ filter: brightness(90%);
|
|
|
4643
4646
|
min-height: 80px;
|
|
4644
4647
|
background-color: var(--lighter);
|
|
4645
4648
|
position: relative;
|
|
4646
|
-
border-radius: 1rem;
|
|
4649
|
+
border-radius: 1rem !important;
|
|
4647
4650
|
padding: 5px;
|
|
4651
|
+
border: 0.1rem solid transparent;
|
|
4652
|
+
}
|
|
4653
|
+
.calendar-cell:hover{border: var(--border);}
|
|
4654
|
+
.calendar-cell.empty{
|
|
4655
|
+
background-color: transparent !important;
|
|
4656
|
+
border: none !important;
|
|
4648
4657
|
}
|
|
4649
4658
|
|
|
4650
4659
|
.day-box {
|
|
4651
4660
|
position: relative;
|
|
4652
4661
|
}
|
|
4653
4662
|
.day-number {
|
|
4654
|
-
font-weight:
|
|
4655
|
-
|
|
4663
|
+
font-weight: 400;
|
|
4664
|
+
opacity: 0.8;
|
|
4656
4665
|
}
|
|
4666
|
+
|
|
4657
4667
|
.activities {
|
|
4658
4668
|
margin-top: 4px;
|
|
4659
4669
|
display: flex;
|
|
4660
4670
|
flex-direction: column;
|
|
4661
|
-
gap:
|
|
4671
|
+
gap: 0.2rem;
|
|
4662
4672
|
}
|
|
4663
4673
|
.activity-tag {
|
|
4664
4674
|
font-size: 0.75rem;
|
|
4665
|
-
background: var(--
|
|
4675
|
+
background: var(--page-bg);
|
|
4666
4676
|
font-weight: 500;
|
|
4667
4677
|
padding: 2px 4px;
|
|
4668
|
-
border-radius:
|
|
4678
|
+
border-radius: 0.5rem;
|
|
4669
4679
|
line-height: 1 !important;
|
|
4670
4680
|
cursor: pointer;
|
|
4671
4681
|
}
|
|
@@ -4675,6 +4685,34 @@ filter: brightness(90%);
|
|
|
4675
4685
|
right: 4px;
|
|
4676
4686
|
}
|
|
4677
4687
|
|
|
4688
|
+
.calendar-cell.today .day-number{
|
|
4689
|
+
color: var(--primary) !important;
|
|
4690
|
+
}
|
|
4691
|
+
@media (max-width: 768px) {
|
|
4692
|
+
.calendar-cell {
|
|
4693
|
+
width: 2.5rem !important;
|
|
4694
|
+
height: 2.5rem !important;
|
|
4695
|
+
min-height: 2.5rem !important;
|
|
4696
|
+
border-radius: 50% !important;
|
|
4697
|
+
display: flex;
|
|
4698
|
+
align-items: center;
|
|
4699
|
+
justify-content: center;
|
|
4700
|
+
margin: 0 auto;
|
|
4701
|
+
cursor: pointer;
|
|
4702
|
+
}
|
|
4703
|
+
.calendar-cell.selected{
|
|
4704
|
+
background-color: var(--primary) !important;
|
|
4705
|
+
color: var(--primary50) !important;
|
|
4706
|
+
}
|
|
4707
|
+
.activity-tag{
|
|
4708
|
+
margin-top: 0.5rem;
|
|
4709
|
+
cursor: pointer;
|
|
4710
|
+
padding: 0.5rem;
|
|
4711
|
+
}
|
|
4712
|
+
|
|
4713
|
+
}
|
|
4714
|
+
|
|
4715
|
+
|
|
4678
4716
|
/* Loader */
|
|
4679
4717
|
.funLoader{
|
|
4680
4718
|
color: var(--primary);
|
|
@@ -4820,7 +4858,7 @@ background-color: rgba(0, 0, 0, 0.2);
|
|
|
4820
4858
|
.w-70-p { width: 70% !important; }
|
|
4821
4859
|
.w-80-p { width: 80% !important; }
|
|
4822
4860
|
.w-90-p { width: 90% !important; }
|
|
4823
|
-
.w-100-p { width: 100% !important; }
|
|
4861
|
+
.w-100-p , .w-full { width: 100% !important; }
|
|
4824
4862
|
|
|
4825
4863
|
|
|
4826
4864
|
.w-10 { width: 0.625rem !important; }
|
|
@@ -5237,7 +5275,7 @@ background-color: rgba(0, 0, 0, 0.2);
|
|
|
5237
5275
|
.h-70-p { height: 70% !important; }
|
|
5238
5276
|
.h-80-p { height: 80% !important; }
|
|
5239
5277
|
.h-90-p { height: 90% !important; }
|
|
5240
|
-
.h-100-p { height: 100% !important; }
|
|
5278
|
+
.h-100-p , .h-full { height: 100% !important; }
|
|
5241
5279
|
|
|
5242
5280
|
|
|
5243
5281
|
.height-10-p {
|
package/index.tsx
CHANGED
|
@@ -44,7 +44,7 @@ export { default as Video } from "./ui/video/Video"
|
|
|
44
44
|
export { default as Carousel } from "./ui/carousel/Carousel"
|
|
45
45
|
export { default as RichText } from "./ui/richtext/RichText"
|
|
46
46
|
export { default as Flex } from "./ui/flex/Flex"
|
|
47
|
-
export { default as Accordion
|
|
47
|
+
export { default as Accordion} from "./ui/accordion/Accordion"
|
|
48
48
|
export { default as ScrollInView } from "./ui/ScrollInView/ScrollInView"
|
|
49
49
|
export { default as View } from "./ui/view/View"
|
|
50
50
|
export { default as DatePicker } from "./ui/datepicker/DatePicker"
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.7.
|
|
2
|
+
"version": "2.7.10",
|
|
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",
|