lf-hp 0.0.0-stage → 0.0.3
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/dist/lf-hotelPromo.js +15547 -0
- package/dist/styles.css +1 -0
- package/package.json +33 -4
- package/README.md +0 -3
package/dist/styles.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
body{--primary-blue:#077dad;--primary-blue-hover:#2595ba;--fill-blue:#e6f4ff;--white:#fff;--star-yellow:#f4dc3b;--star-empty:#f0f0f0;--text-black:#000000d9;--volcano:#ad2102;--volcano-fill:#ffd8bf;--green:#73d13d;--green-fill:#f6ffed;--green-text:#237804;--stroke-gray:#00000026;--stroke-light-gray:#0000000f;--gray-fill:#0000000a;--star-gray:#f0f0f0;--gray-background:#f5f5f5;--yellow:#f0ab00;--yellow-background:#f0ab000d}.c_select{box-sizing:border-box;flex-direction:column;width:100%;display:flex;position:relative}.c_select .c_label{color:var(--text-black);margin-bottom:4px;font-size:14px}.c_select .c_selector{width:100%;color:var(--text-black);cursor:pointer;border:1px solid var(--stroke-gray);text-align:left;background-color:var(--white);border-radius:12px;justify-content:space-between;align-items:center;gap:8px;height:43px;padding:4px 8px;font-weight:600;transition:border-color .3s ease-in-out;display:inline-flex;font-family:inherit!important}.c_select .c_selector.error{border-color:#ff4d4f}@media (hover:hover){.c_select .c_selector:hover{border-color:var(--primary-blue)}}.c_select .c_icon{flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.c_select .c_icon svg{flex-shrink:0;width:24px;height:24px}.c_select .c_selectLoading{background-color:var(--stroke-light-gray);box-sizing:border-box;background:linear-gradient(90deg, var(--stroke-light-gray) 25%, color-mix(in srgb, var(--stroke-light-gray) 60%, white) 50%, var(--stroke-light-gray) 75%);background-size:1200px 100%;border-radius:8px;width:50%;height:100%;min-height:0;animation:1.6s linear infinite skeleton_shimmer}@keyframes skeleton_shimmer{0%{background-position:-600px 0}to{background-position:600px 0}}.c_select .c_dropdown{z-index:10;background-color:var(--white);box-sizing:border-box;border-radius:12px;flex-direction:column;width:100%;margin-top:8px;display:flex;position:absolute;top:100%;left:0;right:0;box-shadow:0 2px 16px -5px #00000080}.c_select .c_children{box-sizing:border-box;width:100%;padding:8px 8px 6px}.c_select .c_controls{box-sizing:border-box;border-top:1px solid var(--stroke-light-gray);justify-content:flex-end;align-items:center;width:100%;padding:6px 8px 8px;display:flex}.c_select .c_applyBtn{width:fit-content;color:var(--white);background-color:var(--primary-blue);cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;padding:8px 12px;font-size:14px;font-weight:400;transition:background-color .3s;display:flex;font-family:inherit!important}@media (hover:hover){.c_select .c_applyBtn:hover{background-color:var(--primary-blue-hover)}}.c_select .c_dropdownItems{box-sizing:border-box;z-index:2;flex-direction:column;gap:8px;width:100%;display:flex}.c_select .c_displayValue{color:var(--text-black);font-size:14px;font-weight:600;font-family:inherit!important}.c_select .c_dateColumns{box-sizing:border-box;flex-direction:column;gap:8px;width:100%;display:flex}.c_select .c_dateYears{box-sizing:border-box;justify-content:center;align-items:center;gap:0;width:100%;height:43px;display:inline-flex}.c_select .c_yearButton{background-color:var(--white);color:var(--text-black);cursor:pointer;text-align:center;box-sizing:border-box;border:none;border-bottom:2px solid #0000;justify-content:center;align-items:center;width:100%;height:43px;padding:12px 8px;font-size:14px;transition:border-color .3s,color .3s;display:flex;font-family:inherit!important}.c_select .c_yearButton.selected{border-color:var(--primary-blue);color:var(--primary-blue);font-weight:600}@media (hover:hover){.c_select .c_yearButton:hover{border-color:var(--primary-blue-hover)}}.c_select .c_dateMonths{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.c_select .c_errorMessage{color:#ff4d4f;width:100%;font-size:14px;font-weight:400;line-height:22px;position:absolute;top:100%}.c_select .c_empty{box-sizing:border-box;width:100%;color:var(--text-black);background-color:#fef7e6;border:1px solid #fcdf9c;border-radius:8px;flex-direction:row;justify-content:flex-start;align-items:center;padding:7px;font-size:12px;font-weight:400;line-height:16px;display:flex}@media (width<=425px){.c_select .c_dateMonths{grid-template-columns:repeat(3,1fr)}}.c_selectItemButton{box-sizing:border-box;background-color:var(--white);text-align:center;cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:6px;width:100%;padding:12px 8px;transition:background-color .3s;display:inline-flex;position:relative}.c_selectItemButton.small{justify-content:center;height:fit-content;padding:8px}.c_selectItemButton.border{border:1px solid var(--stroke-gray)}.c_selectItemButton .c_selectItemLabel{color:var(--text-black);text-align:left;font-size:14px;font-family:inherit!important}.c_selectItemButton.small .c_selectItemLabel{text-align:center}.c_selectItemButton input[type=checkbox]{opacity:0;pointer-events:none;width:1px;height:1px;margin:0;position:absolute}.c_selectItemButton:has(input[type=checkbox]:checked):after{content:"";background-color:var(--text-black);flex-shrink:0;width:16px;height:16px;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") 50%/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") 50%/contain no-repeat}.c_selectItemButton:has(input[type=checkbox]:checked){background-color:var(--gray-fill)}.c_selectItemButton.small:has(input[type=checkbox]:checked){border-color:var(--gray-fill);padding:8px 4px 8px 8px}.c_selectItemButton:has(input[type=checkbox]:checked) .c_selectItemLabel{font-weight:600}.c_selectItemButton:has(input[type=checkbox]:focus-visible){outline:2px solid var(--primary-blue);outline-offset:-2px}@media (hover:hover){.c_selectItemButton:hover{background-color:var(--gray-fill)}}.c_layout{box-sizing:border-box;border:1px solid var(--stroke-light-gray);background-color:var(--white);border-radius:24px;flex-direction:row;align-items:center;gap:36px;width:100%;display:flex}.c_layout .c_fWrapper{flex-direction:column;gap:16px;width:100%;padding:32px 24px;display:flex}.c_layout .c_image{border-radius:0 24px 24px 0;flex:0 0 500px;align-self:stretch;position:relative;overflow:hidden}.c_layout .c_image img{object-fit:cover;border-radius:0 24px 24px 0;width:100%;height:100%;display:block;position:absolute;inset:0}.c_layout .c_offerPart{flex-direction:column;gap:16px;width:100%;display:flex}.c_layout .c_fTitle{color:var(--text-black);font-size:21px;font-weight:600}.c_layout .c_selectors{box-sizing:border-box;flex-direction:row;justify-content:center;align-items:center;gap:12px;width:100%;display:flex}.c_layout .c_cPart{box-sizing:border-box;flex-direction:column;gap:16px;width:100%;margin-top:12px;display:flex}.c_layout .c_cTitle{color:var(--text-black);font-size:18px;font-weight:600}.c_layout .c_cItems{box-sizing:border-box;flex-direction:column;gap:8px;width:100%;display:flex}@media (width<=768px){.c_layout{background-color:var(--white);border:none}.c_layout .c_fWrapper{padding:0}.c_layout .c_selectors{flex-direction:column;gap:8px}}.c_form{width:100%}.c_form .c_form-row{align-items:flex-start;gap:8px;width:100%;display:inline-flex}.c_form .ant-form .ant-form-item .ant-input{padding:9.7px 8px}.c_form .ant-form-item-label{padding-bottom:4px!important}.c_form .c_buttonWrapper{flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;display:flex;position:relative}.c_form .c_submitBtn{cursor:pointer;box-sizing:border-box;width:100%;color:var(--white);background-color:var(--primary-blue);text-align:center;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;height:43px;padding:12px 24px;font-size:14px;font-weight:600;transition:background-color .3s;display:flex;font-family:inherit!important}.c_form .c_submitBtn:disabled{cursor:not-allowed;background-color:#83c9e0}.c_form .c_submitBtn:disabled:before{content:"";box-sizing:border-box;border:2px solid;border-right-color:#0000;border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:.7s linear infinite c_showMoreSpin}.c_form .c_errorMessage{color:#ff4d4f;width:fit-content;margin-top:12px;margin-bottom:4px;font-size:14px;font-weight:400;line-height:22px;position:relative}@keyframes c_showMoreSpin{to{transform:rotate(360deg)}}@media (hover:hover){.c_form .c_submitBtn:hover:not(:disabled){background-color:var(--primary-blue-hover)}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lf-hp",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.3",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"scripts": {
|
|
10
|
+
"dev": "vite",
|
|
11
|
+
"build": "tsc -b && vite build",
|
|
12
|
+
"lint": "eslint .",
|
|
13
|
+
"preview": "vite preview"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"antd": "^6.7.2",
|
|
17
|
+
"preact": "^11.2.0",
|
|
18
|
+
"react": "^19.2.8",
|
|
19
|
+
"react-dom": "^19.2.8"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@eslint/js": "^10.0.1",
|
|
23
|
+
"@types/node": "^24.13.3",
|
|
24
|
+
"@types/react": "^19.2.18",
|
|
25
|
+
"@types/react-dom": "^19.2.4",
|
|
26
|
+
"@vitejs/plugin-react": "^6.1.0",
|
|
27
|
+
"eslint": "^10.9.0",
|
|
28
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
29
|
+
"eslint-plugin-react-refresh": "^0.5.4",
|
|
30
|
+
"globals": "^17.11.0",
|
|
31
|
+
"typescript": "~6.0.2",
|
|
32
|
+
"typescript-eslint": "^8.67.0",
|
|
33
|
+
"vite": "^8.2.2"
|
|
34
|
+
}
|
|
35
|
+
}
|
package/README.md
DELETED