ml-ui-lib 1.0.9 → 1.0.11

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.
Files changed (47) hide show
  1. package/dist/common.css +18 -0
  2. package/dist/components/Accordion/Accordion.css +69 -0
  3. package/dist/components/Accordion/Accordion.d.ts +14 -0
  4. package/dist/components/Accordion/Accordion.js +28 -0
  5. package/dist/components/Button/Button.css +13 -3
  6. package/dist/components/Button/Button.d.ts +1 -1
  7. package/dist/components/Card/Card.css +89 -0
  8. package/dist/components/Card/Card.d.ts +13 -0
  9. package/dist/components/Card/Card.js +13 -0
  10. package/dist/components/Carousel/Carousel.css +202 -0
  11. package/dist/components/Carousel/Carousel.d.ts +22 -0
  12. package/dist/components/Carousel/Carousel.js +22 -0
  13. package/dist/components/DatePicker/DatePicker.css +1 -2
  14. package/dist/components/DatePicker2/DatePicker2.css +61 -37
  15. package/dist/components/DatePicker2/DatePicker2.js +5 -5
  16. package/dist/components/Dropdown/Dropdown.css +0 -1
  17. package/dist/components/ExpandablePanel/ExpandablePanel.css +111 -0
  18. package/dist/components/ExpandablePanel/ExpandablePanel.d.ts +14 -0
  19. package/dist/components/ExpandablePanel/ExpandablePanel.js +54 -0
  20. package/dist/components/Footer/Footer.css +331 -0
  21. package/dist/components/Footer/Footer.d.ts +23 -0
  22. package/dist/components/Footer/Footer.js +27 -0
  23. package/dist/components/InputWithContinue/InputWithContinue.css +69 -0
  24. package/dist/components/InputWithContinue/InputWithContinue.d.ts +11 -0
  25. package/dist/components/InputWithContinue/InputWithContinue.js +93 -0
  26. package/dist/components/MLContainer/MLContainer.css +47 -0
  27. package/dist/components/MLContainer/MLContainer.d.ts +11 -0
  28. package/dist/components/MLContainer/MLContainer.js +12 -0
  29. package/dist/components/Modal/Modal.css +20 -43
  30. package/dist/components/Modal/Modal.d.ts +1 -0
  31. package/dist/components/Modal/Modal.js +6 -10
  32. package/dist/components/Navbar/Navbar.css +146 -0
  33. package/dist/components/Navbar/Navbar.d.ts +21 -0
  34. package/dist/components/Navbar/Navbar.js +55 -0
  35. package/dist/components/PageBanner/PageBanner.css +104 -0
  36. package/dist/components/PageBanner/PageBanner.d.ts +17 -0
  37. package/dist/components/PageBanner/PageBanner.js +7 -0
  38. package/dist/components/PhoneInput/PhoneInput.css +26 -2
  39. package/dist/components/SlidingPanelBottom/SlidingPanelBottom.css +171 -0
  40. package/dist/components/SlidingPanelBottom/SlidingPanelBottom.d.ts +13 -0
  41. package/dist/components/SlidingPanelBottom/SlidingPanelBottom.js +90 -0
  42. package/dist/components/Table/Table.css +82 -0
  43. package/dist/components/Table/Table.d.ts +14 -0
  44. package/dist/components/Table/Table.js +10 -0
  45. package/dist/index.d.ts +22 -0
  46. package/dist/index.js +11 -0
  47. package/package.json +1 -1
package/dist/common.css CHANGED
@@ -25,3 +25,21 @@ button {
25
25
  border-radius: var(--ml-radius);
26
26
  transition: all 0.2s ease;
27
27
  }
28
+
29
+ .scrollbar::-webkit-scrollbar-track {
30
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
31
+ border-radius: 10px;
32
+ background-color: #f5f5f5;
33
+ }
34
+
35
+ .scrollbar::-webkit-scrollbar {
36
+ width: 5px; /* vertical scrollbar */
37
+ height: 5px; /* horizontal scrollbar */
38
+ background-color: #f5f5f5;
39
+ }
40
+
41
+ .scrollbar::-webkit-scrollbar-thumb {
42
+ border-radius: 10px;
43
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
44
+ background-color: #aeaeae;
45
+ }
@@ -0,0 +1,69 @@
1
+ .accordion {
2
+ width: 100%;
3
+ font-family: "Inter", sans-serif;
4
+ color: #222;
5
+ }
6
+
7
+ .accordion-group {
8
+ margin-bottom: 1.5rem;
9
+ }
10
+
11
+ .accordion-group-title {
12
+ font-size: 1.1rem;
13
+ font-weight: 600;
14
+ color: #444;
15
+ margin-bottom: 0.5rem;
16
+ }
17
+
18
+ .accordion-item {
19
+ border: 1px solid #e5e7eb;
20
+ border-radius: 10px;
21
+ margin-bottom: 0.75rem;
22
+ overflow: hidden;
23
+ background-color: #fff;
24
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
25
+ transition: all 0.3s ease;
26
+ }
27
+
28
+ .accordion-header {
29
+ width: 100%;
30
+ background: #f9fafb;
31
+ border: none;
32
+ padding: 1rem 1.25rem;
33
+ display: flex;
34
+ justify-content: space-between;
35
+ align-items: center;
36
+ cursor: pointer;
37
+ text-align: left;
38
+ font-size: 1rem;
39
+ font-weight: 500;
40
+ transition: background 0.2s ease;
41
+ }
42
+
43
+ .accordion-header:hover {
44
+ background: #f3f4f6;
45
+ }
46
+
47
+ .accordion-icon {
48
+ transition: transform 0.3s ease;
49
+ font-size: 1rem;
50
+ color: #6b7280;
51
+ }
52
+
53
+ .accordion-icon.open {
54
+ transform: rotate(180deg);
55
+ }
56
+
57
+ .accordion-content-wrapper {
58
+ overflow: hidden;
59
+ max-height: 0;
60
+ transition: max-height 0.35s ease;
61
+ background: #fff;
62
+ }
63
+
64
+ .accordion-content {
65
+ padding: 1rem 1.25rem;
66
+ font-size: 0.95rem;
67
+ color: #555;
68
+ line-height: 1.6;
69
+ }
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import "./Accordion.css";
3
+ export interface AccordionSubItem {
4
+ title: string;
5
+ content: string;
6
+ }
7
+ export interface AccordionGroup {
8
+ title: string;
9
+ items: AccordionSubItem[];
10
+ }
11
+ export interface AccordionProps {
12
+ items: AccordionGroup[];
13
+ }
14
+ export declare const Accordion: React.FC<AccordionProps>;
@@ -0,0 +1,28 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState, useRef, useEffect } from "react";
3
+ import "./Accordion.css";
4
+ export const Accordion = ({ items }) => {
5
+ const [openIndexes, setOpenIndexes] = useState([]);
6
+ const contentRefs = useRef([]);
7
+ const toggleItem = (index) => {
8
+ setOpenIndexes((prev) => prev.includes(index) ? prev.filter((i) => i !== index) : [...prev, index]);
9
+ };
10
+ useEffect(() => {
11
+ openIndexes.forEach((index) => {
12
+ const content = contentRefs.current[index];
13
+ if (content) {
14
+ const scrollHeight = content.scrollHeight;
15
+ content.style.maxHeight = `${scrollHeight}px`;
16
+ }
17
+ });
18
+ }, [openIndexes]);
19
+ return (_jsx("div", { className: "accordion", children: items.map((group, groupIndex) => (_jsxs("div", { className: "accordion-group", children: [group.title && _jsx("h3", { className: "accordion-group-title", children: group.title }), group.items.map((item, itemIndex) => {
20
+ const index = groupIndex * 1000 + itemIndex;
21
+ const isOpen = openIndexes.includes(index);
22
+ return (_jsxs("div", { className: `accordion-item ${isOpen ? "open" : ""}`, children: [_jsxs("button", { className: "accordion-header", onClick: () => toggleItem(index), children: [_jsx("span", { className: "accordion-title", children: item.title }), _jsx("span", { className: `accordion-icon ${isOpen ? "open" : ""}`, children: "\u25BC" })] }), _jsx("div", { ref: (el) => (contentRefs.current[index] = el), className: "accordion-content-wrapper", style: {
23
+ maxHeight: isOpen
24
+ ? `${contentRefs.current[index]?.scrollHeight}px`
25
+ : "0px",
26
+ }, children: _jsx("div", { className: "accordion-content", children: item.content }) })] }, index));
27
+ })] }, groupIndex))) }));
28
+ };
@@ -1,24 +1,34 @@
1
1
  .btn {
2
2
  border: none;
3
- border-radius: 6px;
4
- padding: 10px 16px;
3
+ border-radius: 25px;
4
+ padding: 10px 20px;
5
5
  cursor: pointer;
6
6
  font-size: 16px;
7
+ font-weight: 500;
7
8
  /* margin: 10px; */
8
9
  }
9
10
 
10
11
  .btn-default {
11
12
  background: #ffffff;
12
13
  color: #5d5d5d;
13
- border: solid 0.5px #5d5d5d;
14
+ border: solid 1px #ffffff;
14
15
  }
15
16
 
16
17
  .btn-red {
17
18
  background: #ff0000;
18
19
  color: #ffffff;
20
+ border: solid 1px #ff0000;
19
21
  }
20
22
 
21
23
  .btn-black {
22
24
  background: #333333;
23
25
  color: #ffffff;
26
+ border: solid 1px #333;
27
+
28
+ }
29
+
30
+ .btn-tranparent-white {
31
+ background: transparent;
32
+ color: #fff;
33
+ border: solid 1px #fff;
24
34
  }
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import "./Button.css";
3
3
  export interface ButtonProps {
4
4
  label: string;
5
- variant?: "default" | "red" | "black";
5
+ variant?: "default" | "red" | "black" | "tranparent-white";
6
6
  onClick?: () => void;
7
7
  }
8
8
  export declare const Button: React.FC<ButtonProps>;
@@ -0,0 +1,89 @@
1
+ .card {
2
+ background: #ffffff;
3
+ border-radius: 12px;
4
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
5
+ /* padding: 1.5rem; */
6
+ display: flex;
7
+ flex-direction: column;
8
+ overflow: hidden;
9
+ max-width: 100%;
10
+ box-sizing: border-box;
11
+ transition: box-shadow 0.25s ease, transform 0.25s ease;
12
+ }
13
+
14
+ /* Hoverable behavior only if enabled */
15
+ .card.hoverable:hover {
16
+ transform: translateY(-3px);
17
+ box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
18
+ cursor: pointer;
19
+ }
20
+
21
+ /* Grid container */
22
+ .card-grid {
23
+ display: grid;
24
+ gap: 1.5rem;
25
+ align-items: start;
26
+ width: 100%;
27
+ box-sizing: border-box;
28
+ overflow-wrap: break-word;
29
+ word-wrap: break-word;
30
+ word-break: break-word;
31
+ }
32
+
33
+ /* Each section */
34
+ .card-section {
35
+ display: flex;
36
+ flex-direction: column;
37
+ justify-content: flex-start;
38
+ min-width: 0;
39
+ }
40
+
41
+ /* Text elements should wrap */
42
+ .card-section p,
43
+ .card-section span,
44
+ .card-section li,
45
+ .card-section h1,
46
+ .card-section h2,
47
+ .card-section h3,
48
+ .card-section h4,
49
+ .card-section h5,
50
+ .card-section h6 {
51
+ margin: 0;
52
+ overflow-wrap: anywhere;
53
+ word-break: break-word;
54
+ white-space: normal;
55
+ }
56
+
57
+ /* Image / cover section */
58
+ .card-image-section {
59
+ padding: 0; /* remove text padding */
60
+ overflow: hidden;
61
+ border-radius: 12px;
62
+ }
63
+
64
+ .card-image-section img {
65
+ width: 100%;
66
+ height: 100%;
67
+ object-fit: cover;
68
+ display: block;
69
+ /* border-radius: 12px; */
70
+ }
71
+
72
+ /* Responsive stacking */
73
+ @media (max-width: 992px) {
74
+ .card {
75
+ margin-bottom: 10px;
76
+ }
77
+ /* .card-grid {
78
+ grid-template-columns: 1fr !important;
79
+ } */
80
+
81
+ /* .card-section {
82
+ padding-bottom: 1rem;
83
+ border-bottom: 1px solid #eee;
84
+ } */
85
+
86
+ /* .card-section:last-child {
87
+ border-bottom: none;
88
+ } */
89
+ }
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import "./Card.css";
3
+ export interface CardProps {
4
+ children: React.ReactNode[] | React.ReactNode;
5
+ columns?: number;
6
+ columnWidths?: string[];
7
+ width?: string;
8
+ hoverable?: boolean;
9
+ className?: string;
10
+ style?: React.CSSProperties;
11
+ }
12
+ export declare const Card: React.FC<CardProps>;
13
+ export default Card;
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from "react";
3
+ import "./Card.css";
4
+ export const Card = ({ children, columns = 1, columnWidths, width = "100%", hoverable = false, className = "", style, }) => {
5
+ const gridTemplateColumns = columnWidths && columnWidths.length
6
+ ? columnWidths.map((w) => `minmax(0, ${w})`).join(" ")
7
+ : `repeat(${columns}, minmax(0, 1fr))`;
8
+ return (_jsx("div", { className: `card ${hoverable ? "hoverable" : ""} ${className}`, style: { width, ...style }, children: _jsx("div", { className: "card-grid", style: { gridTemplateColumns }, children: React.Children.map(children, (child, i) => (_jsx("div", { className: `card-section ${React.isValidElement(child) &&
9
+ child.props?.className?.includes("card-image")
10
+ ? "card-image-section"
11
+ : ""}`, children: child }, i))) }) }));
12
+ };
13
+ export default Card;
@@ -0,0 +1,202 @@
1
+ .carousel {
2
+ position: relative;
3
+ overflow: hidden;
4
+ width: 100%;
5
+ }
6
+
7
+ .carousel-track {
8
+ display: flex;
9
+ transition: transform 0.6s ease-in-out;
10
+ width: 100%;
11
+ }
12
+
13
+ .carousel-slide {
14
+ min-width: 100%;
15
+ display: grid;
16
+ grid-template-columns: 1fr 1fr;
17
+ align-items: center;
18
+ padding: 0rem 0rem 0rem 5rem;
19
+ gap: 2rem;
20
+ }
21
+
22
+ .carousel-text h2 {
23
+ font-size: 50px;
24
+ font-weight: 700;
25
+ margin-bottom: 1rem;
26
+ width: 135%;
27
+ position: relative;
28
+ z-index: 1;
29
+ }
30
+
31
+ .carousel-text p {
32
+ font-size: 1.1rem;
33
+ margin-bottom: 1.5rem;
34
+ color: #555;
35
+ }
36
+
37
+ .carousel-buttons {
38
+ display: flex;
39
+ gap: 1rem;
40
+ flex-wrap: wrap;
41
+ }
42
+
43
+ .carousel-image {
44
+ position: relative;
45
+ overflow: hidden;
46
+ }
47
+
48
+ .carousel-image img {
49
+ width: 100%;
50
+ height: auto;
51
+ display: block;
52
+ object-fit: cover;
53
+ transition: width 0.5s ease-in-out;
54
+
55
+ /* ✅ Fades in only on the left 15% of the image */
56
+ mask-image: linear-gradient(to right,
57
+ transparent 0%,
58
+ rgb(255, 255, 255) 45%,
59
+ rgb(255, 255, 255) 100%);
60
+
61
+ /* For WebKit browsers (Safari, Chrome) */
62
+ -webkit-mask-image: linear-gradient(to right,
63
+ transparent 0%,
64
+ rgb(255, 255, 255) 45%,
65
+ rgb(255, 255, 255) 100%);
66
+ }
67
+
68
+ /* ✅ Red fade overlay on the image itself */
69
+ /* .carousel-image::after {
70
+ content: '';
71
+ position: absolute;
72
+ top: 0;
73
+ left: 0;
74
+ width: 40%;
75
+ height: 100%;
76
+ background: linear-gradient(to right, rgba(255, 0, 0, 0.9), rgba(255, 0, 0, 0.2), transparent);
77
+ pointer-events: none;
78
+ z-index: 2;
79
+ } */
80
+
81
+ /* .carousel-image::before {
82
+ content: '';
83
+ position: absolute;
84
+ left: 0;
85
+ top: 0;
86
+ width: 15%;
87
+ height: 100%;
88
+ background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
89
+ pointer-events: none;
90
+ z-index: 3;
91
+ } */
92
+
93
+ /* Controls */
94
+ .carousel-control {
95
+ position: absolute;
96
+ top: 50%;
97
+ transform: translateY(-50%);
98
+ background: rgba(255, 255, 255, 0);
99
+ color: rgba(255, 255, 255, 0.462);
100
+ border: none;
101
+ font-size: 2rem;
102
+ padding: 0.5rem 1rem;
103
+ cursor: pointer;
104
+ z-index: 5;
105
+ border-radius: 50%;
106
+ transition: background 0.3s;
107
+ }
108
+
109
+ .carousel-control:hover {
110
+ color: rgba(255, 255, 255, 1);
111
+ }
112
+
113
+ .carousel-control.prev {
114
+ left: 1rem;
115
+ }
116
+
117
+ .carousel-control.next {
118
+ right: 1rem;
119
+ }
120
+
121
+ /* Dots */
122
+ .carousel-dots {
123
+ text-align: center;
124
+ margin-top: -1.5rem;
125
+ }
126
+
127
+ .dot {
128
+ height: 10px;
129
+ width: 10px;
130
+ background-color: #bbb;
131
+ border-radius: 50%;
132
+ display: inline-block;
133
+ margin: 0 4px;
134
+ cursor: pointer;
135
+ transition: background-color 0.3s;
136
+ }
137
+
138
+ .dot.active {
139
+ background-color: #333;
140
+ }
141
+
142
+ @media (max-width: 1150px) {
143
+ .carousel-image img {
144
+ width: 130%;
145
+ }
146
+ }
147
+
148
+ @media (max-width: 1080px) {
149
+ .carousel-image img {
150
+ width: 150%;
151
+ }
152
+ }
153
+
154
+ /* Responsive */
155
+ @media (max-width: 992px) {
156
+ .carousel-slide {
157
+ grid-template-columns: 1fr;
158
+ text-align: center;
159
+ padding: 5rem 2rem;
160
+ }
161
+
162
+ .carousel-image {
163
+ display: none;
164
+ }
165
+
166
+ .carousel-text h2 {
167
+ font-size: 1.75rem;
168
+ position: static;
169
+ width: 100%;
170
+ }
171
+
172
+ .carousel-buttons {
173
+ justify-content: center;
174
+ }
175
+ }
176
+
177
+ @media (max-width: 576px) {
178
+ /* .carousel-buttons {
179
+ justify-content: flex-start;
180
+ } */
181
+
182
+ .carousel-image {
183
+ display: none;
184
+ }
185
+
186
+ .carousel-slide {
187
+ padding: 2rem 1rem;
188
+ }
189
+
190
+ .carousel-track>*:not(:first-child) {
191
+ display: none !important;
192
+ }
193
+
194
+ .carousel-track {
195
+ transform: none !important;
196
+ /* reset any slider offset */
197
+ }
198
+
199
+ .carousel-control {
200
+ visibility: hidden;
201
+ }
202
+ }
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import './Carousel.css';
3
+ export interface CarouselButton {
4
+ label: string;
5
+ variant?: "default" | "red" | "black" | "tranparent-white";
6
+ onClick?: () => void;
7
+ link?: string;
8
+ target?: '_blank' | '_self';
9
+ }
10
+ export interface CarouselItem {
11
+ title: string;
12
+ description?: string;
13
+ image?: string;
14
+ buttons?: CarouselButton[];
15
+ }
16
+ export interface CarouselProps {
17
+ items: CarouselItem[];
18
+ autoSlide?: boolean;
19
+ interval?: number;
20
+ color?: string;
21
+ }
22
+ export declare const Carousel: React.FC<CarouselProps>;
@@ -0,0 +1,22 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useState, useEffect } from 'react';
4
+ import './Carousel.css';
5
+ import { Button } from '../Button/Button';
6
+ export const Carousel = ({ items, autoSlide = true, interval = 5000, color }) => {
7
+ const [current, setCurrent] = useState(0);
8
+ // Auto-slide
9
+ useEffect(() => {
10
+ if (!autoSlide)
11
+ return;
12
+ const timer = setInterval(() => {
13
+ setCurrent((prev) => (prev + 1) % items.length);
14
+ }, interval);
15
+ return () => clearInterval(timer);
16
+ }, [autoSlide, interval, items.length]);
17
+ const nextSlide = () => setCurrent((prev) => (prev + 1) % items.length);
18
+ const prevSlide = () => setCurrent((prev) => (prev - 1 + items.length) % items.length);
19
+ return (_jsxs("div", { className: "carousel", children: [_jsx("div", { className: "carousel-track", style: {
20
+ transform: `translateX(-${current * 100}%)`,
21
+ }, children: items.map((item, index) => (_jsxs("div", { className: "carousel-slide", children: [_jsxs("div", { className: "carousel-text", children: [_jsx("h2", { style: { color }, children: item.title }), item.description && _jsx("p", { style: { color }, children: item.description }), item.buttons && item.buttons.length > 0 && (_jsx("div", { className: "carousel-buttons", children: item.buttons.slice(0, 2).map((btn, idx) => btn.link ? (_jsx("a", { href: btn.link, target: btn.target || '_self', rel: btn.target === '_blank' ? 'noopener noreferrer' : undefined, children: _jsx(Button, { label: btn.label, variant: btn.variant || 'default' }) }, idx)) : (_jsx(Button, { label: btn.label, variant: btn.variant || 'default', onClick: btn.onClick }, idx))) }))] }), item.image && (_jsxs("div", { className: "carousel-image", children: [_jsx("img", { src: item.image, alt: item.title }), _jsx("span", { className: "tranparentClass" })] }))] }, index))) }), _jsx("button", { className: "carousel-control prev", onClick: prevSlide, children: "\u276E" }), _jsx("button", { className: "carousel-control next", onClick: nextSlide, children: "\u276F" })] }));
22
+ };
@@ -1,7 +1,6 @@
1
1
  .datepicker-wrapper {
2
2
  position: relative;
3
- font-family: "Poppins", sans-serif;
4
- width: 250px;
3
+ width: 100%;
5
4
  }
6
5
 
7
6
  .datepicker-input-wrapper {
@@ -1,19 +1,22 @@
1
1
  .date-picker-wrapper {
2
- display: flex;
2
+ /* display: flex;
3
3
  gap: 8px;
4
- font-family: "Poppins", sans-serif;
5
- flex-wrap: wrap;
4
+ flex-wrap: wrap; */
5
+ display: flex;
6
+ align-items: center;
7
+ position: relative;
8
+ gap: .5rem;
6
9
  }
7
10
 
8
- .full-width {
11
+ /* .full-width {
9
12
  flex: 1 1 100px;
10
- /* position: relative; */
11
- }
13
+ position: relative;
14
+ } */
12
15
 
13
16
  .date-picker-dropdown {
14
17
  cursor: pointer;
15
18
  background: #fff;
16
- border: 1px solid #ddd;
19
+ border: 1px solid #ccc;
17
20
  border-radius: 6px;
18
21
  align-items: center;
19
22
  padding: 0.4rem 0.6rem;
@@ -27,38 +30,26 @@
27
30
  color: #666;
28
31
  }
29
32
 
30
- .date-picker-grid-wrapper {
31
- width: 30%;
32
- position: absolute;
33
- /* left: 0px; */
34
- /* top: 40px;
35
- background: #fff;
36
- border: 1px solid #ddd;
37
- border-radius: 6px;
38
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
39
- z-index: 10; */
40
- }
41
-
42
33
  .date-picker-header {
43
- display: flex;
44
- justify-content: space-between;
45
- flex-direction: row;
46
- position: absolute;
47
- z-index: 100;
48
- left: 0px;
49
- padding: 10px;
50
- width: 100%;
51
- background-color: #f5f5f5;
52
- margin-top: 5px;
53
- border-top-left-radius: 8px;
54
- border-top-right-radius: 8px;
34
+ display: flex;
35
+ justify-content: space-between;
36
+ flex-direction: row;
37
+ position: absolute;
38
+ z-index: 100;
39
+ left: 0px;
40
+ padding: 10px;
41
+ width: 100%;
42
+ background-color: #f5f5f5;
43
+ margin-top: 5px;
44
+ border-top-left-radius: 8px;
45
+ border-top-right-radius: 8px;
55
46
  }
56
47
 
57
48
  .date-picker-header button {
58
- background-color: #ffffff;
59
- color: #5f5f5f;
60
- border-radius: 15px;
61
- border: 0.5px solid #5f5f5f;
49
+ background-color: #ffffff;
50
+ color: #5f5f5f;
51
+ border-radius: 15px;
52
+ border: 0.5px solid #5f5f5f;
62
53
  }
63
54
 
64
55
  .date-picker-grid {
@@ -107,7 +98,40 @@
107
98
  overflow-y: auto;
108
99
  position: absolute;
109
100
  z-index: 30;
110
- /* width: 100%; */
101
+ width: 100%;
111
102
  margin-top: 10px;
112
103
  left: 0px;
113
- }
104
+ }
105
+
106
+ .box-shadow {
107
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
108
+ }
109
+
110
+ .full-width {
111
+ max-width: 100%;
112
+ width: 100%;
113
+ }
114
+
115
+ .date-picker-wrapper {
116
+ width: 100% !important;
117
+ }
118
+
119
+ /* @media(max-width: 514px) {
120
+ .date-picker-wrapper {
121
+ width: 100% !important;
122
+ }
123
+
124
+ }
125
+
126
+ @media (min-width: 515px),
127
+ (max-width: 990px) {
128
+ .date-picker-wrapper {
129
+ width: 100% !important
130
+ }
131
+ }
132
+
133
+ @media (min-width: 991px) {
134
+ .date-picker-wrapper {
135
+ width: 100% !important
136
+ }
137
+ } */