ecars-web-lib 1.0.18 → 1.0.20
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/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { useDropdown } from './services/hooks/useDropdown';
|
|
|
10
10
|
export { useMatchMedia } from './services/hooks/useMatchMedia';
|
|
11
11
|
export { useClickOutside } from './services/hooks/useClickOutside';
|
|
12
12
|
export { Category } from './components/Category/Category';
|
|
13
|
+
export { Logo } from './components/Logo/Logo';
|
|
13
14
|
export { Checkbox } from './components/Checkbox';
|
|
14
15
|
export { Dropdown } from './components/Dropdown';
|
|
15
16
|
export { FavButton } from './components/FavButton/FavButton';
|
package/dist/index.es.js
CHANGED
|
@@ -262,7 +262,13 @@ const Y = {
|
|
|
262
262
|
children: wr(e)
|
|
263
263
|
}
|
|
264
264
|
);
|
|
265
|
-
},
|
|
265
|
+
}, lo = ({ src: e, block: t }) => /* @__PURE__ */ b("a", { className: z(t, "logo"), children: /* @__PURE__ */ b(
|
|
266
|
+
"img",
|
|
267
|
+
{
|
|
268
|
+
src: e,
|
|
269
|
+
alt: "Logo"
|
|
270
|
+
}
|
|
271
|
+
) }), Gr = ({ id: e, block: t, ...r }) => /* @__PURE__ */ $(
|
|
266
272
|
Ne.Block,
|
|
267
273
|
{
|
|
268
274
|
htmlFor: e,
|
|
@@ -403,7 +409,7 @@ const Y = {
|
|
|
403
409
|
Option: Kr,
|
|
404
410
|
Category: Jr,
|
|
405
411
|
Block: Qr
|
|
406
|
-
}), Zr = "favButtonTestId",
|
|
412
|
+
}), Zr = "favButtonTestId", co = ({ disabled: e, block: t, isFavorite: r, type: n, onClick: i }) => {
|
|
407
413
|
const s = z(t, "favorite-button", `favorite-button--${n}`, {
|
|
408
414
|
active: r
|
|
409
415
|
});
|
|
@@ -553,7 +559,7 @@ const Y = {
|
|
|
553
559
|
)
|
|
554
560
|
]
|
|
555
561
|
}
|
|
556
|
-
),
|
|
562
|
+
), uo = ({ children: e, onClick: t, block: r }) => /* @__PURE__ */ b(
|
|
557
563
|
vn,
|
|
558
564
|
{
|
|
559
565
|
type: "button",
|
|
@@ -565,7 +571,7 @@ const Y = {
|
|
|
565
571
|
color: "gray",
|
|
566
572
|
children: e
|
|
567
573
|
}
|
|
568
|
-
),
|
|
574
|
+
), fo = ({ images: e, block: t }) => /* @__PURE__ */ b(
|
|
569
575
|
gr,
|
|
570
576
|
{
|
|
571
577
|
items: e,
|
|
@@ -2022,7 +2028,7 @@ const pt = "routerLinkTestId", ki = ({ color: e, block: t, href: r, to: n, child
|
|
|
2022
2028
|
children: i
|
|
2023
2029
|
}
|
|
2024
2030
|
) : null;
|
|
2025
|
-
}, Di = "leftIconLinkTestId", Bi = "rightIconLinkTestId",
|
|
2031
|
+
}, Di = "leftIconLinkTestId", Bi = "rightIconLinkTestId", po = ({ RightIcon: e, LeftIcon: t, children: r, ...n }) => /* @__PURE__ */ $(
|
|
2026
2032
|
ki,
|
|
2027
2033
|
{
|
|
2028
2034
|
withIcon: !0,
|
|
@@ -2033,7 +2039,7 @@ const pt = "routerLinkTestId", ki = ({ color: e, block: t, href: r, to: n, child
|
|
|
2033
2039
|
!!e && /* @__PURE__ */ b(e, { "data-testid": Bi })
|
|
2034
2040
|
]
|
|
2035
2041
|
}
|
|
2036
|
-
),
|
|
2042
|
+
), ho = ({ block: e, to: t, children: r }) => {
|
|
2037
2043
|
const n = (i) => z(e, "nav-link", {
|
|
2038
2044
|
_active: i
|
|
2039
2045
|
});
|
|
@@ -2132,7 +2138,7 @@ const pt = "routerLinkTestId", ki = ({ color: e, block: t, href: r, to: n, child
|
|
|
2132
2138
|
Page: ji,
|
|
2133
2139
|
Arrow: Wi,
|
|
2134
2140
|
Body: Ui
|
|
2135
|
-
}),
|
|
2141
|
+
}), mo = ({ block: e, ...t }) => /* @__PURE__ */ b(
|
|
2136
2142
|
vr,
|
|
2137
2143
|
{
|
|
2138
2144
|
className: z(e, "range-slider"),
|
|
@@ -5053,7 +5059,7 @@ const Aa = "sliderTestId", Na = ({ spaceBetween: e, slidesPerView: t, block: r,
|
|
|
5053
5059
|
breakpoints: n,
|
|
5054
5060
|
children: s
|
|
5055
5061
|
}
|
|
5056
|
-
),
|
|
5062
|
+
), go = Object.assign(Na, {
|
|
5057
5063
|
Slide: ur
|
|
5058
5064
|
}), Ra = Object.freeze({
|
|
5059
5065
|
LEFT: "left",
|
|
@@ -5069,7 +5075,7 @@ const Aa = "sliderTestId", Na = ({ spaceBetween: e, slidesPerView: t, block: r,
|
|
|
5069
5075
|
className: "slider-navigate__button",
|
|
5070
5076
|
children: Da[e]
|
|
5071
5077
|
}
|
|
5072
|
-
),
|
|
5078
|
+
), vo = () => /* @__PURE__ */ b(
|
|
5073
5079
|
"div",
|
|
5074
5080
|
{
|
|
5075
5081
|
"data-testid": za,
|
|
@@ -5152,21 +5158,22 @@ export {
|
|
|
5152
5158
|
oo as Category,
|
|
5153
5159
|
Ne as Checkbox,
|
|
5154
5160
|
Se as Dropdown,
|
|
5155
|
-
|
|
5161
|
+
co as FavButton,
|
|
5156
5162
|
lt as Field,
|
|
5157
5163
|
ce as FilterAccordion,
|
|
5158
|
-
|
|
5159
|
-
|
|
5164
|
+
uo as FilterButton,
|
|
5165
|
+
fo as Gallery,
|
|
5160
5166
|
Y as Icons,
|
|
5161
5167
|
Sn as Input,
|
|
5162
|
-
|
|
5163
|
-
|
|
5168
|
+
po as LinkWithIcon,
|
|
5169
|
+
lo as Logo,
|
|
5170
|
+
ho as NavLink,
|
|
5164
5171
|
ye as Pagination,
|
|
5165
|
-
|
|
5172
|
+
mo as RangeSlider,
|
|
5166
5173
|
ki as RouterLink,
|
|
5167
5174
|
ae as Select,
|
|
5168
|
-
|
|
5169
|
-
|
|
5175
|
+
go as Slider,
|
|
5176
|
+
vo as SliderNavigate,
|
|
5170
5177
|
wr as capitalizeFirstLetter,
|
|
5171
5178
|
z as cn,
|
|
5172
5179
|
ro as dropdownOptionsMock,
|