@lanaco/lnc-react-ui 4.0.199 → 4.0.201
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/Accordion.cjs +5 -5
- package/dist/Accordion.js +45 -56
- package/dist/AccordionDetails.cjs +3 -3
- package/dist/AccordionDetails.js +11 -25
- package/dist/AccordionSummary.cjs +4 -4
- package/dist/AccordionSummary.js +34 -44
- package/dist/ActionsToolbar.cjs +2 -3
- package/dist/ActionsToolbar.js +83 -135
- package/dist/Alert.cjs +10 -10
- package/dist/Alert.js +32 -64
- package/dist/Avatar.cjs +9 -9
- package/dist/Avatar.js +33 -72
- package/dist/Badge.cjs +6 -6
- package/dist/Badge.js +22 -47
- package/dist/BannerSectionCarousel.cjs +4 -4
- package/dist/BannerSectionCarousel.js +51 -542
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +1 -1
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +12 -14
- package/dist/BlogExploreSection.cjs +1 -1
- package/dist/BlogExploreSection.js +1 -1
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +1 -1
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +1 -1
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +1 -1
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +2 -2
- package/dist/Breadcrumbs.cjs +5 -5
- package/dist/Breadcrumbs.js +57 -87
- package/dist/Button.cjs +11 -11
- package/dist/Button.js +126 -173
- package/dist/ButtonGroup.cjs +8 -8
- package/dist/ButtonGroup.js +37 -49
- package/dist/CalorieCalculatorSection.cjs +8 -8
- package/dist/CalorieCalculatorSection.js +90 -97
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +2 -5
- package/dist/Chip.cjs +14 -14
- package/dist/Chip.js +73 -111
- package/dist/ConfirmationForm.cjs +6 -6
- package/dist/ConfirmationForm.js +67 -109
- package/dist/ContactSection.cjs +1 -0
- package/dist/ContactSection.js +1 -0
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +7 -15
- package/dist/{DailyMotion-ByXblnua.js → DailyMotion-BBcJkMo_.js} +1 -1
- package/dist/{DailyMotion-BaFUcQKQ.cjs → DailyMotion-CpZExcrg.cjs} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +30 -50
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +1347 -1383
- package/dist/DecimalInput.cjs +6 -6
- package/dist/DecimalInput.js +210 -263
- package/dist/DecimalInputV2.cjs +23 -23
- package/dist/DecimalInputV2.js +119 -176
- package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
- package/dist/DetailedProductsInfinitiveSection.js +1 -1
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +2 -2
- package/dist/DetailsView.cjs +9 -9
- package/dist/DetailsView.js +111 -162
- package/dist/DoubleRangeSlider.cjs +22 -22
- package/dist/DoubleRangeSlider.js +70 -95
- package/dist/DragAndDropFile.cjs +10 -10
- package/dist/DragAndDropFile.js +347 -402
- package/dist/DragDropFiles.cjs +4 -4
- package/dist/DragDropFiles.js +70 -124
- package/dist/Drawer.cjs +5 -5
- package/dist/Drawer.js +97 -135
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +44 -213
- package/dist/DropdownItem.cjs +14 -14
- package/dist/DropdownItem.js +106 -142
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +61 -242
- package/dist/DropdownMenu.cjs +4 -4
- package/dist/DropdownMenu.js +87 -149
- package/dist/EditableTable.cjs +10 -10
- package/dist/EditableTable.js +165 -331
- package/dist/{Facebook-BCqiOWZO.js → Facebook-BSWPEXjA.js} +1 -1
- package/dist/{Facebook-D9wwecSW.cjs → Facebook-DoKw-XxT.cjs} +1 -1
- package/dist/FaqSection.cjs +3 -3
- package/dist/FaqSection.js +119 -153
- package/dist/FileInput.cjs +7 -7
- package/dist/FileInput.js +66 -94
- package/dist/{FilePlayer-ktaNhf3p.js → FilePlayer-BtGpIWnK.js} +1 -1
- package/dist/{FilePlayer-DB6jnpeC.cjs → FilePlayer-D9az_lc_.cjs} +1 -1
- package/dist/FlexBox.cjs +6 -6
- package/dist/FlexBox.js +28 -63
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +27 -67
- package/dist/FlexGridItem.cjs +6 -6
- package/dist/FlexGridItem.js +34 -62
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +7 -15
- package/dist/FormField.cjs +7 -7
- package/dist/FormField.js +22 -47
- package/dist/FormView.cjs +6 -6
- package/dist/FormView.js +148 -195
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +1 -1
- package/dist/Grid.cjs +2 -2
- package/dist/Grid.js +40 -65
- package/dist/GridItem.cjs +2 -2
- package/dist/GridItem.js +47 -80
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +7 -15
- package/dist/HelpBannerSection.cjs +3 -3
- package/dist/HelpBannerSection.js +9 -15
- package/dist/Icon.cjs +4 -4
- package/dist/Icon.js +29 -55
- package/dist/IconButton.cjs +9 -9
- package/dist/IconButton.js +89 -127
- package/dist/{Kaltura-CvlN0HDg.js → Kaltura-BDqlEQpd.js} +1 -1
- package/dist/{Kaltura-CCdXLzOa.cjs → Kaltura-CK6JHUZC.cjs} +1 -1
- package/dist/Kanban.cjs +7 -7
- package/dist/Kanban.js +2033 -2098
- package/dist/KanbanActionsToolbar.cjs +4 -5
- package/dist/KanbanActionsToolbar.js +61 -96
- package/dist/KanbanCard-B9V9EjVE.js +137 -0
- package/dist/KanbanCard-DihrKn-I.cjs +30 -0
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -3
- package/dist/KanbanFooter.cjs +3 -3
- package/dist/KanbanFooter.js +37 -55
- package/dist/KanbanHeader.cjs +4 -4
- package/dist/KanbanHeader.js +49 -81
- package/dist/KanbanView.cjs +2 -2
- package/dist/KanbanView.js +106 -173
- package/dist/Link.cjs +7 -7
- package/dist/Link.js +20 -37
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +1 -1
- package/dist/MenuItem.cjs +13 -13
- package/dist/MenuItem.js +101 -139
- package/dist/{Mixcloud-nG_VyBNt.cjs → Mixcloud-C1Boh2Bm.cjs} +1 -1
- package/dist/{Mixcloud-Bb8MTclI.js → Mixcloud-zAh6j7Ha.js} +1 -1
- package/dist/Modal.cjs +18 -19
- package/dist/Modal.js +131 -166
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +25 -196
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +27 -209
- package/dist/{Mux-DfYpGTiP.js → Mux-BGTG_Tvc.js} +1 -1
- package/dist/{Mux-BgB2a8kM.cjs → Mux-C6TwZeaq.cjs} +1 -1
- package/dist/NestedDropdownItem.cjs +3 -3
- package/dist/NestedDropdownItem.js +45 -67
- package/dist/NestedMenuItem.cjs +5 -5
- package/dist/NestedMenuItem.js +51 -78
- package/dist/NotificationContainer.cjs +10 -10
- package/dist/NotificationContainer.js +46 -79
- package/dist/NotificationMessage.cjs +2 -2
- package/dist/NotificationMessage.js +47 -64
- package/dist/NumberInput.cjs +23 -23
- package/dist/NumberInput.js +89 -149
- package/dist/PageLayout.cjs +2 -2
- package/dist/PageLayout.js +20 -28
- package/dist/Pagination.cjs +3 -3
- package/dist/Pagination.js +102 -185
- package/dist/PartnerBrandsSection.cjs +62 -0
- package/dist/PartnerBrandsSection.js +154 -0
- package/dist/PartnerStatsSection.cjs +100 -0
- package/dist/PartnerStatsSection.js +124 -0
- package/dist/PasswordInput.cjs +23 -23
- package/dist/PasswordInput.js +108 -137
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +7 -32
- package/dist/PopoverContent.cjs +5 -5
- package/dist/PopoverContent.js +22 -28
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +7 -12
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +1 -1
- package/dist/ProgressBar.cjs +8 -8
- package/dist/ProgressBar.js +32 -59
- package/dist/RadioGroup.cjs +3 -3
- package/dist/RadioGroup.js +41 -72
- package/dist/RadioInput.cjs +28 -28
- package/dist/RadioInput.js +78 -123
- package/dist/RangeSlider.cjs +19 -19
- package/dist/RangeSlider.js +92 -119
- package/dist/ReviewsSection.cjs +13 -13
- package/dist/ReviewsSection.js +81 -101
- package/dist/SalesCampaignsSection.cjs +38 -28
- package/dist/SalesCampaignsSection.js +297 -325
- package/dist/SearchBar.cjs +10 -10
- package/dist/SearchBar.js +168 -188
- package/dist/SearchSection-B94YN_6P.cjs +161 -0
- package/dist/{SearchSection-DDQ_K98T.js → SearchSection-DAaMecR4.js} +337 -359
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +2 -3
- package/dist/Separator.cjs +3 -3
- package/dist/Separator.js +14 -19
- package/dist/Sidebar.cjs +4 -5
- package/dist/Sidebar.js +33 -56
- package/dist/SimpleCategoriesSection.cjs +2 -2
- package/dist/SimpleCategoriesSection.js +2 -2
- package/dist/{SoundCloud-C86xwUG6.cjs → SoundCloud-C6R6E6Zc.cjs} +1 -1
- package/dist/{SoundCloud-DG91z39R.js → SoundCloud-lO8wg_0s.js} +1 -1
- package/dist/Spinner.cjs +18 -18
- package/dist/Spinner.js +37 -54
- package/dist/StatsSection.cjs +6 -6
- package/dist/StatsSection.js +15 -25
- package/dist/{Streamable-4uAnb3WN.cjs → Streamable-DZO95CiT.cjs} +1 -1
- package/dist/{Streamable-BAIWLgyD.js → Streamable-Dwa5ZEK4.js} +1 -1
- package/dist/Surface.cjs +4 -4
- package/dist/Surface.js +19 -34
- package/dist/SwipeableDrawer.cjs +8 -8
- package/dist/SwipeableDrawer.js +84 -136
- package/dist/TabItem.cjs +11 -11
- package/dist/TabItem.js +83 -118
- package/dist/Table.cjs +65 -65
- package/dist/Table.js +786 -1167
- package/dist/TableView.cjs +2 -2
- package/dist/TableView.js +113 -197
- package/dist/Tabs.cjs +4 -4
- package/dist/Tabs.js +41 -60
- package/dist/TextAreaInput.cjs +14 -14
- package/dist/TextAreaInput.js +131 -181
- package/dist/TextInput.cjs +23 -23
- package/dist/TextInput.js +78 -126
- package/dist/ThemeProvider.cjs +5 -5
- package/dist/ThemeProvider.js +35 -39
- package/dist/TimeInput.cjs +7 -7
- package/dist/TimeInput.js +46 -72
- package/dist/Toggle.cjs +20 -20
- package/dist/Toggle.js +78 -109
- package/dist/ToggleSection.cjs +5 -5
- package/dist/ToggleSection.js +48 -55
- package/dist/TreeMenu.cjs +5 -5
- package/dist/TreeMenu.js +43 -67
- package/dist/TreeMenuSeparator.cjs +3 -3
- package/dist/TreeMenuSeparator.js +12 -20
- package/dist/{Twitch-CVAj24ti.cjs → Twitch-B17oKtD0.cjs} +1 -1
- package/dist/{Twitch-DfXeW5Xs.js → Twitch-C73-dwWo.js} +1 -1
- package/dist/UploadedFile.cjs +11 -11
- package/dist/UploadedFile.js +73 -99
- package/dist/{Vidyard-De3pges0.js → Vidyard-B6GdBHsM.js} +1 -1
- package/dist/{Vidyard-DaCcaaH4.cjs → Vidyard-s1MMcaRm.cjs} +1 -1
- package/dist/{Vimeo-8wXdCXGs.cjs → Vimeo-J1l_SU2E.cjs} +1 -1
- package/dist/{Vimeo-N6I2qi_h.js → Vimeo-kzHz4Gco.js} +1 -1
- package/dist/{Wistia-BrUzHQoq.cjs → Wistia-CudQyDHM.cjs} +1 -1
- package/dist/{Wistia-dlV6n6tO.js → Wistia-w4jnqd7y.js} +1 -1
- package/dist/{YouTube-Cfsj4ZaP.cjs → YouTube-BAYKouHS.cjs} +1 -1
- package/dist/{YouTube-DNJxWqRm.js → YouTube-BKyipPZx.js} +1 -1
- package/dist/index-BdKi2ogu.js +39 -0
- package/dist/index-BppfjY8h.js +497 -0
- package/dist/index-CRk3vcd4.cjs +95 -0
- package/dist/index-CX2A-q39.cjs +4 -0
- package/dist/{index-CWALXP1T.js → index-CwMCk9wV.js} +118 -145
- package/dist/index-DeS-oqJB.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +25 -21
- package/dist/{style-CkcozOY6.cjs → style-B4kAj6YU.cjs} +38 -8
- package/dist/{style-Cmlod7oq.js → style-neMbLWE6.js} +42 -11
- package/dist/{tag-BtS5lWJ0.js → tag-Dm8CW4TM.js} +21 -27
- package/dist/{tag-CmeZsPQt.cjs → tag-UQjq2_Ba.cjs} +7 -7
- package/package.json +4 -2
- package/vite.config.js +8 -0
- package/dist/KanbanCard-68kSAXL6.js +0 -175
- package/dist/KanbanCard-BDvoqTDS.cjs +0 -30
- package/dist/SearchSection-BcbHP6QF.cjs +0 -161
- package/dist/index-Be-_NM9Q.cjs +0 -4
- package/dist/index-C0LcDEqa.js +0 -47
- package/dist/index-CSNxZFTX.cjs +0 -95
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g } from "react";
|
|
3
|
+
import { C as p } from "./index-BppfjY8h.js";
|
|
4
|
+
import f from "./Button.js";
|
|
5
|
+
import { u as m } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
+
import { S as _ } from "./style-neMbLWE6.js";
|
|
7
|
+
import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
|
+
const u = b.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
gap: 1.5rem;
|
|
12
|
+
|
|
13
|
+
& .section__slider {
|
|
14
|
+
position: relative;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
& .slider__gradient {
|
|
18
|
+
position: absolute;
|
|
19
|
+
width: 7.5rem;
|
|
20
|
+
height: 100%;
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
z-index: 1;
|
|
23
|
+
opacity: 0.4;
|
|
24
|
+
top: 0;
|
|
25
|
+
|
|
26
|
+
&.left {
|
|
27
|
+
left: 0;
|
|
28
|
+
background: linear-gradient(to left, transparent, white);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.right {
|
|
32
|
+
right: 0;
|
|
33
|
+
background: linear-gradient(to right, transparent, white);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.slider__container {
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.slider__item {
|
|
42
|
+
padding-right: 1rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
& .section__item {
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 100%;
|
|
48
|
+
max-height: 3.75rem;
|
|
49
|
+
border-radius: 0.5rem;
|
|
50
|
+
border: 1px solid var(--gray-200, #e4e9f0);
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
|
|
53
|
+
& img {
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
filter: grayscale(100%);
|
|
58
|
+
transition: filter 0.3s ease;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
filter: grayscale(0%);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
`, j = g(
|
|
70
|
+
({
|
|
71
|
+
title: o,
|
|
72
|
+
buttonText: n,
|
|
73
|
+
buttonLink: d,
|
|
74
|
+
items: e,
|
|
75
|
+
onSelectCard: c = () => {
|
|
76
|
+
},
|
|
77
|
+
onButtonAction: l = () => {
|
|
78
|
+
}
|
|
79
|
+
}, v) => {
|
|
80
|
+
const h = m() ? 2 : 7, a = (e == null ? void 0 : e.length) > h;
|
|
81
|
+
return /* @__PURE__ */ s(u, { children: [
|
|
82
|
+
/* @__PURE__ */ s(_, { children: [
|
|
83
|
+
o && /* @__PURE__ */ i("div", { className: "heading__title", children: o }),
|
|
84
|
+
n && d && /* @__PURE__ */ i(
|
|
85
|
+
f,
|
|
86
|
+
{
|
|
87
|
+
text: n,
|
|
88
|
+
borderRadius: "curved",
|
|
89
|
+
btnType: "tinted",
|
|
90
|
+
className: "heading__action",
|
|
91
|
+
color: "neutral",
|
|
92
|
+
onClick: (r) => {
|
|
93
|
+
var t;
|
|
94
|
+
(t = r == null ? void 0 : r.target) == null || t.blur(), l == null || l(d);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
)
|
|
98
|
+
] }),
|
|
99
|
+
e && (e == null ? void 0 : e.length) > 0 && /* @__PURE__ */ s("div", { className: "section__slider", children: [
|
|
100
|
+
a && /* @__PURE__ */ i("div", { className: "slider__gradient left" }),
|
|
101
|
+
/* @__PURE__ */ i(
|
|
102
|
+
p,
|
|
103
|
+
{
|
|
104
|
+
responsive: {
|
|
105
|
+
desktop: {
|
|
106
|
+
breakpoint: { max: 9999, min: 801 },
|
|
107
|
+
items: 7,
|
|
108
|
+
slidesToSlide: 1,
|
|
109
|
+
partialVisibilityGutter: 10
|
|
110
|
+
},
|
|
111
|
+
mobile: {
|
|
112
|
+
breakpoint: { max: 800, min: 0 },
|
|
113
|
+
items: 2,
|
|
114
|
+
slidesToSlide: 1,
|
|
115
|
+
partialVisibilityGutter: 20
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
draggable: !1,
|
|
119
|
+
swipeable: !1,
|
|
120
|
+
arrows: !1,
|
|
121
|
+
infinite: a,
|
|
122
|
+
autoPlay: a,
|
|
123
|
+
autoPlaySpeed: 2e3,
|
|
124
|
+
partialVisible: a,
|
|
125
|
+
customTransition: "transform 500ms linear",
|
|
126
|
+
transitionDuration: 500,
|
|
127
|
+
containerClass: "slider__container",
|
|
128
|
+
itemClass: "slider__item",
|
|
129
|
+
children: e == null ? void 0 : e.map((r, t) => /* @__PURE__ */ i(
|
|
130
|
+
"div",
|
|
131
|
+
{
|
|
132
|
+
className: "section__item",
|
|
133
|
+
onClick: () => c(r),
|
|
134
|
+
children: /* @__PURE__ */ i(
|
|
135
|
+
"img",
|
|
136
|
+
{
|
|
137
|
+
src: r == null ? void 0 : r.imageUrl,
|
|
138
|
+
alt: `Partner brand image ${t + 1}`,
|
|
139
|
+
loading: "lazy"
|
|
140
|
+
}
|
|
141
|
+
)
|
|
142
|
+
},
|
|
143
|
+
`partner-brands-section-item__${t + 1}`
|
|
144
|
+
))
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
a && /* @__PURE__ */ i("div", { className: "slider__gradient right" })
|
|
148
|
+
] })
|
|
149
|
+
] });
|
|
150
|
+
}
|
|
151
|
+
);
|
|
152
|
+
export {
|
|
153
|
+
j as default
|
|
154
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("react"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),n=require("./utils-RnrgDDZP.cjs"),_=c.styled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
gap: 2rem;
|
|
6
|
+
align-self: stretch;
|
|
7
|
+
|
|
8
|
+
& .section__text {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: flex-start;
|
|
12
|
+
gap: 1rem;
|
|
13
|
+
align-self: stretch;
|
|
14
|
+
max-width: 50rem;
|
|
15
|
+
|
|
16
|
+
& .section__title {
|
|
17
|
+
color: var(--gray-900, #0c1520);
|
|
18
|
+
font-size: 2rem;
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: 600;
|
|
21
|
+
line-height: 2.5rem;
|
|
22
|
+
${n.truncateTextInRows(2)}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& .section__description {
|
|
26
|
+
color: var(--gray-700, #424b56);
|
|
27
|
+
font-size: 0.875rem;
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
line-height: 1.25rem;
|
|
31
|
+
letter-spacing: 0.0156rem;
|
|
32
|
+
${n.truncateTextInRows(2)}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
& .section__items {
|
|
37
|
+
display: flex;
|
|
38
|
+
|
|
39
|
+
& .section__item {
|
|
40
|
+
border-left: 4px solid #ffa36a;
|
|
41
|
+
height: 3rem;
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
align-items: flex-start;
|
|
45
|
+
flex: 1 0 0;
|
|
46
|
+
min-width: 12.5rem;
|
|
47
|
+
padding-left: 0.75rem;
|
|
48
|
+
|
|
49
|
+
& .item__title {
|
|
50
|
+
color: var(--gray-900, #0c1520);
|
|
51
|
+
font-size: 1.375rem;
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
line-height: 1.75rem;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
& .item__description {
|
|
58
|
+
color: var(--gray-600, #5a6573);
|
|
59
|
+
font-size: 0.875rem;
|
|
60
|
+
font-style: normal;
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
line-height: 1.25rem;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
|
|
68
|
+
gap: 1.25rem;
|
|
69
|
+
|
|
70
|
+
& .section__text {
|
|
71
|
+
& .section__title {
|
|
72
|
+
font-size: 1.375rem;
|
|
73
|
+
line-height: 1.75rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
& .section__description {
|
|
77
|
+
${n.truncateTextInRows(5)}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
& .section__items {
|
|
82
|
+
& .section__item {
|
|
83
|
+
height: 3.5rem;
|
|
84
|
+
min-width: auto;
|
|
85
|
+
|
|
86
|
+
& .item__title {
|
|
87
|
+
font-size: 1rem;
|
|
88
|
+
line-height: 1.5rem;
|
|
89
|
+
letter-spacing: 0.0063rem;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
& .item__description {
|
|
93
|
+
font-size: 12px;
|
|
94
|
+
line-height: 1rem;
|
|
95
|
+
letter-spacing: 0.0313rem;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
`,m=l.forwardRef(({title:r,description:s,items:t},d)=>e.jsxs(_,{children:[e.jsxs("div",{className:"section__text",children:[r&&e.jsx("div",{className:"section__title",children:r}),s&&e.jsx("div",{className:"section__description",children:s})]}),t&&(t==null?void 0:t.length)>0&&e.jsx("div",{className:"section__items",children:t==null?void 0:t.map((i,o)=>e.jsxs("div",{className:"section__item",children:[e.jsx("div",{className:"item__title",children:i==null?void 0:i.title}),e.jsx("div",{className:"item__description",children:i==null?void 0:i.description})]},`partner-stats-section-item__${o+1}`))})]}));module.exports=m;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
|
+
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { M as m } from "./consts-BuFChS64.js";
|
|
5
|
+
import { m as n } from "./utils-DtEfC-TX.js";
|
|
6
|
+
const _ = c.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: flex-start;
|
|
10
|
+
gap: 2rem;
|
|
11
|
+
align-self: stretch;
|
|
12
|
+
|
|
13
|
+
& .section__text {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
gap: 1rem;
|
|
18
|
+
align-self: stretch;
|
|
19
|
+
max-width: 50rem;
|
|
20
|
+
|
|
21
|
+
& .section__title {
|
|
22
|
+
color: var(--gray-900, #0c1520);
|
|
23
|
+
font-size: 2rem;
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
line-height: 2.5rem;
|
|
27
|
+
${n(2)}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& .section__description {
|
|
31
|
+
color: var(--gray-700, #424b56);
|
|
32
|
+
font-size: 0.875rem;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
line-height: 1.25rem;
|
|
36
|
+
letter-spacing: 0.0156rem;
|
|
37
|
+
${n(2)}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& .section__items {
|
|
42
|
+
display: flex;
|
|
43
|
+
|
|
44
|
+
& .section__item {
|
|
45
|
+
border-left: 4px solid #ffa36a;
|
|
46
|
+
height: 3rem;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
align-items: flex-start;
|
|
50
|
+
flex: 1 0 0;
|
|
51
|
+
min-width: 12.5rem;
|
|
52
|
+
padding-left: 0.75rem;
|
|
53
|
+
|
|
54
|
+
& .item__title {
|
|
55
|
+
color: var(--gray-900, #0c1520);
|
|
56
|
+
font-size: 1.375rem;
|
|
57
|
+
font-style: normal;
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
line-height: 1.75rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
& .item__description {
|
|
63
|
+
color: var(--gray-600, #5a6573);
|
|
64
|
+
font-size: 0.875rem;
|
|
65
|
+
font-style: normal;
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
line-height: 1.25rem;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@media (max-width: ${m + "px"}) {
|
|
73
|
+
gap: 1.25rem;
|
|
74
|
+
|
|
75
|
+
& .section__text {
|
|
76
|
+
& .section__title {
|
|
77
|
+
font-size: 1.375rem;
|
|
78
|
+
line-height: 1.75rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
& .section__description {
|
|
82
|
+
${n(5)}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
& .section__items {
|
|
87
|
+
& .section__item {
|
|
88
|
+
height: 3.5rem;
|
|
89
|
+
min-width: auto;
|
|
90
|
+
|
|
91
|
+
& .item__title {
|
|
92
|
+
font-size: 1rem;
|
|
93
|
+
line-height: 1.5rem;
|
|
94
|
+
letter-spacing: 0.0063rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
& .item__description {
|
|
98
|
+
font-size: 12px;
|
|
99
|
+
line-height: 1rem;
|
|
100
|
+
letter-spacing: 0.0313rem;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
`, y = a(({ title: o, description: l, items: e }, d) => /* @__PURE__ */ r(_, { children: [
|
|
106
|
+
/* @__PURE__ */ r("div", { className: "section__text", children: [
|
|
107
|
+
o && /* @__PURE__ */ i("div", { className: "section__title", children: o }),
|
|
108
|
+
l && /* @__PURE__ */ i("div", { className: "section__description", children: l })
|
|
109
|
+
] }),
|
|
110
|
+
e && (e == null ? void 0 : e.length) > 0 && /* @__PURE__ */ i("div", { className: "section__items", children: e == null ? void 0 : e.map((t, s) => /* @__PURE__ */ r(
|
|
111
|
+
"div",
|
|
112
|
+
{
|
|
113
|
+
className: "section__item",
|
|
114
|
+
children: [
|
|
115
|
+
/* @__PURE__ */ i("div", { className: "item__title", children: t == null ? void 0 : t.title }),
|
|
116
|
+
/* @__PURE__ */ i("div", { className: "item__description", children: t == null ? void 0 : t.description })
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
`partner-stats-section-item__${s + 1}`
|
|
120
|
+
)) })
|
|
121
|
+
] }));
|
|
122
|
+
export {
|
|
123
|
+
y as default
|
|
124
|
+
};
|
package/dist/PasswordInput.cjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),a=require("react"),p=require("./index-Cp66dWMi.cjs"),B=require("./Icon.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-RnrgDDZP.cjs"),D=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),P=h.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
|
|
5
|
-
min-height: ${e=>
|
|
6
|
-
max-height: ${e=>
|
|
7
|
-
background-color: ${e=>
|
|
5
|
+
min-height: ${e=>l.getSizeValueWithUnits(e.theme,e.size)};
|
|
6
|
+
max-height: ${e=>l.getSizeValueWithUnits(e.theme,e.size)};
|
|
7
|
+
background-color: ${e=>l.getColorRgbaValue(e.theme,"Input",e.color,"enabled","background")};
|
|
8
8
|
border: 1px solid
|
|
9
|
-
${e=>
|
|
10
|
-
border-radius: ${e=>
|
|
9
|
+
${e=>l.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,e.disabled===!0?"disabled":"enabled","border")};
|
|
10
|
+
border-radius: ${e=>l.getBorderRadiusValueWithUnits(e.theme,"regular")};
|
|
11
11
|
|
|
12
|
-
${e=>e.focused&&e.readOnly!==!0?
|
|
13
|
-
/* ${e=>e.disabled===!0?
|
|
14
|
-
${e=>e.disabled===!0&&`background-color: ${
|
|
15
|
-
color: ${
|
|
12
|
+
${e=>e.focused&&e.readOnly!==!0?l.getOutlineCss(e.theme):""}
|
|
13
|
+
/* ${e=>e.disabled===!0?l.getDisabledStateCss(e.theme):""} */
|
|
14
|
+
${e=>e.disabled===!0&&`background-color: ${l.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
|
|
15
|
+
color: ${o=>l.getColorRgbaValue(o.theme,"Input",o.color,"disabled","text")};`}
|
|
16
16
|
`,$=h.styled.span`
|
|
17
17
|
padding: 0 12px;
|
|
18
|
-
color: ${e=>
|
|
19
|
-
`,
|
|
18
|
+
color: ${e=>l.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","prefix")};
|
|
19
|
+
`,A=h.styled($)``,G=h.styled($)`
|
|
20
20
|
cursor: pointer;
|
|
21
|
-
`,
|
|
21
|
+
`,H=h.styled.input`
|
|
22
22
|
background: none;
|
|
23
23
|
border: none;
|
|
24
24
|
outline: none;
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
padding-bottom: 0.625rem;
|
|
27
27
|
width: 100%;
|
|
28
28
|
|
|
29
|
-
${e=>
|
|
30
|
-
min-height: ${e=>
|
|
31
|
-
max-height: ${e=>
|
|
32
|
-
color: ${e=>
|
|
33
|
-
caret-color: ${e=>
|
|
29
|
+
${e=>l.getComponentTypographyCss(e.theme,"Input",e.size,"enabled")}
|
|
30
|
+
min-height: ${e=>l.getSizeValueWithUnits(e.theme,e.size)};
|
|
31
|
+
max-height: ${e=>l.getSizeValueWithUnits(e.theme,e.size)};
|
|
32
|
+
color: ${e=>l.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","text")};
|
|
33
|
+
caret-color: ${e=>l.getColorRgbaValue(e.theme,"Input",e.color,"enabled","caret")};
|
|
34
34
|
padding-right: ${e=>e.suffix?"0":"0.75rem"};
|
|
35
35
|
padding-left: ${e=>e.prefix?"0":"0.75rem"};
|
|
36
36
|
|
|
37
37
|
&::placeholder {
|
|
38
|
-
color: ${e=>
|
|
38
|
+
color: ${e=>l.getColorRgbaValue(e.theme,"Input",e.color,"enabled","placeholder")};
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&:read-only {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
&:disabled {
|
|
46
|
-
/* ${e=>
|
|
47
|
-
${e=>`background-color: ${
|
|
48
|
-
color: ${
|
|
46
|
+
/* ${e=>l.getDisabledStateCss(e.theme)} */
|
|
47
|
+
${e=>`background-color: ${l.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
|
|
48
|
+
color: ${o=>l.getColorRgbaValue(o.theme,"Input",o.color,"disabled","text")};`}
|
|
49
49
|
background: none;
|
|
50
50
|
}
|
|
51
|
-
`,
|
|
51
|
+
`,J=a.forwardRef((e,o)=>{const{wrapperRef:R,disabled:C,readOnly:S,debounceTime:z=0,placeholder:v,prefix:m,suffix:f,value:d,defaultValue:j,onChange:u,onBlur:x,onFocus:y,className:q="",style:w={},size:k="small",color:s="primary",...O}=e,n=a.useRef(),i=D.useTheme(),[W,I]=a.useState(d||j||"");a.useEffect(()=>{d!=null&&I(d)},[d]);const[b,E]=a.useState(!0),[g,V]=a.useState(!1);a.useEffect(()=>{var r;const t=((r=n==null?void 0:n.current)==null?void 0:r.value)||"";n.current.selectionStart=t!=null&&t.length?t.length:0,n.current.selectionEnd=t!=null&&t.length?t.length:0},[b]),a.useEffect(()=>{o!=null&&(o.current=n.current)},[o,n]);const U=a.useCallback(p.debounce((t,r)=>_(t,r),z),[u]),_=(t,r)=>{u&&(u==null||u(t,r))},F=t=>{I(t.target.value),U(t,t.target.value)},L=()=>{E(!b),n.current.focus()},N=t=>{V(!0),y==null||y(t)},T=t=>{V(!1),x==null||x(t)};return c.jsxs(P,{ref:R,style:w,className:q,theme:i,color:s,size:k,focused:g,disabled:C,readOnly:S,children:[m&&c.jsx($,{theme:i,color:s,focused:g,className:"lnc-input-prefix",children:m}),c.jsx(H,{ref:n,type:b?"password":"text",theme:i,color:s,size:k,placeholder:v,prefix:m,suffix:f,disabled:C,readOnly:S,focused:g,onFocus:N,onBlur:T,onChange:F,value:W,...O}),c.jsx(G,{theme:i,color:s,focused:g,onClick:L,children:c.jsx(B,{icon:b?"eye-slash":"eye"})}),f&&c.jsx(A,{theme:i,color:s,focused:g,className:"lnc-input-suffix",children:f})]})});module.exports=J;
|