stone-kit 0.0.874 → 0.0.876
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/App.js +10 -0
- package/dist/ButtonState.module-DtW3aevR.js +8 -0
- package/dist/FilterWithSave-Bp6rH8Pe.js +2230 -0
- package/dist/Menu-CgCfinVZ.js +513 -0
- package/dist/Option-BVIm7wOW.js +83 -0
- package/dist/PinTrans-D6OZq76b.js +10 -0
- package/dist/Router.js +103 -0
- package/dist/SmallFilter-C-VKnbkP.js +10 -0
- package/dist/components/Button/index.js +4 -0
- package/dist/components/Button/ui/Button.js +94 -0
- package/dist/components/Button/ui/Button.types.js +15 -0
- package/dist/components/CheckBox/CheckBox.js +84 -0
- package/dist/components/CheckBox/CheckBox.types.js +1 -0
- package/dist/components/CheckBox/index.js +4 -0
- package/dist/components/CheckBoxNew/CheckBox.types.js +6 -0
- package/dist/components/CheckBoxNew/CheckBoxNew.js +44 -0
- package/dist/components/CheckboxSelect/index.js +4 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +51 -0
- package/dist/components/DestinationTab/index.js +4 -0
- package/dist/components/DestinationTab/ui/DestinationTab.js +75 -0
- package/dist/components/DestinationTab/ui/DestinationTab.types.js +6 -0
- package/dist/components/FieldInput/index.js +4 -0
- package/dist/components/FieldInput/ui/FieldInput.js +22 -0
- package/dist/components/FieldInput/ui/FieldInput.types.js +1 -0
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +28 -0
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +9 -0
- package/dist/components/Flex/index.js +4 -0
- package/dist/components/Flex/ui/Flex.js +68 -0
- package/dist/components/Flex/ui/Flex.types.js +1 -0
- package/dist/components/FormModal/ui/ModalForm.js +30 -0
- package/dist/components/FormModal/utils/reg.js +6 -0
- package/dist/components/GroupedInput/index.js +4 -0
- package/dist/components/GroupedInput/ui/GroupedInputs.js +8 -0
- package/dist/components/GroupedInput/ui/GroupedInputs.types.js +1 -0
- package/dist/components/Input/index.js +4 -0
- package/dist/components/Input/ui/Input.js +3346 -0
- package/dist/components/Input/ui/Input.types.js +1 -0
- package/dist/components/Logo/index.js +4 -0
- package/dist/components/Logo/ui/Logo.js +63 -0
- package/dist/components/Logo/ui/Logo.types.js +13 -0
- package/dist/components/LotCard/hooks/useLotCard.js +31 -0
- package/dist/components/LotCard/index.js +4 -0
- package/dist/components/LotCard/ui/LotCard.js +11 -0
- package/dist/components/LotCard/ui/LotCard.types.js +1 -0
- package/dist/components/LotCard/utils/checkBedroomsCount.js +20 -0
- package/dist/components/LotCard/utils/const.js +11 -0
- package/dist/components/LotCard/utils/formatPrice.js +11 -0
- package/dist/components/LotCard/utils/getTagsFeatures.js +13 -0
- package/dist/components/LotCard/utils/monthlyPayment.js +4 -0
- package/dist/components/LotCardSkeleton/index.js +4 -0
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +83 -0
- package/dist/components/MetroLabel/ui/MetroLabel.js +44 -0
- package/dist/components/MetroLabel/ui/MetroLabel.types.js +1 -0
- package/dist/components/MetroTag/index.js +4 -0
- package/dist/components/MetroTag/ui/MetroTag.js +142 -0
- package/dist/components/MetroTag/ui/MetroTag.types.js +1 -0
- package/dist/components/Modal/index.js +4 -0
- package/dist/components/Modal/ui/Modal.js +77 -0
- package/dist/components/Modal/ui/Modal.types.js +1 -0
- package/dist/components/ModalSuccess/ModalSuccess.js +61 -0
- package/dist/components/ModalSuccess/ModalSuccess.types.js +1 -0
- package/dist/components/NewIcon/icons/PinTrans.js +6 -0
- package/dist/components/NewIcon/icons/SmallFilter.js +6 -0
- package/dist/components/NewIcon/index.js +4 -0
- package/dist/components/NewIcon/ui/NewIcon.js +314 -0
- package/dist/components/NewIcon/ui/NewIcon.types.js +1 -0
- package/dist/components/NewIcon/ui/iconTypes.js +60 -0
- package/dist/components/ProjectCardSkeleton/index.js +4 -0
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +34 -0
- package/dist/components/RoundButton/index.js +4 -0
- package/dist/components/RoundButton/ui/RoundButton.js +73 -0
- package/dist/components/RoundButton/ui/RoundButton.types.js +16 -0
- package/dist/components/Select/index.js +4 -0
- package/dist/components/Select/model/selectMode.js +49 -0
- package/dist/components/Select/ui/Category.js +76 -0
- package/dist/components/Select/ui/Option.js +7 -0
- package/dist/components/Select/ui/Select.js +179 -0
- package/dist/components/Select/ui/Select.types.js +1 -0
- package/dist/components/SliderNavigation/index.js +4 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +65 -0
- package/dist/components/SliderNavigation/ui/SliderNavigation.types.js +1 -0
- package/dist/components/SortSelect/hooks/useSortSelect.js +6 -0
- package/dist/components/SortSelect/index.js +4 -0
- package/dist/components/SortSelect/ui/SortSelect.js +29 -0
- package/dist/components/SortSelect/ui/SortSelect.types.js +1 -0
- package/dist/components/SummarySelect/index.js +4 -0
- package/dist/components/SummarySelect/ui/SummarySelect.js +128 -0
- package/dist/components/Switcher/index.js +4 -0
- package/dist/components/Switcher/ui/Switcher.js +49 -0
- package/dist/components/Switcher/ui/Switcher.types.js +1 -0
- package/dist/components/TabSelect/index.js +4 -0
- package/dist/components/TabSelect/ui/TabSelect.js +49 -0
- package/dist/components/TabSelect/ui/TabSelect.types.js +1 -0
- package/dist/components/TabSwitcher/index.js +4 -0
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +28 -0
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.js +1 -0
- package/dist/components/Tag/index.js +4 -0
- package/dist/components/Tag/ui/Tag.js +79 -0
- package/dist/components/Tag/ui/Tag.types.js +20 -0
- package/dist/components/Text/index.js +4 -0
- package/dist/components/Text/ui/Text.js +22 -0
- package/dist/components/Text/ui/Text.types.js +1 -0
- package/dist/components/TextArea/TextArea.js +19 -0
- package/dist/components/TextArea/TextArea.types.js +1 -0
- package/dist/components/ZoomControls/index.js +4 -0
- package/dist/components/ZoomControls/ui/ZoomControls.js +31 -0
- package/dist/components/ZoomControls/ui/ZoomControls.types.js +1 -0
- package/dist/components/mobileButton/index.js +4 -0
- package/dist/components/mobileButton/ui/MobileButton.js +64 -0
- package/dist/components/mobileButton/ui/MobileButton.types.js +6 -0
- package/dist/index-DmANy9jd.js +890 -0
- package/dist/index-rKuIKazb.js +45 -0
- package/dist/layout/Layout.js +11 -0
- package/dist/layout/components/Header/Header.js +164 -0
- package/dist/layout/components/Menu.js +28 -0
- package/dist/main.d.ts +31 -3
- package/dist/main.js +64 -35
- package/dist/pages/ButtonsPage/ButtonState/ButtonState.js +121 -0
- package/dist/pages/ButtonsPage/Buttons.js +134 -0
- package/dist/pages/CheckboxPage/CheckboxPage.js +224 -0
- package/dist/pages/FormsPage/FormsPage.js +78 -0
- package/dist/pages/HomePage/HomePage.js +7 -0
- package/dist/pages/IconsPage/IconsPage.js +41 -0
- package/dist/pages/InputPage/InputPage.js +35 -0
- package/dist/pages/LogoPage/LogoPage.js +38 -0
- package/dist/pages/LotsPage/LotsPage.js +542 -0
- package/dist/pages/ModalsPage/ModalPage.js +130 -0
- package/dist/pages/SelectPage/SelectPage.js +192 -0
- package/dist/pages/SelectPage/const.js +35 -0
- package/dist/pages/TabsPage/TabsPage.js +175 -0
- package/dist/pages/TagsPage/TagsPage.js +75 -0
- package/dist/shared/checkLargeOffice.js +12 -0
- package/dist/shared/deepEqual.js +16 -0
- package/dist/shared/useClientWidth.js +14 -0
- package/dist/style.css +1 -1
- package/dist/useSortSelect-CjZXLFOG.js +80 -0
- package/package.json +9 -2
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
function u(e) {
|
|
2
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3
|
+
}
|
|
4
|
+
var a = { exports: {} };
|
|
5
|
+
/*!
|
|
6
|
+
Copyright (c) 2018 Jed Watson.
|
|
7
|
+
Licensed under the MIT License (MIT), see
|
|
8
|
+
http://jedwatson.github.io/classnames
|
|
9
|
+
*/
|
|
10
|
+
(function(e) {
|
|
11
|
+
(function() {
|
|
12
|
+
var f = {}.hasOwnProperty;
|
|
13
|
+
function s() {
|
|
14
|
+
for (var t = "", r = 0; r < arguments.length; r++) {
|
|
15
|
+
var n = arguments[r];
|
|
16
|
+
n && (t = o(t, i(n)));
|
|
17
|
+
}
|
|
18
|
+
return t;
|
|
19
|
+
}
|
|
20
|
+
function i(t) {
|
|
21
|
+
if (typeof t == "string" || typeof t == "number")
|
|
22
|
+
return t;
|
|
23
|
+
if (typeof t != "object")
|
|
24
|
+
return "";
|
|
25
|
+
if (Array.isArray(t))
|
|
26
|
+
return s.apply(null, t);
|
|
27
|
+
if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
|
|
28
|
+
return t.toString();
|
|
29
|
+
var r = "";
|
|
30
|
+
for (var n in t)
|
|
31
|
+
f.call(t, n) && t[n] && (r = o(r, n));
|
|
32
|
+
return r;
|
|
33
|
+
}
|
|
34
|
+
function o(t, r) {
|
|
35
|
+
return r ? t ? t + " " + r : t + r : t;
|
|
36
|
+
}
|
|
37
|
+
e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
|
|
38
|
+
})();
|
|
39
|
+
})(a);
|
|
40
|
+
var c = a.exports;
|
|
41
|
+
const p = /* @__PURE__ */ u(c);
|
|
42
|
+
export {
|
|
43
|
+
p as c,
|
|
44
|
+
u as g
|
|
45
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Header as s } from "./components/Header/Header.js";
|
|
3
|
+
const r = "_layout_18nmo_1", e = {
|
|
4
|
+
layout: r
|
|
5
|
+
}, n = ({ children: t }) => /* @__PURE__ */ a("div", { className: e.layout, children: [
|
|
6
|
+
/* @__PURE__ */ o(s, {}),
|
|
7
|
+
/* @__PURE__ */ o("main", { children: t })
|
|
8
|
+
] });
|
|
9
|
+
export {
|
|
10
|
+
n as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { M as f } from "../../../Menu-CgCfinVZ.js";
|
|
3
|
+
import { useState as c } from "react";
|
|
4
|
+
import "../../../components/Button/ui/Button.js";
|
|
5
|
+
import "../../../components/mobileButton/ui/MobileButton.js";
|
|
6
|
+
import { NewIcon as i } from "../../../components/NewIcon/ui/NewIcon.js";
|
|
7
|
+
import "../../../components/DestinationTab/ui/DestinationTab.js";
|
|
8
|
+
import "../../../components/RoundButton/ui/RoundButton.js";
|
|
9
|
+
import "../../../components/Tag/ui/Tag.js";
|
|
10
|
+
import "../../../components/Switcher/ui/Switcher.js";
|
|
11
|
+
import "../../../components/Text/ui/Text.js";
|
|
12
|
+
import "../../../components/Flex/ui/Flex.js";
|
|
13
|
+
import "../../../components/Input/ui/Input.js";
|
|
14
|
+
import "react-dom";
|
|
15
|
+
import "../../../FilterWithSave-Bp6rH8Pe.js";
|
|
16
|
+
import "../../../components/GroupedInput/ui/GroupedInputs.js";
|
|
17
|
+
import "../../../index-rKuIKazb.js";
|
|
18
|
+
import "../../../components/MetroTag/ui/MetroTag.js";
|
|
19
|
+
import "../../../components/Select/ui/Select.js";
|
|
20
|
+
import "../../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
21
|
+
import "../../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
22
|
+
import "../../../components/TabSelect/ui/TabSelect.js";
|
|
23
|
+
import "../../../components/CheckBox/CheckBox.js";
|
|
24
|
+
import "../../../components/CheckBoxNew/CheckBoxNew.js";
|
|
25
|
+
import "../../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
26
|
+
const _ = "_root_18coo_1", w = "_wrap_18coo_12", g = "_topSide_18coo_24", x = "_search_18coo_30", y = "_searchInp_18coo_43", I = "_searchIcon_18coo_63", b = "_closeBtn_18coo_69", e = {
|
|
27
|
+
root: _,
|
|
28
|
+
wrap: w,
|
|
29
|
+
topSide: g,
|
|
30
|
+
search: x,
|
|
31
|
+
searchInp: y,
|
|
32
|
+
searchIcon: I,
|
|
33
|
+
closeBtn: b
|
|
34
|
+
}, Q = () => {
|
|
35
|
+
const [a, n] = c(!1), [l, r] = c(""), p = (o) => {
|
|
36
|
+
r(o.target.value);
|
|
37
|
+
}, h = (o) => {
|
|
38
|
+
o.key === "Enter" && (window.location.href = "https://test.stone.ru");
|
|
39
|
+
}, m = () => {
|
|
40
|
+
n(!0);
|
|
41
|
+
}, d = () => {
|
|
42
|
+
setTimeout(() => {
|
|
43
|
+
var o;
|
|
44
|
+
(o = document == null ? void 0 : document.activeElement) != null && o.classList.contains("close-button") || n(!1);
|
|
45
|
+
}, 0);
|
|
46
|
+
}, u = () => {
|
|
47
|
+
r(""), n(!1);
|
|
48
|
+
};
|
|
49
|
+
return /* @__PURE__ */ s("nav", { className: e.root, children: [
|
|
50
|
+
/* @__PURE__ */ s("div", { className: e.wrap, children: [
|
|
51
|
+
/* @__PURE__ */ s(
|
|
52
|
+
"svg",
|
|
53
|
+
{
|
|
54
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
55
|
+
width: "200",
|
|
56
|
+
height: "60",
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ t(
|
|
59
|
+
"rect",
|
|
60
|
+
{
|
|
61
|
+
width: "200",
|
|
62
|
+
height: "60",
|
|
63
|
+
fill: "transparent"
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ t(
|
|
67
|
+
"text",
|
|
68
|
+
{
|
|
69
|
+
x: "0",
|
|
70
|
+
y: "42",
|
|
71
|
+
fontFamily: "Arial, sans-serif",
|
|
72
|
+
fontSize: "40",
|
|
73
|
+
fill: "white",
|
|
74
|
+
children: "Stone"
|
|
75
|
+
}
|
|
76
|
+
),
|
|
77
|
+
/* @__PURE__ */ t(
|
|
78
|
+
"rect",
|
|
79
|
+
{
|
|
80
|
+
x: "110",
|
|
81
|
+
y: "10",
|
|
82
|
+
width: "85",
|
|
83
|
+
height: "40",
|
|
84
|
+
rx: "8",
|
|
85
|
+
ry: "8",
|
|
86
|
+
fill: "#f90"
|
|
87
|
+
}
|
|
88
|
+
),
|
|
89
|
+
/* @__PURE__ */ t(
|
|
90
|
+
"text",
|
|
91
|
+
{
|
|
92
|
+
x: "115",
|
|
93
|
+
y: "42",
|
|
94
|
+
fontFamily: "Arial, sans-serif",
|
|
95
|
+
fontWeight: "bold",
|
|
96
|
+
fontSize: "40",
|
|
97
|
+
fill: "black",
|
|
98
|
+
children: "Hub"
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
),
|
|
104
|
+
/* @__PURE__ */ s("search", { className: e.search, children: [
|
|
105
|
+
/* @__PURE__ */ t(
|
|
106
|
+
"button",
|
|
107
|
+
{
|
|
108
|
+
style: {
|
|
109
|
+
margin: "unset",
|
|
110
|
+
border: "unset",
|
|
111
|
+
background: "unset",
|
|
112
|
+
padding: "unset",
|
|
113
|
+
cursor: "pointer"
|
|
114
|
+
},
|
|
115
|
+
onClick: (o) => {
|
|
116
|
+
o.preventDefault(), window.location.href = "https://test.stone.ru";
|
|
117
|
+
},
|
|
118
|
+
children: /* @__PURE__ */ t(
|
|
119
|
+
i,
|
|
120
|
+
{
|
|
121
|
+
additionalClass: e.searchIcon,
|
|
122
|
+
size: "24",
|
|
123
|
+
name: "search"
|
|
124
|
+
}
|
|
125
|
+
)
|
|
126
|
+
}
|
|
127
|
+
),
|
|
128
|
+
/* @__PURE__ */ t(
|
|
129
|
+
"input",
|
|
130
|
+
{
|
|
131
|
+
type: "text",
|
|
132
|
+
value: l,
|
|
133
|
+
onChange: p,
|
|
134
|
+
onKeyDown: h,
|
|
135
|
+
onFocus: m,
|
|
136
|
+
onBlur: d,
|
|
137
|
+
className: e.searchInp,
|
|
138
|
+
placeholder: "Изучить stone-kit"
|
|
139
|
+
}
|
|
140
|
+
),
|
|
141
|
+
a && /* @__PURE__ */ t(
|
|
142
|
+
"button",
|
|
143
|
+
{
|
|
144
|
+
onClick: u,
|
|
145
|
+
className: `${e.closeBtn} close-button`,
|
|
146
|
+
children: /* @__PURE__ */ t(
|
|
147
|
+
i,
|
|
148
|
+
{
|
|
149
|
+
strokeWidth: "2.5",
|
|
150
|
+
color: "#252525",
|
|
151
|
+
size: "18",
|
|
152
|
+
name: "close"
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
] })
|
|
158
|
+
] }),
|
|
159
|
+
/* @__PURE__ */ t(f, {})
|
|
160
|
+
] });
|
|
161
|
+
};
|
|
162
|
+
export {
|
|
163
|
+
Q as Header
|
|
164
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { M as z } from "../../Menu-CgCfinVZ.js";
|
|
3
|
+
import "../../components/Button/ui/Button.js";
|
|
4
|
+
import "../../components/mobileButton/ui/MobileButton.js";
|
|
5
|
+
import "../../components/NewIcon/ui/NewIcon.js";
|
|
6
|
+
import "../../components/DestinationTab/ui/DestinationTab.js";
|
|
7
|
+
import "../../components/RoundButton/ui/RoundButton.js";
|
|
8
|
+
import "../../components/Tag/ui/Tag.js";
|
|
9
|
+
import "../../components/Switcher/ui/Switcher.js";
|
|
10
|
+
import "../../components/Text/ui/Text.js";
|
|
11
|
+
import "../../components/Flex/ui/Flex.js";
|
|
12
|
+
import "../../components/Input/ui/Input.js";
|
|
13
|
+
import "react";
|
|
14
|
+
import "react-dom";
|
|
15
|
+
import "../../FilterWithSave-Bp6rH8Pe.js";
|
|
16
|
+
import "../../components/GroupedInput/ui/GroupedInputs.js";
|
|
17
|
+
import "../../index-rKuIKazb.js";
|
|
18
|
+
import "../../components/MetroTag/ui/MetroTag.js";
|
|
19
|
+
import "../../components/Select/ui/Select.js";
|
|
20
|
+
import "../../components/SliderNavigation/ui/SliderNavigation.js";
|
|
21
|
+
import "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
|
|
22
|
+
import "../../components/TabSelect/ui/TabSelect.js";
|
|
23
|
+
import "../../components/CheckBox/CheckBox.js";
|
|
24
|
+
import "../../components/CheckBoxNew/CheckBoxNew.js";
|
|
25
|
+
import "../../components/CheckboxSelect/ui/CheckboxSelect.js";
|
|
26
|
+
export {
|
|
27
|
+
z as Menu
|
|
28
|
+
};
|
package/dist/main.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { default as default_2 } from 'react';
|
|
|
4
4
|
import { Dispatch } from 'react';
|
|
5
5
|
import { FC } from 'react';
|
|
6
6
|
import { ForwardRefExoticComponent } from 'react';
|
|
7
|
-
import { Input } from './ui/Input';
|
|
8
7
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
9
8
|
import { ReactNode } from 'react';
|
|
10
9
|
import { RefAttributes } from 'react';
|
|
@@ -97,7 +96,7 @@ declare type ComponentProps_4 = IRoundButtonProps & React.ButtonHTMLAttributes<H
|
|
|
97
96
|
|
|
98
97
|
declare type ComponentProps_5 = TagProps & React.HTMLAttributes<HTMLDivElement>;
|
|
99
98
|
|
|
100
|
-
declare type ComponentProps_6 =
|
|
99
|
+
declare type ComponentProps_6 = InputProps_2 & default_2.InputHTMLAttributes<HTMLInputElement>;
|
|
101
100
|
|
|
102
101
|
export declare const deepEqual: (obj1: any, obj2: any) => boolean;
|
|
103
102
|
|
|
@@ -571,15 +570,44 @@ declare interface IModalSuccess {
|
|
|
571
570
|
};
|
|
572
571
|
}
|
|
573
572
|
|
|
574
|
-
export
|
|
573
|
+
export declare const Input: default_2.ForwardRefExoticComponent<default_2.InputHTMLAttributes<HTMLInputElement> & InputProps & {
|
|
574
|
+
children?: default_2.ReactNode;
|
|
575
|
+
} & default_2.RefAttributes<HTMLInputElement>>;
|
|
576
|
+
|
|
577
|
+
declare const INPUT_VARIANTS: {
|
|
578
|
+
light: string;
|
|
579
|
+
dark: string;
|
|
580
|
+
gray: string;
|
|
581
|
+
transparent: string;
|
|
582
|
+
};
|
|
575
583
|
|
|
576
584
|
declare interface InputProps {
|
|
585
|
+
size_s?: inputSizes;
|
|
586
|
+
size_m?: inputSizes;
|
|
587
|
+
size_l?: inputSizes;
|
|
588
|
+
pre?: ReactNode;
|
|
589
|
+
error?: boolean;
|
|
590
|
+
post?: ReactNode;
|
|
591
|
+
children?: ReactNode;
|
|
592
|
+
variant?: inputVariant;
|
|
593
|
+
width?: inputWidth;
|
|
594
|
+
additionalClass?: string;
|
|
595
|
+
isPhoneIMask?: boolean;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
declare interface InputProps_2 {
|
|
577
599
|
label: string;
|
|
578
600
|
handleClear?: () => void;
|
|
579
601
|
children?: ReactNode;
|
|
580
602
|
isShowClear?: boolean;
|
|
581
603
|
}
|
|
582
604
|
|
|
605
|
+
declare type inputSizes = 'large' | 'medium' | 'small' | 'tiny';
|
|
606
|
+
|
|
607
|
+
declare type inputVariant = keyof typeof INPUT_VARIANTS;
|
|
608
|
+
|
|
609
|
+
declare type inputWidth = 'auto' | 'full';
|
|
610
|
+
|
|
583
611
|
declare interface IProject {
|
|
584
612
|
address: string | null;
|
|
585
613
|
buildingYear: number | null;
|