@lanaco/lnc-react-ui 4.0.112 → 4.0.113
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 +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerSectionCarousel.cjs +1 -1
- package/dist/BannerSectionCarousel.js +3 -3
- package/dist/BlogCardsSponsoredSection.cjs +25 -14
- package/dist/BlogCardsSponsoredSection.js +58 -47
- package/dist/BlogListSection.cjs +37 -9
- package/dist/BlogListSection.js +127 -70
- package/dist/BlogsSectionDetailed.cjs +7 -2
- package/dist/BlogsSectionDetailed.js +6 -1
- package/dist/BlogsSectionSimpleCentered.cjs +3 -2
- package/dist/BlogsSectionSimpleCentered.js +1 -0
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +1 -1
- package/dist/BrandHitsSection.cjs +11 -11
- package/dist/BrandHitsSection.js +40 -38
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +2 -2
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/ContactSection.cjs +303 -0
- package/dist/ContactSection.js +1614 -0
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +1 -1
- package/dist/{CustomStyles-DtKDPOdk.cjs → CustomStyles-D3JePSNK.cjs} +1 -1
- package/dist/{CustomStyles-Dd8IsVV6.js → CustomStyles-DpKzWczC.js} +2 -2
- package/dist/DailyMotion-CUHIuSln.js +136 -0
- package/dist/DailyMotion-D46sLmkS.cjs +1 -0
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +1 -1
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +496 -552
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +2 -2
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +2 -2
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +5 -5
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +4 -4
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/Facebook-R53Rry9l.cjs +1 -0
- package/dist/Facebook-aEQQxj-r.js +121 -0
- package/dist/FaqSection.cjs +219 -0
- package/dist/FaqSection.js +481 -0
- package/dist/FeedbackSection.cjs +1 -1
- package/dist/FeedbackSection.js +1 -1
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/FilePlayer-9FdL9kM0.js +202 -0
- package/dist/FilePlayer-D9up8eWZ.cjs +1 -0
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +1 -1
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +1 -1
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.js +1 -1
- package/dist/GridItem.cjs +1 -1
- package/dist/GridItem.js +1 -1
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +1 -1
- package/dist/HelpBannerSection.cjs +62 -0
- package/dist/HelpBannerSection.js +81 -0
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +1 -1
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kaltura-C170sgeD.cjs +1 -0
- package/dist/Kaltura-Dziqci9-.js +121 -0
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +5 -5
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/{KanbanCard-CXRQQu4S.cjs → KanbanCard-CP60mpJO.cjs} +1 -1
- package/dist/{KanbanCard-CIscpYlR.js → KanbanCard-Crf-cTxA.js} +2 -2
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -2
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +1 -1
- package/dist/KanbanHeader.cjs +1 -1
- package/dist/KanbanHeader.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +2 -2
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Mixcloud-Cfn28kqf.js +113 -0
- package/dist/Mixcloud-Towpm_ct.cjs +1 -0
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +2 -2
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +3 -3
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +3 -3
- package/dist/Mux-D0MPDKkM.js +165 -0
- package/dist/Mux-yqNOmuss.cjs +1 -0
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/Notification.cjs +1 -1
- package/dist/Notification.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +2 -2
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +2 -2
- package/dist/PageLayout.cjs +1 -1
- package/dist/PageLayout.js +1 -1
- package/dist/Pagination.cjs +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +2 -2
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +2 -2
- package/dist/PopoverDescription.cjs +1 -1
- package/dist/PopoverDescription.js +1 -1
- package/dist/PopoverHeading.cjs +1 -1
- package/dist/PopoverHeading.js +1 -1
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +2 -2
- package/dist/Preview-B8HyPnfR.cjs +1 -0
- package/dist/Preview-CO6WSP5f.js +127 -0
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/QuattroCardsSection.cjs +1 -1
- package/dist/QuattroCardsSection.js +1 -1
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +1 -1
- package/dist/ReviewsSection.js +1 -1
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +1 -1
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +3 -3
- package/dist/SearchSection-BUD-hnQA.cjs +161 -0
- package/dist/SearchSection-xe0nvARV.js +1214 -0
- package/dist/SearchSection.cjs +1 -0
- package/dist/SearchSection.js +9 -0
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SoundCloud-D85Da68L.js +123 -0
- package/dist/SoundCloud-YZlcPffr.cjs +1 -0
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +2 -2
- package/dist/StatsSection.cjs +117 -0
- package/dist/StatsSection.js +154 -0
- package/dist/Streamable-CJQf8evZ.cjs +1 -0
- package/dist/Streamable-Zj4FOeBP.js +115 -0
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +3 -3
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +2 -2
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +2 -2
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +2 -2
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +2 -2
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/Twitch-Ba2O5gTX.cjs +1 -0
- package/dist/Twitch-DC97YrR8.js +117 -0
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/Vidyard-BdNB5Wka.cjs +1 -0
- package/dist/Vidyard-D9vYqvNv.js +113 -0
- package/dist/Vimeo-23LnW4uS.js +146 -0
- package/dist/Vimeo-DatJiKS5.cjs +1 -0
- package/dist/Wistia-D--UDN6c.cjs +1 -0
- package/dist/Wistia-d2TQ3m-s.js +124 -0
- package/dist/YouTube-BEkcZxN7.cjs +1 -0
- package/dist/YouTube-x5-hc3s6.js +176 -0
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/_commonjsHelpers-DwTZ_eVU.cjs +1 -0
- package/dist/{emotion-react.browser.esm-1R69UXoj.cjs → emotion-react.browser.esm-Cvnp-zmB.cjs} +1 -1
- package/dist/{emotion-react.browser.esm-C6iWxXPG.js → emotion-react.browser.esm-DUVZ5oEL.js} +1 -1
- package/dist/{floating-ui.react.esm-h3qa3pb9.js → floating-ui.react.esm-CfpRzwmn.js} +1 -1
- package/dist/{floating-ui.react.esm-Bb1ww976.cjs → floating-ui.react.esm-CiYofNnh.cjs} +1 -1
- package/dist/{hoist-non-react-statics.cjs-Dr-ytKVG.cjs → hoist-non-react-statics.cjs-DGqlkKoS.cjs} +1 -1
- package/dist/{hoist-non-react-statics.cjs-CAHiRNzQ.js → hoist-non-react-statics.cjs-NQME298B.js} +1 -1
- package/dist/{index-EeoArxOx.cjs → index-41nUb2kP.cjs} +1 -1
- package/dist/{index-BlxaTV-D.js → index-6RFrSPs_.js} +1 -1
- package/dist/{index-64mXPFBC.js → index-B1vKwsDE.js} +1 -1
- package/dist/{index-Bq3leL2e.js → index-BXrmgzsU.js} +1 -1
- package/dist/{index-gY9e_8LL.cjs → index-BZnmT78f.cjs} +1 -1
- package/dist/{index-CQLF61YV.js → index-BgRyIsRu.js} +1 -1
- package/dist/{index-BPVoEhTF.cjs → index-BpbMKBf_.cjs} +1 -1
- package/dist/index-CDGmG-qk.cjs +1 -0
- package/dist/{index-S5Cd7WrG.js → index-CblbdqjE.js} +1 -1
- package/dist/{index-DaiUAQVF.cjs → index-Cp66dWMi.cjs} +1 -1
- package/dist/{index-DAOBjHnD.cjs → index-DA7SIHV1.cjs} +1 -1
- package/dist/{index-C1DkD2ug.cjs → index-DCFJmN23.cjs} +1 -1
- package/dist/{index-CkWvbrVT.js → index-Dt62UGku.js} +1 -1
- package/dist/index-wlx30R-h.js +62 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +60 -50
- package/dist/{react-toastify.esm--2awuizG.js → react-toastify.esm-BLQznunb.js} +1 -1
- package/dist/{react-toastify.esm-Dq1k28O7.cjs → react-toastify.esm-BoMuFZcq.cjs} +1 -1
- package/dist/{styled-components.browser.esm-CMTEDJ_5.cjs → styled-components.browser.esm-CvykQBGY.cjs} +1 -1
- package/dist/{styled-components.browser.esm-C9FYANiy.js → styled-components.browser.esm-D-n22PJk.js} +1 -1
- package/dist/usePopover.cjs +1 -1
- package/dist/usePopover.js +1 -1
- package/package.json +8 -2
- package/vite.config.js +14 -0
- package/dist/_commonjsHelpers-DKOUU3wS.cjs +0 -1
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
import { jsx as r, jsxs as l, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as S, useState as T, useMemo as $ } from "react";
|
|
3
|
+
import { P as e } from "./index-CblbdqjE.js";
|
|
4
|
+
import z from "./Chip.js";
|
|
5
|
+
import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
+
import { M as I } from "./consts-BuFChS64.js";
|
|
7
|
+
import { u as E } from "./useDetectMobile-Bkvj0VMa.js";
|
|
8
|
+
import N from "./Icon.js";
|
|
9
|
+
import C from "./IconButton.js";
|
|
10
|
+
import F from "./Button.js";
|
|
11
|
+
const j = k.div`
|
|
12
|
+
display: flex;
|
|
13
|
+
gap: 0.75rem;
|
|
14
|
+
align-items: center;
|
|
15
|
+
align-content: center;
|
|
16
|
+
|
|
17
|
+
& .tags__item {
|
|
18
|
+
color: var(--gray-900, #0c1520);
|
|
19
|
+
background: var(--gray-100, #f3f6fb);
|
|
20
|
+
font-size: 0.875rem;
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
line-height: 1.25rem;
|
|
24
|
+
letter-spacing: -0.0056rem;
|
|
25
|
+
padding: 0.5rem 0.75rem;
|
|
26
|
+
|
|
27
|
+
&.active {
|
|
28
|
+
color: var(--white, #fff);
|
|
29
|
+
background: var(--gray-900, #0c1520);
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
color: var(--white, #fff);
|
|
34
|
+
background: var(--gray-900, #0c1520);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
background: var(--gray-200, #e4e9f0);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:focus {
|
|
43
|
+
outline: none;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media (max-width: ${I + "px"}) {
|
|
48
|
+
width: 100%;
|
|
49
|
+
overflow-x: auto;
|
|
50
|
+
white-space: nowrap;
|
|
51
|
+
|
|
52
|
+
-webkit-overflow-scrolling: touch;
|
|
53
|
+
::-webkit-scrollbar {
|
|
54
|
+
-webkit-appearance: none;
|
|
55
|
+
}
|
|
56
|
+
-ms-overflow-style: none;
|
|
57
|
+
/* Internet Explorer 10+ */
|
|
58
|
+
scrollbar-width: none;
|
|
59
|
+
/* Firefox */
|
|
60
|
+
|
|
61
|
+
&::-webkit-scrollbar {
|
|
62
|
+
display: none;
|
|
63
|
+
/* Safari and Chrome */
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
`, P = k.div`
|
|
67
|
+
display: flex;
|
|
68
|
+
gap: 1.25rem;
|
|
69
|
+
width: 100%;
|
|
70
|
+
|
|
71
|
+
& .section__column {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
gap: 1.25rem;
|
|
75
|
+
width: 100%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
& .section__show-more {
|
|
79
|
+
color: var(--neutral-600, #0f2a46);
|
|
80
|
+
font-size: 0.875rem;
|
|
81
|
+
font-style: normal;
|
|
82
|
+
font-weight: 500;
|
|
83
|
+
line-height: 1.25rem;
|
|
84
|
+
letter-spacing: -0.0056rem;
|
|
85
|
+
|
|
86
|
+
&:focus {
|
|
87
|
+
outline: none;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (max-width: ${I + "px"}) {
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
}
|
|
94
|
+
`, R = k.div`
|
|
95
|
+
width: 100%;
|
|
96
|
+
height: fit-content;
|
|
97
|
+
background: var(--white, #fff);
|
|
98
|
+
border: 1px solid var(--gray-100, #f3f6fb);
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
gap: 0.75rem;
|
|
102
|
+
padding: 1rem;
|
|
103
|
+
border-radius: 0.75rem;
|
|
104
|
+
|
|
105
|
+
&:hover {
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.expanded {
|
|
110
|
+
border: 1px solid #ff7621;
|
|
111
|
+
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.16),
|
|
112
|
+
0 1px 4px 0 rgba(255, 118, 33, 0.5) inset;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
& .card__heading {
|
|
116
|
+
display: flex;
|
|
117
|
+
justify-content: space-between;
|
|
118
|
+
width: 100%;
|
|
119
|
+
|
|
120
|
+
& .card__title {
|
|
121
|
+
color: var(--neutral-600, #0f2a46);
|
|
122
|
+
font-size: 1rem;
|
|
123
|
+
font-style: normal;
|
|
124
|
+
font-weight: 500;
|
|
125
|
+
line-height: 1.5rem;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
& .card__icon {
|
|
129
|
+
color: var(--neutral-600, #0f2a46);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
& .card__description {
|
|
134
|
+
color: var(--neutral-400, #47607b);
|
|
135
|
+
font-size: 0.875rem;
|
|
136
|
+
font-style: normal;
|
|
137
|
+
font-weight: 400;
|
|
138
|
+
line-height: 1.25rem;
|
|
139
|
+
letter-spacing: 0.0156rem;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
& .card__impression {
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
gap: 0.75rem;
|
|
146
|
+
|
|
147
|
+
& .imppression__question {
|
|
148
|
+
color: var(--gray-500, #7a8594);
|
|
149
|
+
font-size: 0.75rem;
|
|
150
|
+
font-style: normal;
|
|
151
|
+
font-weight: 500;
|
|
152
|
+
line-height: 1rem;
|
|
153
|
+
letter-spacing: 0.0313rem;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
& .impression__actions {
|
|
157
|
+
display: flex;
|
|
158
|
+
gap: 0.5rem;
|
|
159
|
+
|
|
160
|
+
button {
|
|
161
|
+
color: var(--gray-600, #676e79);
|
|
162
|
+
|
|
163
|
+
&:focus {
|
|
164
|
+
outline: none;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&.feedback {
|
|
170
|
+
gap: 0.25rem;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@media (max-width: ${I + "px"}) {
|
|
175
|
+
& .card__impression {
|
|
176
|
+
justify-content: space-between;
|
|
177
|
+
|
|
178
|
+
&.feedback {
|
|
179
|
+
justify-content: flex-start;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
`, q = S(
|
|
184
|
+
({ tags: o = [], selectedTagCode: a = null, onSelectTag: d = () => {
|
|
185
|
+
} }, u) => /* @__PURE__ */ r(j, { children: o == null ? void 0 : o.map((t, p) => /* @__PURE__ */ r(
|
|
186
|
+
z,
|
|
187
|
+
{
|
|
188
|
+
label: t == null ? void 0 : t.name,
|
|
189
|
+
borderRadius: "curved",
|
|
190
|
+
color: "neutral",
|
|
191
|
+
className: `tags__item ${a === (t == null ? void 0 : t.code) ? "active" : ""}`,
|
|
192
|
+
onClick: () => {
|
|
193
|
+
d(t);
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
`faq-section-tag__${p + 1}`
|
|
197
|
+
)) })
|
|
198
|
+
);
|
|
199
|
+
q.propTypes = {
|
|
200
|
+
tags: e.array,
|
|
201
|
+
onSelectTag: e.func
|
|
202
|
+
};
|
|
203
|
+
const b = ({
|
|
204
|
+
title: o,
|
|
205
|
+
description: a,
|
|
206
|
+
questionText: d,
|
|
207
|
+
feedbackText: u,
|
|
208
|
+
impressions: t = !1,
|
|
209
|
+
onSelectItem: p = () => {
|
|
210
|
+
},
|
|
211
|
+
onImpressed: m = () => {
|
|
212
|
+
}
|
|
213
|
+
}) => {
|
|
214
|
+
const [f, g] = T(!1), [_, v] = T(!1), h = () => {
|
|
215
|
+
g((i) => !i), p();
|
|
216
|
+
}, s = (i, c) => {
|
|
217
|
+
i == null || i.stopPropagation(), v(!0), m(c);
|
|
218
|
+
};
|
|
219
|
+
return /* @__PURE__ */ l(
|
|
220
|
+
R,
|
|
221
|
+
{
|
|
222
|
+
className: f ? "expanded" : "",
|
|
223
|
+
onClick: h,
|
|
224
|
+
children: [
|
|
225
|
+
/* @__PURE__ */ l("div", { className: "card__heading", children: [
|
|
226
|
+
/* @__PURE__ */ r("div", { className: "card__title", children: o }),
|
|
227
|
+
/* @__PURE__ */ r(
|
|
228
|
+
N,
|
|
229
|
+
{
|
|
230
|
+
icon: f ? " mng-lnc-subtract" : " mng-lnc-add",
|
|
231
|
+
sizeInUnits: "1.25rem",
|
|
232
|
+
className: "card__icon"
|
|
233
|
+
}
|
|
234
|
+
)
|
|
235
|
+
] }),
|
|
236
|
+
f && /* @__PURE__ */ l(y, { children: [
|
|
237
|
+
/* @__PURE__ */ r("div", { className: "card__description", children: a }),
|
|
238
|
+
t && /* @__PURE__ */ r(y, { children: _ ? /* @__PURE__ */ l("div", { className: "card__impression feedback", children: [
|
|
239
|
+
/* @__PURE__ */ r(
|
|
240
|
+
N,
|
|
241
|
+
{
|
|
242
|
+
icon: " mng-lnc-checkmark--outline",
|
|
243
|
+
sizeInUnits: "1.25rem",
|
|
244
|
+
color: "success"
|
|
245
|
+
}
|
|
246
|
+
),
|
|
247
|
+
/* @__PURE__ */ r("div", { className: "imppression__question", children: u })
|
|
248
|
+
] }) : /* @__PURE__ */ l("div", { className: "card__impression", children: [
|
|
249
|
+
/* @__PURE__ */ r("div", { className: "imppression__question", children: d }),
|
|
250
|
+
/* @__PURE__ */ l("div", { className: "impression__actions", children: [
|
|
251
|
+
/* @__PURE__ */ r(
|
|
252
|
+
C,
|
|
253
|
+
{
|
|
254
|
+
icon: " mng-lnc-thumbs-up",
|
|
255
|
+
borderRadius: "curved",
|
|
256
|
+
btnType: "outline",
|
|
257
|
+
onClick: (i) => s(i, !0)
|
|
258
|
+
}
|
|
259
|
+
),
|
|
260
|
+
/* @__PURE__ */ r(
|
|
261
|
+
C,
|
|
262
|
+
{
|
|
263
|
+
icon: " mng-lnc-thumbs-down",
|
|
264
|
+
borderRadius: "curved",
|
|
265
|
+
btnType: "outline",
|
|
266
|
+
onClick: (i) => s(i, !1)
|
|
267
|
+
}
|
|
268
|
+
)
|
|
269
|
+
] })
|
|
270
|
+
] }) })
|
|
271
|
+
] })
|
|
272
|
+
]
|
|
273
|
+
}
|
|
274
|
+
);
|
|
275
|
+
}, M = S(
|
|
276
|
+
({
|
|
277
|
+
items: o = [],
|
|
278
|
+
questionText: a,
|
|
279
|
+
feedbackText: d,
|
|
280
|
+
showMoreText: u,
|
|
281
|
+
impressions: t = !1,
|
|
282
|
+
onSelectItem: p = () => {
|
|
283
|
+
},
|
|
284
|
+
onImpressed: m = () => {
|
|
285
|
+
}
|
|
286
|
+
}, f) => {
|
|
287
|
+
const g = E(), [_, v] = T(!1), h = () => {
|
|
288
|
+
v((i) => !i);
|
|
289
|
+
}, s = $(() => {
|
|
290
|
+
if (g)
|
|
291
|
+
return o == null ? void 0 : o.map((n, w) => /* @__PURE__ */ r(
|
|
292
|
+
b,
|
|
293
|
+
{
|
|
294
|
+
title: n == null ? void 0 : n.title,
|
|
295
|
+
description: n == null ? void 0 : n.description,
|
|
296
|
+
questionText: a,
|
|
297
|
+
feedbackText: d,
|
|
298
|
+
impressions: t,
|
|
299
|
+
onSelectItem: () => p(n),
|
|
300
|
+
onImpressed: (x) => m(n, x)
|
|
301
|
+
},
|
|
302
|
+
`faq-section-item__${w + 1}`
|
|
303
|
+
));
|
|
304
|
+
const i = [], c = [];
|
|
305
|
+
return o == null || o.forEach((n, w) => {
|
|
306
|
+
w % 2 === 0 ? i.push(
|
|
307
|
+
/* @__PURE__ */ r(
|
|
308
|
+
b,
|
|
309
|
+
{
|
|
310
|
+
title: n == null ? void 0 : n.title,
|
|
311
|
+
description: n == null ? void 0 : n.description,
|
|
312
|
+
questionText: a,
|
|
313
|
+
feedbackText: d,
|
|
314
|
+
impressions: t,
|
|
315
|
+
onSelectItem: () => p(n),
|
|
316
|
+
onImpressed: (x) => m(n, x)
|
|
317
|
+
},
|
|
318
|
+
`faq-section-item__${w + 1}`
|
|
319
|
+
)
|
|
320
|
+
) : c.push(
|
|
321
|
+
/* @__PURE__ */ r(
|
|
322
|
+
b,
|
|
323
|
+
{
|
|
324
|
+
title: n == null ? void 0 : n.title,
|
|
325
|
+
description: n == null ? void 0 : n.description,
|
|
326
|
+
questionText: a,
|
|
327
|
+
feedbackText: d,
|
|
328
|
+
impressions: t,
|
|
329
|
+
onSelectItem: () => p(n),
|
|
330
|
+
onImpressed: (x) => m(n, x)
|
|
331
|
+
},
|
|
332
|
+
`faq-section-item__${w + 1}`
|
|
333
|
+
)
|
|
334
|
+
);
|
|
335
|
+
}), /* @__PURE__ */ l(y, { children: [
|
|
336
|
+
/* @__PURE__ */ r("div", { className: "section__column", children: i }),
|
|
337
|
+
/* @__PURE__ */ r("div", { className: "section__column", children: c })
|
|
338
|
+
] });
|
|
339
|
+
}, [o, g]);
|
|
340
|
+
return /* @__PURE__ */ r(P, { children: g ? _ ? s : /* @__PURE__ */ l(y, { children: [
|
|
341
|
+
s == null ? void 0 : s.slice(0, 4),
|
|
342
|
+
(s == null ? void 0 : s.length) > 4 && /* @__PURE__ */ r(
|
|
343
|
+
F,
|
|
344
|
+
{
|
|
345
|
+
text: u,
|
|
346
|
+
btnType: "basic",
|
|
347
|
+
color: "neutral",
|
|
348
|
+
className: "section__show-more",
|
|
349
|
+
onClick: h
|
|
350
|
+
}
|
|
351
|
+
)
|
|
352
|
+
] }) : s });
|
|
353
|
+
}
|
|
354
|
+
);
|
|
355
|
+
b.propTypes = {
|
|
356
|
+
title: e.string,
|
|
357
|
+
description: e.string,
|
|
358
|
+
questionText: e.string,
|
|
359
|
+
feedbackText: e.string,
|
|
360
|
+
showMoreText: e.string,
|
|
361
|
+
impressions: e.bool,
|
|
362
|
+
onSelectItem: e.func,
|
|
363
|
+
onImpressed: e.func
|
|
364
|
+
};
|
|
365
|
+
M.propTypes = {
|
|
366
|
+
items: e.array,
|
|
367
|
+
questionText: e.string,
|
|
368
|
+
feedbackText: e.string,
|
|
369
|
+
showMoreText: e.string,
|
|
370
|
+
impressions: e.bool,
|
|
371
|
+
onSelectItem: e.func,
|
|
372
|
+
onImpressed: e.func
|
|
373
|
+
};
|
|
374
|
+
const B = k.div`
|
|
375
|
+
display: flex;
|
|
376
|
+
flex-direction: column;
|
|
377
|
+
align-items: center;
|
|
378
|
+
gap: 2rem;
|
|
379
|
+
|
|
380
|
+
& .section__heading {
|
|
381
|
+
display: flex;
|
|
382
|
+
flex-direction: column;
|
|
383
|
+
gap: 0.5rem;
|
|
384
|
+
text-align: center;
|
|
385
|
+
width: 100%;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
& .section__title {
|
|
389
|
+
color: var(--navy-900, #0c1520);
|
|
390
|
+
text-align: center;
|
|
391
|
+
font-size: 1.5rem;
|
|
392
|
+
font-style: normal;
|
|
393
|
+
font-weight: 600;
|
|
394
|
+
line-height: 2rem;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
& .section__description {
|
|
398
|
+
color: var(--navy-500, #7a8594);
|
|
399
|
+
text-align: center;
|
|
400
|
+
font-size: 1rem;
|
|
401
|
+
font-style: normal;
|
|
402
|
+
font-weight: 500;
|
|
403
|
+
line-height: 1.5rem;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
@media (max-width: ${I + "px"}) {
|
|
407
|
+
& .section__title {
|
|
408
|
+
font-size: 1rem;
|
|
409
|
+
font-weight: 500;
|
|
410
|
+
line-height: 1.5rem;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
& .section__description {
|
|
414
|
+
font-size: 0.875rem;
|
|
415
|
+
font-weight: 400;
|
|
416
|
+
line-height: 1.25rem;
|
|
417
|
+
letter-spacing: 0.25px;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
`, U = S(
|
|
421
|
+
({
|
|
422
|
+
title: o,
|
|
423
|
+
description: a,
|
|
424
|
+
questionText: d,
|
|
425
|
+
feedbackText: u,
|
|
426
|
+
showMoreText: t,
|
|
427
|
+
impressions: p = !1,
|
|
428
|
+
tags: m = [],
|
|
429
|
+
items: f = [],
|
|
430
|
+
onSelectItem: g = () => {
|
|
431
|
+
},
|
|
432
|
+
onImpressed: _ = () => {
|
|
433
|
+
}
|
|
434
|
+
}, v) => {
|
|
435
|
+
const [h, s] = T(null);
|
|
436
|
+
return /* @__PURE__ */ l(B, { ref: v, children: [
|
|
437
|
+
/* @__PURE__ */ l("div", { className: "section__heading", children: [
|
|
438
|
+
o && /* @__PURE__ */ r("div", { className: "section__title", children: o }),
|
|
439
|
+
a && /* @__PURE__ */ r("div", { className: "section__description", children: a })
|
|
440
|
+
] }),
|
|
441
|
+
/* @__PURE__ */ r(
|
|
442
|
+
q,
|
|
443
|
+
{
|
|
444
|
+
tags: m,
|
|
445
|
+
selectedTagCode: h,
|
|
446
|
+
onSelectTag: (c) => {
|
|
447
|
+
s(c == null ? void 0 : c.code);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
),
|
|
451
|
+
/* @__PURE__ */ r(
|
|
452
|
+
M,
|
|
453
|
+
{
|
|
454
|
+
items: h === null ? f : f == null ? void 0 : f.filter((c) => (c == null ? void 0 : c.tagCode) === h),
|
|
455
|
+
questionText: d,
|
|
456
|
+
feedbackText: u,
|
|
457
|
+
showMoreText: t,
|
|
458
|
+
impressions: p,
|
|
459
|
+
onSelectItem: g,
|
|
460
|
+
onImpressed: _
|
|
461
|
+
},
|
|
462
|
+
`faq-section-items__${h}`
|
|
463
|
+
)
|
|
464
|
+
] });
|
|
465
|
+
}
|
|
466
|
+
);
|
|
467
|
+
U.propTypes = {
|
|
468
|
+
title: e.string,
|
|
469
|
+
description: e.string,
|
|
470
|
+
tags: e.array,
|
|
471
|
+
items: e.array,
|
|
472
|
+
questionText: e.string,
|
|
473
|
+
feedbackText: e.string,
|
|
474
|
+
showMoreText: e.string,
|
|
475
|
+
impressions: e.bool,
|
|
476
|
+
onSelectItem: e.func,
|
|
477
|
+
onImpressed: e.func
|
|
478
|
+
};
|
|
479
|
+
export {
|
|
480
|
+
U as default
|
|
481
|
+
};
|
package/dist/FeedbackSection.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),l=require("react"),n=require("./utils-CZynEOC_.cjs"),o=require("./Button.cjs"),d=require("./styled-components.browser.esm-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("react"),n=require("./utils-CZynEOC_.cjs"),o=require("./Button.cjs"),d=require("./styled-components.browser.esm-CvykQBGY.cjs"),f=require("./consts-goSZX3xP.cjs"),m=d.qe.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
package/dist/FeedbackSection.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as s } from "react";
|
|
3
3
|
import { k as t } from "./utils-BbgAIA9N.js";
|
|
4
4
|
import d from "./Button.js";
|
|
5
|
-
import { q as f } from "./styled-components.browser.esm-
|
|
5
|
+
import { q as f } from "./styled-components.browser.esm-D-n22PJk.js";
|
|
6
6
|
import { M as m } from "./consts-BuFChS64.js";
|
|
7
7
|
const g = f.div`
|
|
8
8
|
display: flex;
|
package/dist/FileInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const b=require("react/jsx-runtime"),m=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./index-
|
|
1
|
+
"use strict";const b=require("react/jsx-runtime"),m=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./index-BpbMKBf_.cjs"),t=require("./utils-CZynEOC_.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=g.styled.label`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
width: 100%;
|
package/dist/FileInput.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as R, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as S, useState as y } from "react";
|
|
3
3
|
import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { P as t } from "./index-
|
|
4
|
+
import { P as t } from "./index-CblbdqjE.js";
|
|
5
5
|
import { d as x, b as a, e as V, c as $, h as I } from "./utils-BbgAIA9N.js";
|
|
6
6
|
import { u as B } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const D = b.label`
|