@lanaco/lnc-react-ui 4.0.199 → 4.0.200
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/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +12 -14
- package/dist/BlogExploreSection.cjs +1 -1
- package/dist/BlogExploreSection.js +1 -1
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +1 -1
- 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 +1 -1
- 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/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/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/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 +19 -19
- package/dist/SalesCampaignsSection.js +283 -324
- 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 +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- 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-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.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/{tag-BtS5lWJ0.js → tag-Dm8CW4TM.js} +21 -27
- package/dist/{tag-CmeZsPQt.cjs → tag-UQjq2_Ba.cjs} +7 -7
- package/package.json +1 -1
- 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
package/dist/SearchSection.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react/jsx-runtime");require("react");require("./
|
|
1
|
+
"use strict";require("react/jsx-runtime");require("react");require("./TextInput.cjs");require("./Icon.cjs");const e=require("./SearchSection-B94YN_6P.cjs");module.exports=e.SearchSection;
|
package/dist/SearchSection.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "./index-CblbdqjE.js";
|
|
4
3
|
import "./TextInput.js";
|
|
5
4
|
import "./Icon.js";
|
|
6
|
-
import { S as
|
|
5
|
+
import { S as a } from "./SearchSection-DAaMecR4.js";
|
|
7
6
|
export {
|
|
8
|
-
|
|
7
|
+
a as default
|
|
9
8
|
};
|
package/dist/Separator.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),c=require("react"),i=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./utils-RnrgDDZP.cjs"),l=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),u=i.styled.div`
|
|
2
2
|
height: 1px;
|
|
3
|
-
background-color: ${e=>
|
|
3
|
+
background-color: ${e=>m.getColorRgbaValue(e.theme,"MenuItem","default","enabled","separator")};
|
|
4
4
|
margin-left: -0.25rem;
|
|
5
5
|
margin-right: -0.25rem;
|
|
6
|
-
`,
|
|
6
|
+
`,d=c.forwardRef((e,r)=>{const{className:t="",style:s={},...o}=e,a=l.useTheme();return n.jsx(u,{ref:r,theme:a,className:"lnc-ui-dropdown-separator "+t,style:s,...o})});module.exports=d;
|
package/dist/Separator.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as l } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const f = i.div`
|
|
3
|
+
import { s as n } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { b as p } from "./utils-DtEfC-TX.js";
|
|
5
|
+
import { u as i } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
|
+
const d = n.div`
|
|
8
7
|
height: 1px;
|
|
9
|
-
background-color: ${(r) =>
|
|
8
|
+
background-color: ${(r) => p(
|
|
10
9
|
r.theme,
|
|
11
10
|
"MenuItem",
|
|
12
11
|
"default",
|
|
@@ -15,23 +14,19 @@ const f = i.div`
|
|
|
15
14
|
)};
|
|
16
15
|
margin-left: -0.25rem;
|
|
17
16
|
margin-right: -0.25rem;
|
|
18
|
-
`,
|
|
19
|
-
const { className: t = "", style:
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
-
|
|
17
|
+
`, b = l((r, e) => {
|
|
18
|
+
const { className: t = "", style: o = {}, ...a } = r, m = i();
|
|
19
|
+
return /* @__PURE__ */ s(
|
|
20
|
+
d,
|
|
22
21
|
{
|
|
23
|
-
ref:
|
|
22
|
+
ref: e,
|
|
24
23
|
theme: m,
|
|
25
24
|
className: "lnc-ui-dropdown-separator " + t,
|
|
26
|
-
style:
|
|
27
|
-
...
|
|
25
|
+
style: o,
|
|
26
|
+
...a
|
|
28
27
|
}
|
|
29
28
|
);
|
|
30
29
|
});
|
|
31
|
-
d.propTypes = {
|
|
32
|
-
className: e.string,
|
|
33
|
-
style: e.object
|
|
34
|
-
};
|
|
35
30
|
export {
|
|
36
|
-
|
|
31
|
+
b as default
|
|
37
32
|
};
|
package/dist/Sidebar.cjs
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),o=require("react"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),x=require("./Icon.cjs"),S=require("./utils-RnrgDDZP.cjs"),g=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),y=a.styled.aside`
|
|
2
2
|
direction: ${e=>e.placement=="right"?"rtl":"ltr"};
|
|
3
3
|
position: relative;
|
|
4
4
|
&& {
|
|
5
5
|
flex: ${e=>e.sidebarCollapsed?"0 0 0":`0 0 ${e.size}`};
|
|
6
6
|
}
|
|
7
7
|
transition: flex 0.6s ease-in-out;
|
|
8
|
-
|
|
9
|
-
`,C=l.styled.div`
|
|
8
|
+
`,C=a.styled.div`
|
|
10
9
|
overflow: hidden;
|
|
11
10
|
width: ${e=>e.sidebarCollapsed?"0":e.size};
|
|
12
11
|
height: 100%;
|
|
13
12
|
transition: width 0.6s ease-in-out
|
|
14
13
|
${e=>e.sidebarCollapsed?"0s":"0.2s"};
|
|
15
|
-
|
|
14
|
+
`,$=a.styled.div`
|
|
16
15
|
display: flex;
|
|
17
16
|
justify-content: center;
|
|
18
17
|
align-items: center;
|
|
@@ -36,4 +35,4 @@
|
|
|
36
35
|
transition: transform 0.6s ease;
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
|
-
`,
|
|
38
|
+
`,u=o.forwardRef((e,p)=>{const{placement:r,collapsed:n=void 0,hideCollapseButton:h=!1,size:l="15rem",children:b,className:c,...f}=e,d=g.useTheme(),m=S.useScreenSize(),[s,i]=o.useState();return o.useEffect(()=>{n!=null?i(n):m=="XS"||m=="S"?i(!0):i(!1)},[n]),t.jsxs(y,{className:"lnc-sidebar-container "+(c||""),sidebarCollapsed:s,placement:r,size:l,theme:d,ref:p,...f,children:[!h&&t.jsx($,{onClick:()=>i(!s),placement:r,sidebarCollapsed:s,theme:d,children:t.jsx("span",{children:t.jsx(x,{className:"sidebar-icon-lnc",icon:r=="right"?"angle-right":"angle-left",color:"neutral"})})}),t.jsx(C,{className:"lnc-sidebar-content",sidebarCollapsed:s,size:l,children:b})]})});u.displayName="Sidebar";module.exports=u;
|
package/dist/Sidebar.js
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { u as $ } from "./
|
|
7
|
-
|
|
8
|
-
const v = l.aside`
|
|
1
|
+
import { jsxs as u, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as b, useState as g, useEffect as S } from "react";
|
|
3
|
+
import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import x from "./Icon.js";
|
|
5
|
+
import { u as C } from "./utils-DtEfC-TX.js";
|
|
6
|
+
import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
|
+
const v = o.aside`
|
|
9
8
|
direction: ${(e) => e.placement == "right" ? "rtl" : "ltr"};
|
|
10
9
|
position: relative;
|
|
11
10
|
&& {
|
|
12
11
|
flex: ${(e) => e.sidebarCollapsed ? "0 0 0" : `0 0 ${e.size}`};
|
|
13
12
|
}
|
|
14
13
|
transition: flex 0.6s ease-in-out;
|
|
15
|
-
|
|
16
|
-
`, z = l.div`
|
|
14
|
+
`, y = o.div`
|
|
17
15
|
overflow: hidden;
|
|
18
16
|
width: ${(e) => e.sidebarCollapsed ? "0" : e.size};
|
|
19
17
|
height: 100%;
|
|
20
18
|
transition: width 0.6s ease-in-out
|
|
21
19
|
${(e) => e.sidebarCollapsed ? "0s" : "0.2s"};
|
|
22
|
-
`,
|
|
20
|
+
`, w = o.div`
|
|
23
21
|
display: flex;
|
|
24
22
|
justify-content: center;
|
|
25
23
|
align-items: center;
|
|
@@ -43,39 +41,38 @@ const v = l.aside`
|
|
|
43
41
|
transition: transform 0.6s ease;
|
|
44
42
|
}
|
|
45
43
|
}
|
|
46
|
-
`,
|
|
44
|
+
`, z = b((e, m) => {
|
|
47
45
|
const {
|
|
48
46
|
placement: r,
|
|
49
47
|
collapsed: a = void 0,
|
|
50
|
-
hideCollapseButton:
|
|
48
|
+
hideCollapseButton: p = !1,
|
|
51
49
|
size: n = "15rem",
|
|
52
|
-
children:
|
|
53
|
-
className:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}, [a]), /* @__PURE__ */ g(
|
|
50
|
+
children: f,
|
|
51
|
+
className: l,
|
|
52
|
+
...h
|
|
53
|
+
} = e, d = $(), c = C(), [t, i] = g();
|
|
54
|
+
return S(() => {
|
|
55
|
+
a != null ? i(a) : c == "XS" || c == "S" ? i(!0) : i(!1);
|
|
56
|
+
}, [a]), /* @__PURE__ */ u(
|
|
60
57
|
v,
|
|
61
58
|
{
|
|
62
|
-
className: "lnc-sidebar-container " + (
|
|
59
|
+
className: "lnc-sidebar-container " + (l || ""),
|
|
63
60
|
sidebarCollapsed: t,
|
|
64
61
|
placement: r,
|
|
65
62
|
size: n,
|
|
66
|
-
theme:
|
|
67
|
-
ref:
|
|
68
|
-
...
|
|
63
|
+
theme: d,
|
|
64
|
+
ref: m,
|
|
65
|
+
...h,
|
|
69
66
|
children: [
|
|
70
|
-
!
|
|
71
|
-
|
|
67
|
+
!p && /* @__PURE__ */ s(
|
|
68
|
+
w,
|
|
72
69
|
{
|
|
73
|
-
onClick: (
|
|
70
|
+
onClick: () => i(!t),
|
|
74
71
|
placement: r,
|
|
75
72
|
sidebarCollapsed: t,
|
|
76
|
-
theme:
|
|
77
|
-
children: /* @__PURE__ */
|
|
78
|
-
|
|
73
|
+
theme: d,
|
|
74
|
+
children: /* @__PURE__ */ s("span", { children: /* @__PURE__ */ s(
|
|
75
|
+
x,
|
|
79
76
|
{
|
|
80
77
|
className: "sidebar-icon-lnc",
|
|
81
78
|
icon: r == "right" ? "angle-right" : "angle-left",
|
|
@@ -84,40 +81,20 @@ const v = l.aside`
|
|
|
84
81
|
) })
|
|
85
82
|
}
|
|
86
83
|
),
|
|
87
|
-
/* @__PURE__ */
|
|
88
|
-
|
|
84
|
+
/* @__PURE__ */ s(
|
|
85
|
+
y,
|
|
89
86
|
{
|
|
90
87
|
className: "lnc-sidebar-content",
|
|
91
88
|
sidebarCollapsed: t,
|
|
92
89
|
size: n,
|
|
93
|
-
children:
|
|
90
|
+
children: f
|
|
94
91
|
}
|
|
95
92
|
)
|
|
96
93
|
]
|
|
97
94
|
}
|
|
98
95
|
);
|
|
99
96
|
});
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Indicates if the sidebar is collapsed.
|
|
103
|
-
*/
|
|
104
|
-
collapsed: o.bool,
|
|
105
|
-
/**
|
|
106
|
-
* Hides the collapse button.
|
|
107
|
-
* Useful if you want control the sidebar with your own button via `collapsed` prop.
|
|
108
|
-
*/
|
|
109
|
-
hideCollapseButton: o.bool,
|
|
110
|
-
/**
|
|
111
|
-
* Controls the sidebar width.
|
|
112
|
-
*/
|
|
113
|
-
size: o.string,
|
|
114
|
-
/**
|
|
115
|
-
* Do not override this property.
|
|
116
|
-
* Should only be used as indicator for type if you are passing custom component.
|
|
117
|
-
*/
|
|
118
|
-
__TYPE__: o.string
|
|
119
|
-
};
|
|
120
|
-
m.displayName = "Sidebar";
|
|
97
|
+
z.displayName = "Sidebar";
|
|
121
98
|
export {
|
|
122
|
-
|
|
99
|
+
z as default
|
|
123
100
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";const t=require("react/jsx-runtime"),a=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),_=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-RnrgDDZP.cjs"),y=require("./style-CkcozOY6.cjs"),N=require("./Button.cjs"),v=require("./CategorySimpleCard-COGlTj06.cjs"),o=require("./style-BAcV7F53.cjs"),E=k.styled.div`
|
|
2
2
|
display: grid;
|
|
3
|
-
grid-template-columns: ${
|
|
3
|
+
grid-template-columns: ${()=>"repeat(6, minmax(0, 1fr))"};
|
|
4
4
|
gap: 2rem;
|
|
5
5
|
|
|
6
6
|
@media (max-width: ${b.MOBILE_SIZE_PX+"px"}) {
|
|
@@ -10,7 +10,7 @@ import { C as T } from "./CategorySimpleCard-Em84kZzQ.js";
|
|
|
10
10
|
import { b as j, S as p, c as o } from "./style-BwQ4djFC.js";
|
|
11
11
|
const y = C.div`
|
|
12
12
|
display: grid;
|
|
13
|
-
grid-template-columns: ${(
|
|
13
|
+
grid-template-columns: ${() => "repeat(6, minmax(0, 1fr))"};
|
|
14
14
|
gap: 2rem;
|
|
15
15
|
|
|
16
16
|
@media (max-width: ${k + "px"}) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),d=require("./SearchSection-
|
|
1
|
+
"use strict";const g=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),d=require("./SearchSection-B94YN_6P.cjs");function v(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in t)){const a=Object.getOwnPropertyDescriptor(s,o);a&&Object.defineProperty(t,o,a.get?a:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var O=Object.create,l=Object.defineProperty,S=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,w=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,D=(t,e,r)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,E=(t,e)=>{for(var r in e)l(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of j(e))!C.call(t,o)&&o!==r&&l(t,o,{get:()=>e[o],enumerable:!(s=S(e,o))||s.enumerable});return t},L=(t,e,r)=>(r=t!=null?O(w(t)):{},h(!t||!t.__esModule?l(r,"default",{value:t,enumerable:!0}):r,t)),R=t=>h(l({},"__esModule",{value:!0}),t),n=(t,e,r)=>(D(t,typeof e!="symbol"?e+"":e,r),r),f={};E(f,{default:()=>u});var _=R(f),p=L(b),c=d.utils,M=d.patterns;const T="https://w.soundcloud.com/player/api.js",N="SC";class u extends p.Component{constructor(){super(...arguments),n(this,"callPlayer",c.callPlayer),n(this,"duration",null),n(this,"currentTime",null),n(this,"fractionLoaded",null),n(this,"mute",()=>{this.setVolume(0)}),n(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),n(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,r){(0,c.getSDK)(T,N).then(s=>{if(!this.iframe)return;const{PLAY:o,PLAY_PROGRESS:a,PAUSE:y,FINISH:m,ERROR:P}=s.Widget.Events;r||(this.player=s.Widget(this.iframe),this.player.bind(o,this.props.onPlay),this.player.bind(y,()=>{this.duration-this.currentTime<.05||this.props.onPause()}),this.player.bind(a,i=>{this.currentTime=i.currentPosition/1e3,this.fractionLoaded=i.loadedProgress}),this.player.bind(m,()=>this.props.onEnded()),this.player.bind(P,i=>this.props.onError(i))),this.player.load(e,{...this.props.config.options,callback:()=>{this.player.getDuration(i=>{this.duration=i/1e3,this.props.onReady()})}})})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("seekTo",e*1e3),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.fractionLoaded*this.duration}render(){const{display:e}=this.props,r={width:"100%",height:"100%",display:e};return p.default.createElement("iframe",{ref:this.ref,src:`https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,style:r,frameBorder:0,allow:"autoplay"})}}n(u,"displayName","SoundCloud");n(u,"canPlay",M.canPlay.soundcloud);n(u,"loopOnEnded",!0);const A=g.getDefaultExportFromCjs(_),x=v({__proto__:null,default:A},[_]);exports.SoundCloud=x;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as P } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { u as b, p as v } from "./SearchSection-
|
|
3
|
+
import { u as b, p as v } from "./SearchSection-DAaMecR4.js";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
package/dist/Spinner.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),s=require("./
|
|
2
|
-
width: ${
|
|
3
|
-
height: ${
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./emotion-react.browser.esm-Cvnp-zmB.cjs"),r=require("./utils-RnrgDDZP.cjs"),c=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),u={small:"0.6rem",medium:"0.7rem",large:"0.8rem"},b=(e,t)=>{if(e==="small")return`
|
|
2
|
+
width: ${t.sizes.small};
|
|
3
|
+
height: ${t.sizes.small};
|
|
4
4
|
`;if(e==="medium")return`
|
|
5
|
-
width: ${
|
|
6
|
-
height: ${
|
|
5
|
+
width: ${t.sizes.medium};
|
|
6
|
+
height: ${t.sizes.medium};
|
|
7
7
|
`;if(e==="large")return`
|
|
8
|
-
width: ${
|
|
9
|
-
height: ${
|
|
10
|
-
`},
|
|
8
|
+
width: ${t.sizes.large};
|
|
9
|
+
height: ${t.sizes.large};
|
|
10
|
+
`},g=d.keyframes`
|
|
11
11
|
to {
|
|
12
12
|
transform: rotate(360deg);
|
|
13
13
|
}
|
|
14
|
-
`,
|
|
14
|
+
`,h=s.styled.div`
|
|
15
15
|
position: relative;
|
|
16
16
|
height: max-content;
|
|
17
17
|
width: max-content;
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
top: 50%;
|
|
23
23
|
left: 50%;
|
|
24
24
|
transform: translate(-50%, -50%);
|
|
25
|
-
${e=>
|
|
26
|
-
font-size: ${e=>
|
|
27
|
-
color: ${e=>
|
|
25
|
+
${e=>r.getComponentTypographyCss(e.theme,"Spinner",e.size,"enabled")};
|
|
26
|
+
font-size: ${e=>u[e.size]};
|
|
27
|
+
color: ${e=>r.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","text")};
|
|
28
28
|
}
|
|
29
|
-
`,$=
|
|
29
|
+
`,$=s.styled.div`
|
|
30
30
|
display: inline-block;
|
|
31
31
|
${e=>b(e.size,e.theme)}
|
|
32
|
-
border: ${e=>`0.3125rem solid ${
|
|
32
|
+
border: ${e=>`0.3125rem solid ${r.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","unfilled")}`};
|
|
33
33
|
border-radius: 50%;
|
|
34
|
-
border-top-color: ${e=>
|
|
35
|
-
border-right-color: ${e=>
|
|
34
|
+
border-top-color: ${e=>r.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","background")};
|
|
35
|
+
border-right-color: ${e=>r.getColorRgbaValue(e.theme,"Spinner",e.color,"enabled","background")};
|
|
36
36
|
|
|
37
|
-
animation: ${
|
|
38
|
-
`,
|
|
37
|
+
animation: ${g} 0.8s ease-in-out infinite;
|
|
38
|
+
`,p=e=>{const{label:t,className:o="",style:l={},size:a="small",color:m="primary"}=e,i={theme:c.useTheme(),size:a,color:m};return n.jsxs(h,{...i,className:"lnc-ui-spinner "+o,style:l,label:t,children:[n.jsx($,{...i}),n.jsx("div",{className:"label-text",children:t})]})};module.exports=p;
|
package/dist/Spinner.js
CHANGED
|
@@ -1,34 +1,33 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { P as i } from "./index-CblbdqjE.js";
|
|
1
|
+
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
3
2
|
import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { k as
|
|
5
|
-
import { c as
|
|
6
|
-
import { u
|
|
7
|
-
const
|
|
3
|
+
import { k as c } from "./emotion-react.browser.esm-DUVZ5oEL.js";
|
|
4
|
+
import { c as h, b as i } from "./utils-DtEfC-TX.js";
|
|
5
|
+
import { u } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
|
+
const b = {
|
|
8
7
|
small: "0.6rem",
|
|
9
8
|
medium: "0.7rem",
|
|
10
9
|
large: "0.8rem"
|
|
11
|
-
},
|
|
10
|
+
}, p = (e, t) => {
|
|
12
11
|
if (e === "small")
|
|
13
12
|
return `
|
|
14
|
-
width: ${
|
|
15
|
-
height: ${
|
|
13
|
+
width: ${t.sizes.small};
|
|
14
|
+
height: ${t.sizes.small};
|
|
16
15
|
`;
|
|
17
16
|
if (e === "medium")
|
|
18
17
|
return `
|
|
19
|
-
width: ${
|
|
20
|
-
height: ${
|
|
18
|
+
width: ${t.sizes.medium};
|
|
19
|
+
height: ${t.sizes.medium};
|
|
21
20
|
`;
|
|
22
21
|
if (e === "large")
|
|
23
22
|
return `
|
|
24
|
-
width: ${
|
|
25
|
-
height: ${
|
|
23
|
+
width: ${t.sizes.large};
|
|
24
|
+
height: ${t.sizes.large};
|
|
26
25
|
`;
|
|
27
|
-
}, f =
|
|
26
|
+
}, f = c`
|
|
28
27
|
to {
|
|
29
28
|
transform: rotate(360deg);
|
|
30
29
|
}
|
|
31
|
-
`,
|
|
30
|
+
`, g = o.div`
|
|
32
31
|
position: relative;
|
|
33
32
|
height: max-content;
|
|
34
33
|
width: max-content;
|
|
@@ -39,9 +38,9 @@ const u = {
|
|
|
39
38
|
top: 50%;
|
|
40
39
|
left: 50%;
|
|
41
40
|
transform: translate(-50%, -50%);
|
|
42
|
-
${(e) =>
|
|
43
|
-
font-size: ${(e) =>
|
|
44
|
-
color: ${(e) =>
|
|
41
|
+
${(e) => h(e.theme, "Spinner", e.size, "enabled")};
|
|
42
|
+
font-size: ${(e) => b[e.size]};
|
|
43
|
+
color: ${(e) => i(
|
|
45
44
|
e.theme,
|
|
46
45
|
"Spinner",
|
|
47
46
|
e.color,
|
|
@@ -51,8 +50,8 @@ const u = {
|
|
|
51
50
|
}
|
|
52
51
|
`, $ = o.div`
|
|
53
52
|
display: inline-block;
|
|
54
|
-
${(e) =>
|
|
55
|
-
border: ${(e) => `0.3125rem solid ${
|
|
53
|
+
${(e) => p(e.size, e.theme)}
|
|
54
|
+
border: ${(e) => `0.3125rem solid ${i(
|
|
56
55
|
e.theme,
|
|
57
56
|
"Spinner",
|
|
58
57
|
e.color,
|
|
@@ -60,14 +59,14 @@ const u = {
|
|
|
60
59
|
"unfilled"
|
|
61
60
|
)}`};
|
|
62
61
|
border-radius: 50%;
|
|
63
|
-
border-top-color: ${(e) =>
|
|
62
|
+
border-top-color: ${(e) => i(
|
|
64
63
|
e.theme,
|
|
65
64
|
"Spinner",
|
|
66
65
|
e.color,
|
|
67
66
|
"enabled",
|
|
68
67
|
"background"
|
|
69
68
|
)};
|
|
70
|
-
border-right-color: ${(e) =>
|
|
69
|
+
border-right-color: ${(e) => i(
|
|
71
70
|
e.theme,
|
|
72
71
|
"Spinner",
|
|
73
72
|
e.color,
|
|
@@ -76,44 +75,28 @@ const u = {
|
|
|
76
75
|
)};
|
|
77
76
|
|
|
78
77
|
animation: ${f} 0.8s ease-in-out infinite;
|
|
79
|
-
`,
|
|
78
|
+
`, w = (e) => {
|
|
80
79
|
const {
|
|
81
|
-
label:
|
|
82
|
-
className:
|
|
83
|
-
style:
|
|
84
|
-
size:
|
|
85
|
-
color:
|
|
86
|
-
} = e,
|
|
87
|
-
return /* @__PURE__ */
|
|
88
|
-
|
|
80
|
+
label: t,
|
|
81
|
+
className: s = "",
|
|
82
|
+
style: l = {},
|
|
83
|
+
size: a = "small",
|
|
84
|
+
color: m = "primary"
|
|
85
|
+
} = e, r = { theme: u(), size: a, color: m };
|
|
86
|
+
return /* @__PURE__ */ d(
|
|
87
|
+
g,
|
|
89
88
|
{
|
|
90
|
-
...
|
|
91
|
-
className: "lnc-ui-spinner " +
|
|
92
|
-
style:
|
|
93
|
-
label:
|
|
89
|
+
...r,
|
|
90
|
+
className: "lnc-ui-spinner " + s,
|
|
91
|
+
style: l,
|
|
92
|
+
label: t,
|
|
94
93
|
children: [
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ n($, { ...r }),
|
|
95
|
+
/* @__PURE__ */ n("div", { className: "label-text", children: t })
|
|
97
96
|
]
|
|
98
97
|
}
|
|
99
98
|
);
|
|
100
99
|
};
|
|
101
|
-
z.propTypes = {
|
|
102
|
-
label: i.string,
|
|
103
|
-
className: i.string,
|
|
104
|
-
style: i.object,
|
|
105
|
-
size: i.oneOf(["small", "medium", "large"]),
|
|
106
|
-
color: i.oneOf([
|
|
107
|
-
"primary",
|
|
108
|
-
"secondary",
|
|
109
|
-
"success",
|
|
110
|
-
"danger",
|
|
111
|
-
"warning",
|
|
112
|
-
"information",
|
|
113
|
-
"neutral",
|
|
114
|
-
"gray"
|
|
115
|
-
])
|
|
116
|
-
};
|
|
117
100
|
export {
|
|
118
|
-
|
|
101
|
+
w as default
|
|
119
102
|
};
|
package/dist/StatsSection.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),s=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),c=require("./utils-RnrgDDZP.cjs"),l=o.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
align-items: center;
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
font-weight: 400;
|
|
43
43
|
line-height: 1rem;
|
|
44
44
|
letter-spacing: 0.025rem;
|
|
45
|
-
${
|
|
45
|
+
${c.truncateTextInRows(2)}
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
@media (max-width: ${
|
|
49
|
+
@media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
|
|
50
50
|
display: grid;
|
|
51
51
|
grid-template-columns: repeat(2, 1fr);
|
|
52
52
|
gap: 0.75rem;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
`,
|
|
70
|
+
`,d=s.forwardRef(({items:i=[]},n)=>e.jsx(l,{ref:n,children:i==null?void 0:i.map((t,r)=>e.jsxs("div",{className:"section__card",children:[e.jsx("div",{children:e.jsx("img",{src:t==null?void 0:t.image,alt:`Stats Card ${r+1}`,className:"section__image"})}),e.jsxs("div",{children:[e.jsx("div",{className:"section__title",children:t==null?void 0:t.title}),e.jsx("div",{className:"section__description",children:t==null?void 0:t.description})]})]},`stats-section-item__${r+1}`))})),m=o.styled.div`
|
|
71
71
|
display: flex;
|
|
72
72
|
flex-direction: column;
|
|
73
73
|
justify-content: center;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
@media (max-width: ${
|
|
100
|
+
@media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
|
|
101
101
|
text-align: center;
|
|
102
102
|
|
|
103
103
|
& .section__heading {
|
|
@@ -114,4 +114,4 @@
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
`,
|
|
117
|
+
`,g=s.forwardRef(({title:i,description:n,items:t=[]},r)=>e.jsxs(m,{ref:r,children:[e.jsxs("div",{className:"section__heading",children:[i&&e.jsx("div",{className:"section__title",children:i}),n&&e.jsx("div",{className:"section__description",children:n})]}),e.jsx(d,{items:t})]}));module.exports=g;
|
package/dist/StatsSection.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const g = c.div`
|
|
2
|
+
import { forwardRef as o } from "react";
|
|
3
|
+
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { M as c } from "./consts-BuFChS64.js";
|
|
5
|
+
import { m as l } from "./utils-DtEfC-TX.js";
|
|
6
|
+
const d = s.div`
|
|
8
7
|
display: flex;
|
|
9
8
|
justify-content: center;
|
|
10
9
|
align-items: center;
|
|
@@ -48,11 +47,11 @@ const g = c.div`
|
|
|
48
47
|
font-weight: 400;
|
|
49
48
|
line-height: 1rem;
|
|
50
49
|
letter-spacing: 0.025rem;
|
|
51
|
-
${
|
|
50
|
+
${l(2)}
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
|
|
55
|
-
@media (max-width: ${
|
|
54
|
+
@media (max-width: ${c + "px"}) {
|
|
56
55
|
display: grid;
|
|
57
56
|
grid-template-columns: repeat(2, 1fr);
|
|
58
57
|
gap: 0.75rem;
|
|
@@ -73,12 +72,12 @@ const g = c.div`
|
|
|
73
72
|
}
|
|
74
73
|
}
|
|
75
74
|
}
|
|
76
|
-
`,
|
|
75
|
+
`, m = o(({ items: i = [] }, n) => /* @__PURE__ */ t(d, { ref: n, children: i == null ? void 0 : i.map((e, r) => /* @__PURE__ */ a("div", { className: "section__card", children: [
|
|
77
76
|
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
78
77
|
"img",
|
|
79
78
|
{
|
|
80
79
|
src: e == null ? void 0 : e.image,
|
|
81
|
-
alt: `Stats Card ${
|
|
80
|
+
alt: `Stats Card ${r + 1}`,
|
|
82
81
|
className: "section__image"
|
|
83
82
|
}
|
|
84
83
|
) }),
|
|
@@ -86,11 +85,7 @@ const g = c.div`
|
|
|
86
85
|
/* @__PURE__ */ t("div", { className: "section__title", children: e == null ? void 0 : e.title }),
|
|
87
86
|
/* @__PURE__ */ t("div", { className: "section__description", children: e == null ? void 0 : e.description })
|
|
88
87
|
] })
|
|
89
|
-
] }, `stats-section-item__${
|
|
90
|
-
d.propTypes = {
|
|
91
|
-
items: o.array
|
|
92
|
-
};
|
|
93
|
-
const h = c.div`
|
|
88
|
+
] }, `stats-section-item__${r + 1}`)) })), g = s.div`
|
|
94
89
|
display: flex;
|
|
95
90
|
flex-direction: column;
|
|
96
91
|
justify-content: center;
|
|
@@ -120,7 +115,7 @@ const h = c.div`
|
|
|
120
115
|
}
|
|
121
116
|
}
|
|
122
117
|
|
|
123
|
-
@media (max-width: ${
|
|
118
|
+
@media (max-width: ${c + "px"}) {
|
|
124
119
|
text-align: center;
|
|
125
120
|
|
|
126
121
|
& .section__heading {
|
|
@@ -137,18 +132,13 @@ const h = c.div`
|
|
|
137
132
|
}
|
|
138
133
|
}
|
|
139
134
|
}
|
|
140
|
-
`,
|
|
135
|
+
`, w = o(({ title: i, description: n, items: e = [] }, r) => /* @__PURE__ */ a(g, { ref: r, children: [
|
|
141
136
|
/* @__PURE__ */ a("div", { className: "section__heading", children: [
|
|
142
137
|
i && /* @__PURE__ */ t("div", { className: "section__title", children: i }),
|
|
143
|
-
|
|
138
|
+
n && /* @__PURE__ */ t("div", { className: "section__description", children: n })
|
|
144
139
|
] }),
|
|
145
|
-
/* @__PURE__ */ t(
|
|
140
|
+
/* @__PURE__ */ t(m, { items: e })
|
|
146
141
|
] }));
|
|
147
|
-
_.propTypes = {
|
|
148
|
-
title: o.string,
|
|
149
|
-
description: o.string,
|
|
150
|
-
items: o.array
|
|
151
|
-
};
|
|
152
142
|
export {
|
|
153
|
-
|
|
143
|
+
w as default
|
|
154
144
|
};
|