funuicss 2.7.8 → 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 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) !important;
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: 3px;
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(--primary500);
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: 999; /* Higher to sit above everything */
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(--raiseOpaque) !important;
3319
- backdrop-filter: var(--raiseBackdrop) !important;
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
 
@@ -4602,6 +4604,115 @@ filter: brightness(90%);
4602
4604
 
4603
4605
 
4604
4606
 
4607
+ .calendar {
4608
+ width: 100%;
4609
+ /* border: var(--border); */
4610
+ border-radius: 1rem;
4611
+ overflow: hidden;
4612
+ }
4613
+ .calendar-header {
4614
+ display: flex;
4615
+ justify-content: space-between;
4616
+ align-items: center;
4617
+ padding: 1rem;
4618
+ }
4619
+ .calendar-title{
4620
+ display: flex;
4621
+ gap: 0.5rem;
4622
+ }
4623
+ .weekday-header{
4624
+ background: var(--lighter);
4625
+ border-radius: 0.5rem;
4626
+ color: var(--primary);
4627
+ }
4628
+ .calendar-weekdays {
4629
+ display: grid;
4630
+ grid-template-columns: repeat(7, 1fr);
4631
+ text-align: center;
4632
+ font-size: 0.9rem;
4633
+ font-weight: bold;
4634
+ padding: 0.5rem 0;
4635
+ margin-bottom: 0.2rem;
4636
+ grid-gap: 0.2rem;
4637
+ border-radius: 1rem;
4638
+
4639
+ }
4640
+ .calendar-grid {
4641
+ display: grid;
4642
+ grid-template-columns: repeat(7, 1fr);
4643
+ grid-gap: 0.2rem;
4644
+ }
4645
+ .calendar-cell {
4646
+ min-height: 80px;
4647
+ background-color: var(--lighter);
4648
+ position: relative;
4649
+ border-radius: 1rem !important;
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;
4657
+ }
4658
+
4659
+ .day-box {
4660
+ position: relative;
4661
+ }
4662
+ .day-number {
4663
+ font-weight: 400;
4664
+ opacity: 0.8;
4665
+ }
4666
+
4667
+ .activities {
4668
+ margin-top: 4px;
4669
+ display: flex;
4670
+ flex-direction: column;
4671
+ gap: 0.2rem;
4672
+ }
4673
+ .activity-tag {
4674
+ font-size: 0.75rem;
4675
+ background: var(--page-bg);
4676
+ font-weight: 500;
4677
+ padding: 2px 4px;
4678
+ border-radius: 0.5rem;
4679
+ line-height: 1 !important;
4680
+ cursor: pointer;
4681
+ }
4682
+ .add-icon {
4683
+ position: absolute;
4684
+ bottom: 4px;
4685
+ right: 4px;
4686
+ }
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
+
4605
4716
  /* Loader */
4606
4717
  .funLoader{
4607
4718
  color: var(--primary);
@@ -4747,7 +4858,7 @@ background-color: rgba(0, 0, 0, 0.2);
4747
4858
  .w-70-p { width: 70% !important; }
4748
4859
  .w-80-p { width: 80% !important; }
4749
4860
  .w-90-p { width: 90% !important; }
4750
- .w-100-p { width: 100% !important; }
4861
+ .w-100-p , .w-full { width: 100% !important; }
4751
4862
 
4752
4863
 
4753
4864
  .w-10 { width: 0.625rem !important; }
@@ -5164,7 +5275,7 @@ background-color: rgba(0, 0, 0, 0.2);
5164
5275
  .h-70-p { height: 70% !important; }
5165
5276
  .h-80-p { height: 80% !important; }
5166
5277
  .h-90-p { height: 90% !important; }
5167
- .h-100-p { height: 100% !important; }
5278
+ .h-100-p , .h-full { height: 100% !important; }
5168
5279
 
5169
5280
 
5170
5281
  .height-10-p {
package/index.d.ts CHANGED
@@ -48,5 +48,6 @@ 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";
51
+ export { default as Calendar } from "./ui/calendar/Calendar";
51
52
  export { default as Cookie } from "./js/Cookie";
52
53
  export { FunGet } from "./js/Fun";
package/index.js CHANGED
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DatePicker = exports.View = exports.ScrollInView = exports.Accordion = exports.Flex = exports.RichText = exports.Carousel = exports.Video = exports.SideBar = exports.ChartPie = exports.Lines = exports.Bars = exports.FullCenteredPage = exports.CircleGroup = 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
- exports.FunGet = exports.Cookie = void 0;
7
+ exports.FunGet = exports.Cookie = exports.Calendar = void 0;
8
8
  var Alert_1 = require("./ui/alert/Alert");
9
9
  Object.defineProperty(exports, "Alert", { enumerable: true, get: function () { return __importDefault(Alert_1).default; } });
10
10
  var theme_1 = require("./ui/theme/theme");
@@ -105,6 +105,8 @@ var View_1 = require("./ui/view/View");
105
105
  Object.defineProperty(exports, "View", { enumerable: true, get: function () { return __importDefault(View_1).default; } });
106
106
  var DatePicker_1 = require("./ui/datepicker/DatePicker");
107
107
  Object.defineProperty(exports, "DatePicker", { enumerable: true, get: function () { return __importDefault(DatePicker_1).default; } });
108
+ var Calendar_1 = require("./ui/calendar/Calendar");
109
+ Object.defineProperty(exports, "Calendar", { enumerable: true, get: function () { return __importDefault(Calendar_1).default; } });
108
110
  // js
109
111
  var Cookie_1 = require("./js/Cookie");
110
112
  Object.defineProperty(exports, "Cookie", { enumerable: true, get: function () { return __importDefault(Cookie_1).default; } });
package/index.tsx CHANGED
@@ -44,10 +44,11 @@ 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 } from "./ui/accordion/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"
51
+ export { default as Calendar } from "./ui/calendar/Calendar"
51
52
 
52
53
  // js
53
54
  export { default as Cookie } from "./js/Cookie"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.7.8",
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",