funuicss 3.0.9 → 3.1.0

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
@@ -2774,7 +2774,7 @@ color: var(--text-color);
2774
2774
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
2775
2775
  }
2776
2776
 
2777
- .center-play-icon{
2777
+ ._center-play-icon{
2778
2778
  position: absolute;
2779
2779
  top: 50%;
2780
2780
  left: 50%;
@@ -2793,41 +2793,30 @@ color: var(--text-color);
2793
2793
 
2794
2794
 
2795
2795
 
2796
- .play-button {
2796
+ ._play-button {
2797
2797
  display: flex;
2798
2798
  align-items: center;
2799
2799
  justify-content: center;
2800
- width: 4rem;
2801
- height: 4rem;
2802
- border: 3px solid var(--borderColor);
2800
+ width: 3rem;
2801
+ height: 3rem;
2802
+ border: 2px solid var(--borderColor) !important;
2803
2803
  border-radius: 50%;
2804
- background: var(--raiseThemes);
2804
+ background-color: var(--raiseOpaque);
2805
2805
  backdrop-filter: var(--raiseBackdrop) !important;
2806
2806
  transition: transform 0.3s ease;
2807
- animation: pulse 2s infinite;
2808
2807
  cursor: pointer;
2808
+ z-index: 2;
2809
2809
 
2810
2810
  }
2811
2811
 
2812
- .play-button:hover {
2813
- transform: scale(1.1);
2814
- background: var(--primary);
2812
+ ._play-button:hover {
2813
+ background-color: var(--primary) !important;
2815
2814
  color: var(--white) !important;
2816
2815
  border-color: var(--primary400);
2817
2816
  color: var(--text-color);
2818
2817
  }
2819
2818
 
2820
- @keyframes pulse {
2821
- 0% {
2822
- box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
2823
- }
2824
- 70% {
2825
- box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
2826
- }
2827
- 100% {
2828
- box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
2829
- }
2830
- }
2819
+
2831
2820
 
2832
2821
  .styled-slider {
2833
2822
  appearance: none;
@@ -4272,7 +4261,6 @@ opacity: 0.9;
4272
4261
  }
4273
4262
  .modal-body {
4274
4263
  height: 100%;
4275
- overflow: auto;
4276
4264
  }
4277
4265
 
4278
4266
  .modal-action {
@@ -6662,3 +6650,4 @@ background-color: rgba(0, 0, 0, 0.2);
6662
6650
  }
6663
6651
 
6664
6652
 
6653
+
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.0.9",
2
+ "version": "3.1.0",
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",
package/ui/modal/Modal.js CHANGED
@@ -87,10 +87,10 @@ function Modal(_a) {
87
87
  return (React.createElement("div", { className: "modal ".concat(backdrop ? 'backdrop' : '', " ").concat(position || ''), id: modalId, onClick: handleClickOutside },
88
88
  React.createElement("div", __assign({ className: "modal-content ".concat(funcss || '', " ").concat(flat ? 'flat' : ''), style: {
89
89
  animation: "".concat(duration || 0.2, "s ").concat(animation || 'ScaleUp'),
90
- maxWidth: maxWidth || undefined,
91
- maxHeight: maxHeight || undefined,
90
+ maxWidth: maxWidth || "100%",
91
+ maxHeight: maxHeight || "fit-content",
92
92
  width: width || '100%',
93
- height: height || undefined,
93
+ height: height || "fit-content",
94
94
  } }, rest),
95
95
  title && (React.createElement(Header_1.default, { funcss: titlecss || '', title: title, close: !hideClose ?
96
96
  React.createElement("div", { onClick: function () { return setOpen(false); }, className: "".concat(closecss || '', " pointer hover-text-error") }, close || React.createElement(pi_1.PiX, { size: 25 }))
package/ui/video/Video.js CHANGED
@@ -274,8 +274,8 @@ function Video(_a) {
274
274
  react_1.default.createElement("input", { type: "range", min: 0, max: duration, value: currentTime, onChange: handleProgressBarChange, className: "width-100-p videoSlider styled-slider m-0", "aria-label": "Progress bar", style: { '--progress': "".concat((currentTime / duration) * 100) } })),
275
275
  react_1.default.createElement("div", { className: "video_time" },
276
276
  react_1.default.createElement(Text_1.default, { text: "".concat((0, videoFunctions_1.formatTime)(duration - currentTime)), funcss: 'm-0', size: "sm" })))),
277
- react_1.default.createElement("div", { className: "center-play-icon animated fade-in", onClick: handlePlayPauseToggle },
278
- react_1.default.createElement("div", { className: 'play-button' }, isPlaying ? react_1.default.createElement(pi_1.PiPause, { size: 30 }) : react_1.default.createElement(pi_1.PiPlay, { size: 30 }))),
277
+ react_1.default.createElement("div", { className: "_center-play-icon animated fade-in", onClick: handlePlayPauseToggle },
278
+ react_1.default.createElement("div", { className: '_play-button' }, isPlaying ? react_1.default.createElement(pi_1.PiPause, { size: 20 }) : react_1.default.createElement(pi_1.PiPlay, { size: 20 }))),
279
279
  react_1.default.createElement(RowFlex_1.default, { funcss: 'animated slide-up', gap: 1, justify: "center" },
280
280
  react_1.default.createElement(RowFlex_1.default, { gap: 0.5 },
281
281
  react_1.default.createElement(ToolTip_1.default, null,