shekel-fe-shared-lib 1.0.15 → 1.0.17
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/README.md +73 -4
- package/dist/shekel-fe-shared-lib.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,8 @@ A modern React component library built with **React**, **TypeScript**, **Tailwin
|
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
npm install shekel-fe-shared-lib
|
|
21
|
+
# or
|
|
22
|
+
yarn add shekel-fe-shared-lib
|
|
21
23
|
```
|
|
22
24
|
|
|
23
25
|
## Peer Dependencies
|
|
@@ -25,12 +27,16 @@ npm install shekel-fe-shared-lib
|
|
|
25
27
|
This package requires the following peer dependencies:
|
|
26
28
|
|
|
27
29
|
```bash
|
|
28
|
-
npm install react react-dom
|
|
30
|
+
npm install react react-dom antd
|
|
31
|
+
# or
|
|
32
|
+
yarn add react react-dom antd
|
|
29
33
|
```
|
|
30
34
|
|
|
31
35
|
## Usage
|
|
32
36
|
|
|
33
|
-
###
|
|
37
|
+
### Standard React/Vite Projects
|
|
38
|
+
|
|
39
|
+
Import components and styles in your main app file:
|
|
34
40
|
|
|
35
41
|
```tsx
|
|
36
42
|
import {
|
|
@@ -43,7 +49,6 @@ import {
|
|
|
43
49
|
NotificationDropdown
|
|
44
50
|
} from 'shekel-fe-shared-lib';
|
|
45
51
|
import 'shekel-fe-shared-lib/styles.css';
|
|
46
|
-
import 'antd/dist/reset.css'; // Required for Ant Design components
|
|
47
52
|
|
|
48
53
|
function App() {
|
|
49
54
|
return (
|
|
@@ -71,6 +76,68 @@ function App() {
|
|
|
71
76
|
}
|
|
72
77
|
```
|
|
73
78
|
|
|
79
|
+
### Next.js Projects
|
|
80
|
+
|
|
81
|
+
Due to PostCSS compatibility between Tailwind v4 (used in this library) and Tailwind v3 (commonly used in Next.js projects), Next.js requires a special setup:
|
|
82
|
+
|
|
83
|
+
1. **Create a postinstall script** (`scripts/copy-shared-lib-css.js`):
|
|
84
|
+
|
|
85
|
+
```js
|
|
86
|
+
const fs = require('fs');
|
|
87
|
+
const path = require('path');
|
|
88
|
+
|
|
89
|
+
const source = path.join(__dirname, '../node_modules/shekel-fe-shared-lib/dist/shekel-fe-shared-lib.css');
|
|
90
|
+
const dest = path.join(__dirname, '../public/styles/shekel-shared-lib.css');
|
|
91
|
+
|
|
92
|
+
try {
|
|
93
|
+
// Ensure public/styles directory exists
|
|
94
|
+
const dir = path.dirname(dest);
|
|
95
|
+
if (!fs.existsSync(dir)) {
|
|
96
|
+
fs.mkdirSync(dir, { recursive: true });
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (fs.existsSync(source)) {
|
|
100
|
+
fs.copyFileSync(source, dest);
|
|
101
|
+
console.log('✓ Copied shekel-fe-shared-lib CSS to public/styles/');
|
|
102
|
+
}
|
|
103
|
+
} catch (error) {
|
|
104
|
+
console.error('Warning: Could not copy shekel-fe-shared-lib CSS:', error.message);
|
|
105
|
+
}
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
2. **Update your `package.json`**:
|
|
109
|
+
|
|
110
|
+
```json
|
|
111
|
+
{
|
|
112
|
+
"scripts": {
|
|
113
|
+
"postinstall": "node scripts/copy-shared-lib-css.js"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
3. **Load CSS in `pages/_document.tsx`**:
|
|
119
|
+
|
|
120
|
+
```tsx
|
|
121
|
+
import { Html, Head, Main, NextScript } from 'next/document';
|
|
122
|
+
|
|
123
|
+
export default function Document() {
|
|
124
|
+
return (
|
|
125
|
+
<Html lang="en">
|
|
126
|
+
<Head>
|
|
127
|
+
{/* Load shared library CSS directly to bypass PostCSS */}
|
|
128
|
+
<link rel="stylesheet" href="/styles/shekel-shared-lib.css" />
|
|
129
|
+
</Head>
|
|
130
|
+
<body>
|
|
131
|
+
<Main />
|
|
132
|
+
<NextScript />
|
|
133
|
+
</body>
|
|
134
|
+
</Html>
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
The postinstall script automatically copies the library's CSS to the `public/` folder on install, and loading it via a link tag bypasses PostCSS processing entirely.
|
|
140
|
+
|
|
74
141
|
### Tailwind CSS Setup
|
|
75
142
|
|
|
76
143
|
If your project uses Tailwind CSS, add this library to your `tailwind.config.js` content array:
|
|
@@ -79,7 +146,9 @@ If your project uses Tailwind CSS, add this library to your `tailwind.config.js`
|
|
|
79
146
|
module.exports = {
|
|
80
147
|
content: [
|
|
81
148
|
"./src/**/*.{js,jsx,ts,tsx}",
|
|
82
|
-
"./
|
|
149
|
+
"./pages/**/*.{js,jsx,ts,tsx}", // for Next.js
|
|
150
|
+
"./components/**/*.{js,jsx,ts,tsx}", // for Next.js
|
|
151
|
+
"./node_modules/shekel-fe-shared-lib/dist/**/*.{js,mjs,cjs}",
|
|
83
152
|
],
|
|
84
153
|
// ... rest of your config
|
|
85
154
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap";/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-1\/2{top:50%}.top-full{top:100%}.bottom-full{bottom:100%}.left-1\/2{left:50%}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}.mx-auto{margin-inline:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-\[22px\]{height:22px}.h-\[60px\]{height:60px}.h-full{height:100%}.h-px{height:1px}.max-h-\[300px\]{max-height:300px}.min-h-\[120px\]{min-height:120px}.min-h-\[160px\]{min-height:160px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-\[22px\]{width:22px}.w-full{width:100%}.min-w-\[120px\]{min-width:120px}.min-w-\[160px\]{min-width:160px}.min-w-\[200px\]{min-width:200px}.min-w-\[220px\]{min-width:220px}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-95{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-\[14px\]{border-radius:14px}.rounded-\[20px\]{border-radius:20px}.rounded-full{border-radius:3.40282e38px}.rounded-none{border-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-\[\#D1D1D1\]{border-color:#d1d1d1}.border-\[\#E6E6E6\]{border-color:#e6e6e6}.border-\[\#EC615B\]{border-color:#ec615b}.border-\[\#EEEEEE\]{border-color:#eee}.border-\[\#EFAC18\]{border-color:#efac18}.bg-\[\#616161\]{background-color:#616161}.bg-\[\#EBEBEB\]{background-color:#ebebeb}.bg-\[\#EC615B\]{background-color:#ec615b}.bg-\[\#FAE5B7\]{background-color:#fae5b7}.bg-\[\#FCEAE9\]{background-color:#fceae9}.bg-\[\#FDFDFD\]{background-color:#fdfdfd}.bg-transparent{background-color:#0000}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.object-cover{-o-object-fit:cover;object-fit:cover}.px-\[18px\]{padding-inline:18px}.px-\[22px\]{padding-inline:22px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[20px\]{font-size:20px}.text-\[32px\]{font-size:32px}.text-\[\#6C4D0B\]{color:#6c4d0b}.text-\[\#181918\]{color:#181918}.text-\[\#C21919\]{color:#c21919}.text-\[\#E6E6E6\]{color:#e6e6e6}.text-\[\#EC615B\]{color:#ec615b}.uppercase{text-transform:uppercase}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-100{opacity:1}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media(hover:hover){.group-hover\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:bg-\[\#FDEFEF\]:hover{background-color:#fdefef}.hover\:text-\[\#EC615B\]:hover{color:#ec615b}}.focus\:z-20:focus{z-index:20}.focus\:border-\[\#EC615B\]:focus{border-color:#ec615b}.focus\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-\[\#EC615B\]:focus{--tw-ring-color:#ec615b}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-50:disabled{opacity:.5}@media(hover:hover){.disabled\:hover\:border-\[\#E6E6E6\]:disabled:hover{border-color:#e6e6e6}.disabled\:hover\:bg-transparent:disabled:hover{background-color:#0000}}@layer base{body{font-family:Plus Jakarta Sans,sans-serif}}.ant-input::-moz-placeholder{color:#7f7f7f!important}.ant-input::placeholder{color:#7f7f7f!important}.ant-input:not(:focus):not(:-moz-placeholder),.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-focused):has(input:not(:-moz-placeholder)){border-color:#616161!important}.ant-input:not(:focus):not(:placeholder-shown),.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-focused):has(input:not(:placeholder-shown)){border-color:#616161!important}.ant-input:focus,.ant-input-focused,.ant-input-affix-wrapper:focus-within,.ant-input-affix-wrapper-focused{border-color:#ec615b!important;box-shadow:0 0 0 2px #ec615b1a!important}.ant-input-affix-wrapper.password-input-custom,.ant-input-password.password-input-custom{align-items:center!important;height:44px!important;padding:0 11px!important;display:flex!important}.ant-input-affix-wrapper.password-input-custom input,.ant-input-password.password-input-custom input{height:auto!important;margin:0!important;padding:0!important;font-size:14px!important}.ant-input-affix-wrapper.password-input-custom input[type=password],.ant-input-password.password-input-custom input[type=password]{font-size:30px!important}.ant-input-affix-wrapper.password-input-custom input[type=text],.ant-input-password.password-input-custom input[type=text]{font-size:14px!important}.ant-input-affix-wrapper.password-input-custom input[type=password]::-moz-placeholder,.ant-input-password.password-input-custom input[type=password]::-moz-placeholder{display:block;transform:translateY(-6px);color:#7f7f7f!important;font-size:14px!important}.ant-input-affix-wrapper.password-input-custom input[type=password]::placeholder,.ant-input-password.password-input-custom input[type=password]::placeholder{display:block;transform:translateY(-6px);color:#7f7f7f!important;font-size:14px!important}.ant-input-affix-wrapper.password-input-custom input[type=text]::-moz-placeholder,.ant-input-password.password-input-custom input[type=text]::-moz-placeholder{color:#7f7f7f!important;font-size:14px!important}.ant-input-affix-wrapper.password-input-custom input[type=text]::placeholder,.ant-input-password.password-input-custom input[type=text]::placeholder{color:#7f7f7f!important;font-size:14px!important}@layer components{.stat-card{animation:.3s ease-out fadeInUp}.stat-value{animation:.5s ease-out countUp}.card{animation:.3s ease-out fadeIn}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes countUp{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes shimmer{0%{background-position:-1000px 0}to{background-position:1000px 0}}.shimmer{background:linear-gradient(90deg,#f6f7f8,#edeef1,#f6f7f8 40%,#f6f7f8) 0 0/1000px 100%;animation:2s linear infinite shimmer}@keyframes slideInRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.slide-in-right{animation:.3s ease-out slideInRight}.dropdown-slide-down{transform-origin:top;animation:.2s cubic-bezier(.23,1,.32,1) dropdownSlideDown}.dropdown-slide-up{transform-origin:bottom;animation:.2s cubic-bezier(.23,1,.32,1) dropdownSlideUp}@keyframes dropdownSlideDown{0%{opacity:0;transform:scaleY(0)translateY(0)}to{opacity:1;transform:scaleY(1)translateY(0)}}@keyframes dropdownSlideUp{0%{opacity:0;transform:scaleY(.8)translateY(8px)}to{opacity:1;transform:scaleY(1)translateY(0)}}.dropdown-menu-item{position:relative}.dropdown-menu-item:before{content:"";background-color:#3b82f6;width:3px;transition:transform .2s;position:absolute;top:0;bottom:0;left:0;transform:scaleY(0)}.dropdown-menu-item:hover:before{transform:scaleY(1)}.select-trigger{position:relative}.select-dropdown{animation:.2s cubic-bezier(.23,1,.32,1) dropdownSlideDown}.select-option{transition:all .15s;position:relative}.select-option:hover{padding-left:1.25rem}.modal-mask{animation:.3s ease-out fadeIn}.modal-content{animation:.3s cubic-bezier(.23,1,.32,1) modalSlideIn}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.95)translateY(-20px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes progressActive{0%{background-position:0 0}to{background-position:40px 0}}.progress-active{background-image:linear-gradient(45deg,#fff3 25%,#0000 25%,#0000 50%,#fff3 50%,#fff3 75%,#0000 75%,#0000);background-size:40px 40px;animation:1s linear infinite progressActive}@keyframes slideIn{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}.animate-slide-in{animation:.5s cubic-bezier(.34,1.56,.64,1) slideIn}@keyframes slideInItem{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.animate-slide-in-item{animation:.3s cubic-bezier(.23,1,.32,1) both slideInItem}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap";@tailwind base;@tailwind components;@tailwind utilities;@layer base{body{font-family:Plus Jakarta Sans,sans-serif}}.ant-input::placeholder{color:#7f7f7f!important}.ant-input:not(:focus):not(:placeholder-shown){border-color:#616161!important}.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-focused):has(input:not(:placeholder-shown)){border-color:#616161!important}.ant-input:focus,.ant-input-focused{border-color:#ec615b!important;box-shadow:0 0 0 2px #ec615b1a!important}.ant-input-affix-wrapper:focus-within,.ant-input-affix-wrapper-focused{border-color:#ec615b!important;box-shadow:0 0 0 2px #ec615b1a!important}.ant-input-affix-wrapper.password-input-custom,.ant-input-password.password-input-custom{height:44px!important;padding:0 11px!important;display:flex!important;align-items:center!important}.ant-input-affix-wrapper.password-input-custom input,.ant-input-password.password-input-custom input{height:auto!important;padding:0!important;margin:0!important;font-size:14px!important}.ant-input-affix-wrapper.password-input-custom input[type=password],.ant-input-password.password-input-custom input[type=password]{font-size:30px!important}.ant-input-affix-wrapper.password-input-custom input[type=text],.ant-input-password.password-input-custom input[type=text]{font-size:14px!important}.ant-input-affix-wrapper.password-input-custom input[type=password]::placeholder,.ant-input-password.password-input-custom input[type=password]::placeholder{font-size:14px!important;color:#7f7f7f!important;transform:translateY(-6px);display:block}.ant-input-affix-wrapper.password-input-custom input[type=text]::placeholder,.ant-input-password.password-input-custom input[type=text]::placeholder{font-size:14px!important;color:#7f7f7f!important}@layer components{.stat-card{animation:fadeInUp .3s ease-out}.stat-value{animation:countUp .5s ease-out}.card{animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes countUp{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes shimmer{0%{background-position:-1000px 0}to{background-position:1000px 0}}.shimmer{animation:shimmer 2s infinite linear;background:linear-gradient(to right,#f6f7f8,#edeef1,#f6f7f8 40%,#f6f7f8);background-size:1000px 100%}@keyframes slideInRight{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.slide-in-right{animation:slideInRight .3s ease-out}.dropdown-slide-down{animation:dropdownSlideDown .2s cubic-bezier(.23,1,.32,1);transform-origin:top}.dropdown-slide-up{animation:dropdownSlideUp .2s cubic-bezier(.23,1,.32,1);transform-origin:bottom}@keyframes dropdownSlideDown{0%{opacity:0;transform:scaleY(0) translateY(0)}to{opacity:1;transform:scaleY(1) translateY(0)}}@keyframes dropdownSlideUp{0%{opacity:0;transform:scaleY(.8) translateY(8px)}to{opacity:1;transform:scaleY(1) translateY(0)}}.dropdown-menu-item{position:relative}.dropdown-menu-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background-color:#3b82f6;transform:scaleY(0);transition:transform .2s ease}.dropdown-menu-item:hover:before{transform:scaleY(1)}.select-trigger{position:relative}.select-dropdown{animation:dropdownSlideDown .2s cubic-bezier(.23,1,.32,1)}.select-option{position:relative;transition:all .15s ease}.select-option:hover{padding-left:1.25rem}.modal-mask{animation:fadeIn .3s ease-out}.modal-content{animation:modalSlideIn .3s cubic-bezier(.23,1,.32,1)}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes progressActive{0%{background-position:0 0}to{background-position:40px 0}}.progress-active{background-image:linear-gradient(45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);background-size:40px 40px;animation:progressActive 1s linear infinite}@keyframes slideIn{0%{opacity:0;transform:translate(-100%)}to{opacity:1;transform:translate(0)}}.animate-slide-in{animation:slideIn .5s cubic-bezier(.34,1.56,.64,1)}@keyframes slideInItem{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.animate-slide-in-item{animation:slideInItem .3s cubic-bezier(.23,1,.32,1) both}}
|