@bikiran/utils 1.18.1 → 2.0.1
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/LICENSE +21 -21
- package/README.md +168 -102
- package/dist/components/Profile/authTypes.ts +21 -21
- package/dist/components/Profile/style/LoginBtn.module.css +6 -6
- package/dist/components/Profile/style/ProfileManage.module.css +6 -6
- package/dist/components/Profile/style/ProfileMenuList.module.css +50 -50
- package/dist/components/Profile/style/ProfileMenuPopup.module.css +30 -30
- package/dist/components/Profile/style/ProfileUserInformation.module.css +26 -26
- package/dist/components/Profile/style/ProfileView.module.css +12 -12
- package/dist/components/button-wrapper/style/style.module.css +18 -18
- package/dist/components/cookie-accept-popup/style/CookieAcceptPopup.module.css +12 -12
- package/dist/components/currency-selector/style/CurrencySelector.module.css +28 -28
- package/dist/components/custom-sidebar/style/CustomSidebar.module.css +21 -21
- package/dist/components/filter-wrapper/style/FilterBarWrapper.module.css +41 -41
- package/dist/components/header/header.css +61 -61
- package/dist/components/header/headerType.ts +15 -15
- package/dist/components/header/icons/icon-about-us-submenu.svg +6 -6
- package/dist/components/header/icons/icon-about-us.svg +5 -5
- package/dist/components/header/icons/icon-all-service.svg +11 -11
- package/dist/components/header/icons/icon-arrow-v2.svg +3 -3
- package/dist/components/header/icons/icon-bell-fill.svg +3 -3
- package/dist/components/header/icons/icon-bik-logo.svg +13 -13
- package/dist/components/header/icons/icon-contacts.svg +6 -6
- package/dist/components/header/icons/icon-domain.svg +4 -4
- package/dist/components/header/icons/icon-hosting.svg +5 -5
- package/dist/components/header/icons/icon-our-clients.svg +4 -4
- package/dist/components/header/sidebar/SidebarConstants.ts +55 -55
- package/dist/components/header/sidebar/sidebarStyle.css +32 -32
- package/dist/components/information-tooltip/icons.js +4 -4
- package/dist/components/information-tooltip/style/InfoTooltip.module.css +62 -62
- package/dist/components/loading-comp/style/LoadingComp.module.css +3 -3
- package/dist/components/pageLoading/style/PageLoading.module.css +7 -7
- package/dist/components/pagination2/style/Pagination.module.css +27 -27
- package/dist/components/project-selector/projectConstants.ts +23 -23
- package/dist/components/project-selector/projectTypes.ts +22 -22
- package/dist/components/project-selector/selector-icons/icon-arrow-down.svg +3 -3
- package/dist/components/project-selector/selector-icons/icon-default-app.svg +9 -9
- package/dist/components/services-popup/ServiceAppType.ts +10 -10
- package/dist/components/services-popup/icons/icon-account.svg +7 -7
- package/dist/components/services-popup/icons/icon-cross.svg +3 -3
- package/dist/components/services-popup/icons/icon-default-app.svg +9 -9
- package/dist/components/user-info/style/ToolTipUserInfo.module.css +28 -28
- package/dist/declaration.d.ts +9 -9
- package/dist/index.ts +15 -15
- package/dist/lib/types/GlobalType.ts +17 -17
- package/dist/lib/utils/Cookie.ts +58 -58
- package/dist/lib/utils/Copy.ts +37 -37
- package/dist/lib/utils/Env.ts +235 -235
- package/dist/lib/utils/capitalizeFirstLetter.ts +7 -7
- package/dist/lib/utils/cn.ts +4 -4
- package/dist/lib/utils/option.ts +7 -7
- package/dist/package.json +1 -1
- package/package.json +60 -60
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Kumar Bishojit Paul
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Kumar Bishojit Paul
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,102 +1,168 @@
|
|
|
1
|
-
# 7502NPM-Bikiran-Utils
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
1
|
+
# 7502NPM-Bikiran-Utils
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
A collection of utility components specifically developed for our organization's internal projects. While primarily tailored to our needs, others may find some components useful.
|
|
6
|
+
|
|
7
|
+
⚠️ **Important Note**: This package was optimized for our specific use cases and may not work as expected in all projects. Use with caution.
|
|
8
|
+
|
|
9
|
+
## Dependencies
|
|
10
|
+
|
|
11
|
+
- `clsx`
|
|
12
|
+
- `tailwind-merge`
|
|
13
|
+
- `Next.js`
|
|
14
|
+
|
|
15
|
+
Perfect! Here's how you can update the **"Available Components"** section so that each component is a clickable item linking to its dedicated documentation page in your GitHub wiki:
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Available Components
|
|
20
|
+
|
|
21
|
+
Each component below links to its own documentation page for detailed usage:
|
|
22
|
+
|
|
23
|
+
1. [Pagination](https://github.com/bikirandev/bikiran-utils/wiki/02.-Pagination)
|
|
24
|
+
2. [FilterBarWrapper](https://github.com/bikirandev/bikiran-utils/wiki/03.-FilterBarWrapper)
|
|
25
|
+
3. [ServicesPopup](https://github.com/bikirandev/bikiran-utils/wiki/05.-ServicePopup)
|
|
26
|
+
4. [ButtonWrapper](https://github.com/bikirandev/bikiran-utils/wiki/04.-ButtonWrapper)
|
|
27
|
+
5. [CurrencySelector](https://github.com/bikirandev/bikiran-utils/wiki/06.-CurrencySelector)
|
|
28
|
+
6. [CustomSidebar](https://github.com/bikirandev/bikiran-utils/wiki/07.-CustomSidebar)
|
|
29
|
+
7. [PageLoading](https://github.com/bikirandev/bikiran-utils/wiki/08.-PageLoading)
|
|
30
|
+
8. [LoadingComp](https://github.com/bikirandev/bikiran-utils/wiki/09.-LoadingComp)
|
|
31
|
+
9. [CookiesAcceptPopup](https://github.com/bikirandev/bikiran-utils/wiki/10.-CookiesAcceptPopup)
|
|
32
|
+
10. [ProfileManage](https://github.com/bikirandev/bikiran-utils/wiki/11.-ProfileManage)
|
|
33
|
+
11. [TooltipUserInfo](https://github.com/bikirandev/bikiran-utils/wiki/12.-TooltipUserInfo)
|
|
34
|
+
12. [UserInfoComp](https://github.com/bikirandev/bikiran-utils/wiki/13.-UserInfoComp)
|
|
35
|
+
|
|
36
|
+
## Getting Started
|
|
37
|
+
|
|
38
|
+
### Installation
|
|
39
|
+
|
|
40
|
+
Install the package via **npm**:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm install @bikiran/utils
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Or via **yarn**:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
yarn add @bikiran/utils
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
### How It Works
|
|
55
|
+
|
|
56
|
+
This package is designed to **seamlessly inherit your project’s Tailwind CSS theme**. It automatically uses your existing:
|
|
57
|
+
|
|
58
|
+
- **Primary/secondary colors**
|
|
59
|
+
- **Font families**
|
|
60
|
+
- **Spacing scale**
|
|
61
|
+
- **Other design tokens**
|
|
62
|
+
|
|
63
|
+
No extra configuration is needed—just ensure your `tailwind.config.js` is properly set up.
|
|
64
|
+
|
|
65
|
+
#### Example:
|
|
66
|
+
|
|
67
|
+
Your `tailwind.config.js` should define colors using CSS variables like this:
|
|
68
|
+
|
|
69
|
+
```js
|
|
70
|
+
theme: {
|
|
71
|
+
extend: {
|
|
72
|
+
colors: {
|
|
73
|
+
primary: {
|
|
74
|
+
DEFAULT: "var(--primary)",
|
|
75
|
+
50: "var(--primary-50)",
|
|
76
|
+
100: "var(--primary-100)",
|
|
77
|
+
200: "var(--primary-200)",
|
|
78
|
+
300: "var(--primary-300)",
|
|
79
|
+
500: "var(--primary-500)",
|
|
80
|
+
700: "var(--primary-700)",
|
|
81
|
+
900: "var(--primary-900)",
|
|
82
|
+
},
|
|
83
|
+
secondary: {
|
|
84
|
+
DEFAULT: "var(--secondary)",
|
|
85
|
+
50: "var(--secondary-50)",
|
|
86
|
+
100: "var(--secondary-100)",
|
|
87
|
+
300: "var(--secondary-300)",
|
|
88
|
+
500: "var(--secondary-500)",
|
|
89
|
+
700: "var(--secondary-700)",
|
|
90
|
+
900: "var(--secondary-900)",
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
This setup allows all components—like `<ButtonWrapper>` and `<CurrencySelector>`—to **automatically inherit your color scheme** across different shades.
|
|
98
|
+
|
|
99
|
+
### Basic Usage
|
|
100
|
+
|
|
101
|
+
1. **Import Components**
|
|
102
|
+
|
|
103
|
+
```tsx
|
|
104
|
+
import { ButtonWrapper, PageLoading } from "7502NPM-Bikiran-Utils";
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
2. **Use with Your Theme**
|
|
108
|
+
```tsx
|
|
109
|
+
// Buttons will adopt your project's `primary`/`secondary` colors
|
|
110
|
+
<ButtonWrapper variant="primary">Click Me</ButtonWrapper>
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Customization (Optional)
|
|
114
|
+
|
|
115
|
+
To override styles:
|
|
116
|
+
|
|
117
|
+
- Use `className` props (e.g., `<ButtonWrapper className="bg-red-500">`)
|
|
118
|
+
- Extend your Tailwind config (recommended for consistency)
|
|
119
|
+
|
|
120
|
+
### Requirements
|
|
121
|
+
|
|
122
|
+
- Next.js 14+
|
|
123
|
+
- Tailwind CSS v3+ (**must** have `primary`/`secondary` colors defined)
|
|
124
|
+
|
|
125
|
+
## Documentation
|
|
126
|
+
|
|
127
|
+
For complete documentation and usage examples, please see:
|
|
128
|
+
[Components Documentation](https://github.com/bikirandev/bikiran-utils/wiki/Home)
|
|
129
|
+
|
|
130
|
+
Sure! Here's just the **"How to Contribute"** section in Markdown:
|
|
131
|
+
|
|
132
|
+
## 🤝 How to Contribute
|
|
133
|
+
|
|
134
|
+
We welcome contributions! To contribute to the package :
|
|
135
|
+
|
|
136
|
+
1. **Fork the repository** and clone your fork locally.
|
|
137
|
+
2. **Create a new branch** for your feature or bugfix:
|
|
138
|
+
```
|
|
139
|
+
git checkout -b my-feature-name
|
|
140
|
+
```
|
|
141
|
+
3. Make your changes in supporting files.
|
|
142
|
+
4. If you’re adding a feature or behavior, consider updating the docs or usage example.
|
|
143
|
+
5. Commit your changes:
|
|
144
|
+
```
|
|
145
|
+
git commit -m "feat: add awesome feature"
|
|
146
|
+
```
|
|
147
|
+
6. Push to your fork:
|
|
148
|
+
```
|
|
149
|
+
git push origin my-feature-name
|
|
150
|
+
```
|
|
151
|
+
7. **Open a Pull Request** with a clear title and description.
|
|
152
|
+
|
|
153
|
+
### 🧪 Before submitting:
|
|
154
|
+
|
|
155
|
+
- Run and test the component in your app.
|
|
156
|
+
- Check for console errors or style breakages.
|
|
157
|
+
- Use consistent naming and follow the existing code style.
|
|
158
|
+
|
|
159
|
+
Thanks for your contribution! ❤️
|
|
160
|
+
|
|
161
|
+
## License
|
|
162
|
+
|
|
163
|
+
MIT License
|
|
164
|
+
|
|
165
|
+
## Author
|
|
166
|
+
|
|
167
|
+
Developed by [Bikiran](https://bikiran.com/)
|
|
168
|
+
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export type TAuthInfo = {
|
|
2
|
-
loading: boolean;
|
|
3
|
-
currentUser: TAuthUser;
|
|
4
|
-
error: boolean;
|
|
5
|
-
message: string;
|
|
6
|
-
referenceName?: string;
|
|
7
|
-
provider?: string;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export type TAuthUser = {
|
|
11
|
-
name: string;
|
|
12
|
-
username: string;
|
|
13
|
-
sex: string;
|
|
14
|
-
genderTxt: string;
|
|
15
|
-
dob: string;
|
|
16
|
-
dobText: string;
|
|
17
|
-
phone: string;
|
|
18
|
-
email: string;
|
|
19
|
-
photoUrl: string;
|
|
20
|
-
userUid: string;
|
|
21
|
-
refreshToken: string;
|
|
1
|
+
export type TAuthInfo = {
|
|
2
|
+
loading: boolean;
|
|
3
|
+
currentUser: TAuthUser;
|
|
4
|
+
error: boolean;
|
|
5
|
+
message: string;
|
|
6
|
+
referenceName?: string;
|
|
7
|
+
provider?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export type TAuthUser = {
|
|
11
|
+
name: string;
|
|
12
|
+
username: string;
|
|
13
|
+
sex: string;
|
|
14
|
+
genderTxt: string;
|
|
15
|
+
dob: string;
|
|
16
|
+
dobText: string;
|
|
17
|
+
phone: string;
|
|
18
|
+
email: string;
|
|
19
|
+
photoUrl: string;
|
|
20
|
+
userUid: string;
|
|
21
|
+
refreshToken: string;
|
|
22
22
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.loginBtn {
|
|
2
|
-
@apply bg-secondary-100 text-secondary rounded-lg leading-6 text-base font-normal p-2 w-24 hover:text-white hover:bg-secondary transition;
|
|
3
|
-
}
|
|
4
|
-
.userBtn {
|
|
5
|
-
@apply block size-7 cursor-pointer;
|
|
6
|
-
}
|
|
1
|
+
.loginBtn {
|
|
2
|
+
@apply bg-secondary-100 text-secondary rounded-lg leading-6 text-base font-normal p-2 w-24 hover:text-white hover:bg-secondary transition;
|
|
3
|
+
}
|
|
4
|
+
.userBtn {
|
|
5
|
+
@apply block size-7 cursor-pointer;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
.profileManage {
|
|
2
|
-
@apply relative z-50;
|
|
3
|
-
}
|
|
4
|
-
.content {
|
|
5
|
-
@apply flex items-center gap-2;
|
|
6
|
-
}
|
|
1
|
+
.profileManage {
|
|
2
|
+
@apply relative z-50;
|
|
3
|
+
}
|
|
4
|
+
.content {
|
|
5
|
+
@apply flex items-center gap-2;
|
|
6
|
+
}
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
.optionBillingContainer {
|
|
2
|
-
@apply flex items-center gap-[10px] px-[15px] py-[11px] bg-white;
|
|
3
|
-
}
|
|
4
|
-
.billingIcon {
|
|
5
|
-
@apply size-7;
|
|
6
|
-
}
|
|
7
|
-
.billingText {
|
|
8
|
-
@apply text-primary-900 font-normal text-base;
|
|
9
|
-
}
|
|
10
|
-
.billingSubmenuLinks {
|
|
11
|
-
@apply text-primary-700 hover:text-secondary-700 font-normal text-[13px] transition-all relative;
|
|
12
|
-
}
|
|
13
|
-
.linkContainer {
|
|
14
|
-
@apply flex items-center gap-2;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.optionLink {
|
|
18
|
-
@apply flex items-center gap-2.5 px-[15px] py-[11px] bg-white relative;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.optionIcon {
|
|
22
|
-
@apply size-7;
|
|
23
|
-
}
|
|
24
|
-
.optionTitle {
|
|
25
|
-
@apply text-primary-900 font-normal text-base;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.badge {
|
|
29
|
-
@apply size-6.5 rounded-full flex justify-center items-center bg-[#FF3B30] absolute right-2.5 top-1/2 transform -translate-y-1/2;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.badgeSpan {
|
|
33
|
-
@apply text-white text-sm font-medium;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.menuSection {
|
|
37
|
-
@apply flex flex-col gap-0.5;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.firstOption {
|
|
41
|
-
@apply rounded-[12px_12px_3px_3px];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.secondOption {
|
|
45
|
-
@apply rounded-[3px];
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.lastOption {
|
|
49
|
-
@apply rounded-[0px_0px_12px_12px];
|
|
50
|
-
}
|
|
1
|
+
.optionBillingContainer {
|
|
2
|
+
@apply flex items-center gap-[10px] px-[15px] py-[11px] bg-white;
|
|
3
|
+
}
|
|
4
|
+
.billingIcon {
|
|
5
|
+
@apply size-7;
|
|
6
|
+
}
|
|
7
|
+
.billingText {
|
|
8
|
+
@apply text-primary-900 font-normal text-base;
|
|
9
|
+
}
|
|
10
|
+
.billingSubmenuLinks {
|
|
11
|
+
@apply text-primary-700 hover:text-secondary-700 font-normal text-[13px] transition-all relative;
|
|
12
|
+
}
|
|
13
|
+
.linkContainer {
|
|
14
|
+
@apply flex items-center gap-2;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.optionLink {
|
|
18
|
+
@apply flex items-center gap-2.5 px-[15px] py-[11px] bg-white relative;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.optionIcon {
|
|
22
|
+
@apply size-7;
|
|
23
|
+
}
|
|
24
|
+
.optionTitle {
|
|
25
|
+
@apply text-primary-900 font-normal text-base;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.badge {
|
|
29
|
+
@apply size-6.5 rounded-full flex justify-center items-center bg-[#FF3B30] absolute right-2.5 top-1/2 transform -translate-y-1/2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.badgeSpan {
|
|
33
|
+
@apply text-white text-sm font-medium;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.menuSection {
|
|
37
|
+
@apply flex flex-col gap-0.5;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.firstOption {
|
|
41
|
+
@apply rounded-[12px_12px_3px_3px];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.secondOption {
|
|
45
|
+
@apply rounded-[3px];
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.lastOption {
|
|
49
|
+
@apply rounded-[0px_0px_12px_12px];
|
|
50
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
.popupContainer {
|
|
2
|
-
@apply w-full sm:w-100 h-full sm:h-[440px] fixed z-50 sm:absolute right-0 top-0 sm:top-[55px] sm:rounded-30 bg-[#F7F3F8] shadow-[0px_0px_30px_0px_rgba(19,15,64,0.20)];
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.closeBtn {
|
|
6
|
-
@apply absolute -top-12 -right-2 size-8 p-2 border rounded-full transition-colors block sm:hidden;
|
|
7
|
-
}
|
|
8
|
-
.popupContent {
|
|
9
|
-
@apply size-full p-5;
|
|
10
|
-
}
|
|
11
|
-
.popupTopSection {
|
|
12
|
-
@apply flex flex-col justify-center gap-5 mt-10 sm:mt-0 relative;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.manageLinkContainer {
|
|
16
|
-
@apply w-full flex justify-center items-center;
|
|
17
|
-
}
|
|
18
|
-
.manageLink {
|
|
19
|
-
@apply p-[7px_16px] border border-[#D780DC] rounded-10 text-[#AE00B9] text-center;
|
|
20
|
-
}
|
|
21
|
-
.termsAndCondition {
|
|
22
|
-
@apply flex items-center justify-center text-xs text-primary mt-3;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.termsAndConditionLinks {
|
|
26
|
-
@apply hover:bg-primary-100 px-[6px] py-[2px] rounded-5 transition-all;
|
|
27
|
-
}
|
|
28
|
-
.indexSpan {
|
|
29
|
-
@apply text-primary mx-1;
|
|
30
|
-
}
|
|
1
|
+
.popupContainer {
|
|
2
|
+
@apply w-full sm:w-100 h-full sm:h-[440px] fixed z-50 sm:absolute right-0 top-0 sm:top-[55px] sm:rounded-30 bg-[#F7F3F8] shadow-[0px_0px_30px_0px_rgba(19,15,64,0.20)];
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.closeBtn {
|
|
6
|
+
@apply absolute -top-12 -right-2 size-8 p-2 border rounded-full transition-colors block sm:hidden;
|
|
7
|
+
}
|
|
8
|
+
.popupContent {
|
|
9
|
+
@apply size-full p-5;
|
|
10
|
+
}
|
|
11
|
+
.popupTopSection {
|
|
12
|
+
@apply flex flex-col justify-center gap-5 mt-10 sm:mt-0 relative;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.manageLinkContainer {
|
|
16
|
+
@apply w-full flex justify-center items-center;
|
|
17
|
+
}
|
|
18
|
+
.manageLink {
|
|
19
|
+
@apply p-[7px_16px] border border-[#D780DC] rounded-10 text-[#AE00B9] text-center;
|
|
20
|
+
}
|
|
21
|
+
.termsAndCondition {
|
|
22
|
+
@apply flex items-center justify-center text-xs text-primary mt-3;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.termsAndConditionLinks {
|
|
26
|
+
@apply hover:bg-primary-100 px-[6px] py-[2px] rounded-5 transition-all;
|
|
27
|
+
}
|
|
28
|
+
.indexSpan {
|
|
29
|
+
@apply text-primary mx-1;
|
|
30
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
.userInformation {
|
|
2
|
-
@apply flex justify-between items-center;
|
|
3
|
-
}
|
|
4
|
-
.userInformationContainer {
|
|
5
|
-
@apply flex items-center gap-[14px];
|
|
6
|
-
}
|
|
7
|
-
.userImageContainer {
|
|
8
|
-
@apply size-[70px] overflow-hidden;
|
|
9
|
-
}
|
|
10
|
-
.userImage {
|
|
11
|
-
@apply rounded-full size-full;
|
|
12
|
-
}
|
|
13
|
-
.detailsContainer {
|
|
14
|
-
@apply flex flex-col;
|
|
15
|
-
}
|
|
16
|
-
.username {
|
|
17
|
-
@apply text-primary text-xl font-medium;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.userEmail {
|
|
21
|
-
@apply text-primary-700 text-base font-normal;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.logoutBtn {
|
|
25
|
-
@apply size-10 p-2 bg-primary-100 sm:bg-transparent sm:hover:bg-primary-100 rounded-full transition-colors;
|
|
26
|
-
}
|
|
1
|
+
.userInformation {
|
|
2
|
+
@apply flex justify-between items-center;
|
|
3
|
+
}
|
|
4
|
+
.userInformationContainer {
|
|
5
|
+
@apply flex items-center gap-[14px];
|
|
6
|
+
}
|
|
7
|
+
.userImageContainer {
|
|
8
|
+
@apply size-[70px] overflow-hidden;
|
|
9
|
+
}
|
|
10
|
+
.userImage {
|
|
11
|
+
@apply rounded-full size-full;
|
|
12
|
+
}
|
|
13
|
+
.detailsContainer {
|
|
14
|
+
@apply flex flex-col;
|
|
15
|
+
}
|
|
16
|
+
.username {
|
|
17
|
+
@apply text-primary text-xl font-medium;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.userEmail {
|
|
21
|
+
@apply text-primary-700 text-base font-normal;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.logoutBtn {
|
|
25
|
+
@apply size-10 p-2 bg-primary-100 sm:bg-transparent sm:hover:bg-primary-100 rounded-full transition-colors;
|
|
26
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.profileContainer {
|
|
2
|
-
@apply w-auto lg:w-full h-8 sm:h-10 flex items-center;
|
|
3
|
-
}
|
|
4
|
-
.imageUserContainer {
|
|
5
|
-
@apply size-8 sm:size-10 rounded-full border border-[#AE00B9] relative;
|
|
6
|
-
}
|
|
7
|
-
.imageUser {
|
|
8
|
-
@apply rounded-full size-full;
|
|
9
|
-
}
|
|
10
|
-
.linkBtn {
|
|
11
|
-
@apply size-10;
|
|
12
|
-
}
|
|
1
|
+
.profileContainer {
|
|
2
|
+
@apply w-auto lg:w-full h-8 sm:h-10 flex items-center;
|
|
3
|
+
}
|
|
4
|
+
.imageUserContainer {
|
|
5
|
+
@apply size-8 sm:size-10 rounded-full border border-[#AE00B9] relative;
|
|
6
|
+
}
|
|
7
|
+
.imageUser {
|
|
8
|
+
@apply rounded-full size-full;
|
|
9
|
+
}
|
|
10
|
+
.linkBtn {
|
|
11
|
+
@apply size-10;
|
|
12
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.btnClass {
|
|
2
|
-
@apply relative px-3 py-2 flex justify-center items-center !bg-secondary-50 hover:!bg-secondary;
|
|
3
|
-
}
|
|
4
|
-
.blockIcon {
|
|
5
|
-
@apply size-7 block;
|
|
6
|
-
}
|
|
7
|
-
.hoverIcon {
|
|
8
|
-
@apply size-7 hidden;
|
|
9
|
-
}
|
|
10
|
-
.btnLoading {
|
|
11
|
-
@apply absolute top-0 left-0 size-full text-primary;
|
|
12
|
-
}
|
|
13
|
-
.btnLoadingWrapper {
|
|
14
|
-
@apply size-full bg-primary-50 opacity-50 absolute top-0 left-0;
|
|
15
|
-
}
|
|
16
|
-
.btnContent {
|
|
17
|
-
@apply absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2;
|
|
18
|
-
}
|
|
1
|
+
.btnClass {
|
|
2
|
+
@apply relative px-3 py-2 flex justify-center items-center !bg-secondary-50 hover:!bg-secondary;
|
|
3
|
+
}
|
|
4
|
+
.blockIcon {
|
|
5
|
+
@apply size-7 block;
|
|
6
|
+
}
|
|
7
|
+
.hoverIcon {
|
|
8
|
+
@apply size-7 hidden;
|
|
9
|
+
}
|
|
10
|
+
.btnLoading {
|
|
11
|
+
@apply absolute top-0 left-0 size-full text-primary;
|
|
12
|
+
}
|
|
13
|
+
.btnLoadingWrapper {
|
|
14
|
+
@apply size-full bg-primary-50 opacity-50 absolute top-0 left-0;
|
|
15
|
+
}
|
|
16
|
+
.btnContent {
|
|
17
|
+
@apply absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2;
|
|
18
|
+
}
|