@lanaco/lnc-react-ui 4.0.125 → 4.0.127
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/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 +2 -0
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +3 -3
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogExploreSection.cjs +319 -0
- package/dist/BlogExploreSection.js +642 -0
- package/dist/BlogListSection.cjs +10 -7
- package/dist/BlogListSection.js +32 -29
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +32 -26
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +1 -1
- package/dist/BlogSingleSection.cjs +1 -1
- package/dist/BlogSingleSection.js +2 -2
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +3 -3
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +2 -2
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +3 -3
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +4 -4
- package/dist/BrandHitsSection.cjs +1 -1
- package/dist/BrandHitsSection.js +1 -1
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +1 -1
- 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 +1 -1
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{CustomStyles-DpKzWczC.js → CustomStyles-Dd6IDcq_.js} +1 -1
- package/dist/{CustomStyles-D3JePSNK.cjs → CustomStyles-K9rgl5Vl.cjs} +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +4 -4
- 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 +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +1 -1
- 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/FaqSection.cjs +3 -175
- package/dist/FaqSection.js +121 -314
- package/dist/FeedbackSection.cjs +1 -1
- package/dist/FeedbackSection.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
- package/dist/FieldOfInterestsMasonrySection.js +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.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/GeneralWithTagsCardsSection.cjs +1 -1
- package/dist/GeneralWithTagsCardsSection.js +1 -1
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +2 -2
- 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/Kanban.cjs +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +1 -1
- package/dist/LoanCalculatorSection.js +1 -1
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- 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 +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- 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/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +3 -3
- 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/QuizSection.cjs +1 -1
- package/dist/QuizSection.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 +2 -2
- package/dist/SalesCampaignsSection.cjs +39 -22
- package/dist/SalesCampaignsSection.js +307 -248
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +2 -2
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +3 -3
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +2 -2
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/StatsSection.cjs +1 -1
- package/dist/StatsSection.js +1 -1
- 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 +1 -1
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{index-YGcWbzeb.js → index-3TFXgZHA.js} +1 -1
- package/dist/{index-BgRyIsRu.js → index-BRciSeV3.js} +1 -1
- package/dist/{index-B2pFbNKc.js → index-CU0KClNt.js} +2 -2
- package/dist/{index-Cg4t3q_p.cjs → index-CUu7XMJo.cjs} +1 -1
- package/dist/{index-DCFJmN23.cjs → index-D0xZLbyl.cjs} +1 -1
- package/dist/{index-C9GK00PM.cjs → index-DgGmKhrL.cjs} +1 -1
- package/dist/{index-BvSNRLNa.cjs → index-DiIeF_76.cjs} +1 -1
- package/dist/{index-BBMleFo5.js → index-DtyNsg2r.js} +1 -1
- package/dist/{index-CTJpJFtr.js → index-EE-IJbC3.js} +2 -2
- package/dist/{index-B_HNDmXL.cjs → index-zhTWvtwE.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +37 -35
- package/dist/{skeleton-CoErfoMc.cjs → skeleton-BP2LF7xv.cjs} +1 -1
- package/dist/{skeleton-BXY2S7mC.cjs → skeleton-Bl1q9Yqe.cjs} +1 -1
- package/dist/{skeleton-DWZNwK33.js → skeleton-PMiYQLOs.js} +1 -1
- package/dist/{skeleton-C_gJZRTs.js → skeleton-fVxknFUi.js} +2 -2
- package/dist/{style-JqDQj4jh.cjs → style-C_BRvopE.cjs} +1 -1
- package/dist/{style-08foMKSd.js → style-XXDQBreL.js} +1 -1
- package/dist/{suspense-categories-card-simple-BbtBbuWb.js → suspense-categories-card-simple-Bln7_MpK.js} +1 -1
- package/dist/{suspense-categories-card-simple-CK7XDK4k.cjs → suspense-categories-card-simple-CWahURI0.cjs} +1 -1
- package/dist/{suspense-large-BM9s_kZP.js → suspense-large-DrD8xVZi.js} +1 -1
- package/dist/{suspense-large-CtcwWswP.cjs → suspense-large-PHdzP1Ln.cjs} +1 -1
- package/dist/{suspense-product-card-detailed-LcBMp1iw.cjs → suspense-product-card-detailed-ByW7-U8H.cjs} +1 -1
- package/dist/{suspense-product-card-detailed-PArA5O4M.js → suspense-product-card-detailed-Crkoym56.js} +2 -2
- package/dist/{suspense-product-card-simple-Z-FddSb-.js → suspense-product-card-simple-BT5gv-kY.js} +1 -1
- package/dist/{suspense-product-card-simple-CJwnghtt.cjs → suspense-product-card-simple-f0s0POCq.cjs} +1 -1
- package/dist/tag-Bov1gw34.cjs +173 -0
- package/dist/tag-CtleOqEC.js +204 -0
- package/dist/{utils-BbgAIA9N.js → utils-BPdU4_1q.js} +7 -7
- package/dist/{utils-CZynEOC_.cjs → utils-DmMdPm9O.cjs} +2 -2
- package/package.json +3 -2
- package/vite.config.js +4 -0
package/dist/Accordion.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const g=require("react/jsx-runtime"),t=require("react"),o=require("./index-BpbMKBf_.cjs"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),c=require("./utils-
|
|
1
|
+
"use strict";const g=require("react/jsx-runtime"),t=require("react"),o=require("./index-BpbMKBf_.cjs"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),c=require("./utils-DmMdPm9O.cjs"),R=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=require("./useUpdateEffect-BtMgpgIV.cjs"),O=x.styled.div`
|
|
2
2
|
color: ${s=>!s.disabled&&c.getColorRgbaValue(s.theme,"Accordion","primary","enabled","text")};
|
|
3
3
|
background-color: transparent;
|
|
4
4
|
${s=>c.getComponentTypographyCss(s.theme,"Accordion",s.size,"enabled")};
|
package/dist/Accordion.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as O, useState as x, Children as i, isValidElement as c, cloneElement as f } from "react";
|
|
3
3
|
import { P as o } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as D } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as R, c as S, h as T } from "./utils-
|
|
5
|
+
import { b as R, c as S, h as T } from "./utils-BPdU4_1q.js";
|
|
6
6
|
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
import { u as P } from "./useUpdateEffect-CuYWz7EA.js";
|
|
8
8
|
const M = D.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),f=require("react"),s=require("./index-BpbMKBf_.cjs"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./Icon.cjs"),C=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),f=require("react"),s=require("./index-BpbMKBf_.cjs"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./Icon.cjs"),C=require("./utils-DmMdPm9O.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),h={small:"0.6rem 1rem",medium:"0.8rem 1.25rem",large:"1rem 1.5rem"},R=x.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
cursor: pointer;
|
package/dist/AccordionSummary.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as C } from "react";
|
|
|
3
3
|
import { P as o } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import h from "./Icon.js";
|
|
6
|
-
import { b as x } from "./utils-
|
|
6
|
+
import { b as x } from "./utils-BPdU4_1q.js";
|
|
7
7
|
import { u as A } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const N = {
|
|
9
9
|
small: "0.6rem 1rem",
|
package/dist/ActionsToolbar.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),B=require("react"),e=require("./index-BpbMKBf_.cjs"),V=require("./emotion-styled.browser.esm-BtEseadx.cjs"),Y=require("./DropdownMenu.cjs"),i=require("./DropdownItem.cjs"),M=require("./Separator.cjs"),y=require("./Button.cjs"),b=require("./utils-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),B=require("react"),e=require("./index-BpbMKBf_.cjs"),V=require("./emotion-styled.browser.esm-BtEseadx.cjs"),Y=require("./DropdownMenu.cjs"),i=require("./DropdownItem.cjs"),M=require("./Separator.cjs"),y=require("./Button.cjs"),b=require("./utils-DmMdPm9O.cjs"),Z=require("./ThemeProvider.cjs"),F=V.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
border-radius: 8px;
|
package/dist/ActionsToolbar.js
CHANGED
|
@@ -6,7 +6,7 @@ import Z from "./DropdownMenu.js";
|
|
|
6
6
|
import i from "./DropdownItem.js";
|
|
7
7
|
import q from "./Separator.js";
|
|
8
8
|
import b from "./Button.js";
|
|
9
|
-
import { b as m } from "./utils-
|
|
9
|
+
import { b as m } from "./utils-BPdU4_1q.js";
|
|
10
10
|
import { useTheme as F } from "./ThemeProvider.js";
|
|
11
11
|
const G = V.div`
|
|
12
12
|
display: flex;
|
package/dist/Alert.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),c=require("react"),r=require("./index-BpbMKBf_.cjs"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),T=require("./ThemeProvider.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),c=require("react"),r=require("./index-BpbMKBf_.cjs"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),T=require("./ThemeProvider.cjs"),t=require("./utils-DmMdPm9O.cjs"),s=require("./Icon.cjs"),P=x.styled.div`
|
|
2
2
|
min-height: 3rem;
|
|
3
3
|
${e=>t.getComponentTypographyCss(e.theme,"Alert",e.size,"enabled")};
|
|
4
4
|
line-height: 1.25rem;
|
package/dist/Alert.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as y, cloneElement as x } from "react";
|
|
|
3
3
|
import { P as r } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { useTheme as N } from "./ThemeProvider.js";
|
|
6
|
-
import { c as A, a as $, b as o, g as m } from "./utils-
|
|
6
|
+
import { c as A, a as $, b as o, g as m } from "./utils-BPdU4_1q.js";
|
|
7
7
|
import s from "./Icon.js";
|
|
8
8
|
const T = w.div`
|
|
9
9
|
min-height: 3rem;
|
package/dist/Avatar.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),T=require("react"),i=require("./index-BpbMKBf_.cjs"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),T=require("react"),i=require("./index-BpbMKBf_.cjs"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-DmMdPm9O.cjs"),I=require("./Icon.cjs"),f=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),x=P.styled.div`
|
|
2
2
|
border-radius: ${e=>s.getBorderRadiusValueWithUnits(e.theme,e.borderRadius)};
|
|
3
3
|
color: white;
|
|
4
4
|
display: inline-flex;
|
package/dist/Avatar.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as I } from "react";
|
|
3
3
|
import { P as i } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as U } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { a as y, d as t, h as $, b as v } from "./utils-
|
|
5
|
+
import { a as y, d as t, h as $, b as v } from "./utils-BPdU4_1q.js";
|
|
6
6
|
import w from "./Icon.js";
|
|
7
7
|
import { u as R } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const x = U.div`
|
package/dist/Badge.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const h=require("react/jsx-runtime"),p=require("react"),r=require("./index-BpbMKBf_.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-
|
|
1
|
+
"use strict";const h=require("react/jsx-runtime"),p=require("react"),r=require("./index-BpbMKBf_.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-DmMdPm9O.cjs"),z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),t=e=>e=="large"?"2rem":e=="medium"?"1.75rem":"1.5rem",R=f.styled.div`
|
|
2
2
|
${e=>s.getComponentTypographyCss(e.theme,"Badge",e.size,"enabled")};
|
|
3
3
|
background-color: ${e=>s.getColorRgbaValue(e.theme,"Badge",e.color,"enabled","background","backgroundOpacity")};
|
|
4
4
|
color: ${e=>s.getColorRgbaValue(e.theme,"Badge",e.color,"enabled","text")};
|
package/dist/Badge.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as h } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as y } from "react";
|
|
3
3
|
import { P as r } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { c as p, b as o, a as z } from "./utils-
|
|
5
|
+
import { c as p, b as o, a as z } from "./utils-BPdU4_1q.js";
|
|
6
6
|
import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const a = (e) => e == "large" ? "2rem" : e == "medium" ? "1.75rem" : "1.5rem", B = b.div`
|
|
8
8
|
${(e) => p(e.theme, "Badge", e.size, "enabled")};
|
|
@@ -141,4 +141,4 @@
|
|
|
141
141
|
padding-right: 0.5rem;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
`,pt=x.forwardRef(({items:o=[],onSelectItem:i=()=>{},onButtonAction:t=()=>{}},e)=>{const r={desktop:{breakpoint:{max:3e3,min:1024},items:1,partialVisibilityGutter:0},tablet:{breakpoint:{max:1024,min:464},items:1,partialVisibilityGutter:0},mobile:{breakpoint:{max:464,min:0},items:1,partialVisibilityGutter:48}},a=mt.useDetectMobile();return P.jsx(oe,{ref:e,children:P.jsx(ie,{responsive:r,removeArrowOnDeviceType:"mobile",infinite:!a,keyBoardControl:!0,autoPlay:!0,partialVisible:!0,sliderClass:"carousel-slider",itemClass:"carousel-item",containerClass:"carousel-container",children:o==null?void 0:o.map((n,s)=>P.jsxs("div",{className:"section__card",onClick:()=>i(n),children:[P.jsx("img",{src:n==null?void 0:n.imageUrl,alt:`Slide ${s+1}`,className:"section__image"}),P.jsxs("div",{className:"card__content",children:[P.jsxs("div",{className:"card__text",children:[(n==null?void 0:n.title)&&P.jsx("div",{className:"card__title",children:n==null?void 0:n.title}),(n==null?void 0:n.title)&&P.jsx("div",{className:"card__description",children:n==null?void 0:n.description})]}),(n==null?void 0:n.buttonText)&&P.jsx(ft,{text:n==null?void 0:n.buttonText,className:"card__action",size:"medium",onClick:l=>{l==null||l.stopPropagation(),t(n)}})]})]},`banner-section-carousel-item__${s+1}`))})},`banner-section-carousel__${a}`)});pt.propTypes={items:z.PropTypes.array,onSelectItem:z.PropTypes.func,onButtonAction:z.PropTypes.func};module.exports=pt;
|
|
144
|
+
`,pt=x.forwardRef(({items:o=[],onSelectItem:i=()=>{},onButtonAction:t=()=>{}},e)=>{const r={desktop:{breakpoint:{max:3e3,min:1024},items:1,partialVisibilityGutter:0},tablet:{breakpoint:{max:1024,min:464},items:1,partialVisibilityGutter:0},mobile:{breakpoint:{max:464,min:0},items:1,partialVisibilityGutter:48}},a=mt.useDetectMobile();return P.jsx(oe,{ref:e,children:P.jsx(ie,{responsive:r,removeArrowOnDeviceType:"mobile",infinite:!a,keyBoardControl:!0,autoPlay:!0,partialVisible:!0,customTransition:"transform 300ms ease-in-out",transitionDuration:300,sliderClass:"carousel-slider",itemClass:"carousel-item",containerClass:"carousel-container",children:o==null?void 0:o.map((n,s)=>P.jsxs("div",{className:"section__card",onClick:()=>i(n),children:[P.jsx("img",{src:n==null?void 0:n.imageUrl,alt:`Slide ${s+1}`,className:"section__image"}),P.jsxs("div",{className:"card__content",children:[P.jsxs("div",{className:"card__text",children:[(n==null?void 0:n.title)&&P.jsx("div",{className:"card__title",children:n==null?void 0:n.title}),(n==null?void 0:n.title)&&P.jsx("div",{className:"card__description",children:n==null?void 0:n.description})]}),(n==null?void 0:n.buttonText)&&P.jsx(ft,{text:n==null?void 0:n.buttonText,className:"card__action",size:"medium",onClick:l=>{l==null||l.stopPropagation(),t(n)}})]})]},`banner-section-carousel-item__${s+1}`))})},`banner-section-carousel__${a}`)});pt.propTypes={items:z.PropTypes.array,onSelectItem:z.PropTypes.func,onButtonAction:z.PropTypes.func};module.exports=pt;
|
|
@@ -669,6 +669,8 @@ const re = /* @__PURE__ */ mt(oe), ne = yt.div`
|
|
|
669
669
|
keyBoardControl: !0,
|
|
670
670
|
autoPlay: !0,
|
|
671
671
|
partialVisible: !0,
|
|
672
|
+
customTransition: "transform 300ms ease-in-out",
|
|
673
|
+
transitionDuration: 300,
|
|
672
674
|
sliderClass: "carousel-slider",
|
|
673
675
|
itemClass: "carousel-item",
|
|
674
676
|
containerClass: "carousel-container",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),c=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),u=require("./Button.cjs"),i=require("./utils-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),c=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),u=require("./Button.cjs"),i=require("./utils-DmMdPm9O.cjs"),x=o.styled.div`
|
|
2
2
|
padding-bottom: 1.38rem;
|
|
3
3
|
text-align: center;
|
|
4
4
|
display: flex;
|
|
@@ -3,7 +3,7 @@ import { forwardRef as p, Fragment as u } from "react";
|
|
|
3
3
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as s } from "./consts-BuFChS64.js";
|
|
5
5
|
import x from "./Button.js";
|
|
6
|
-
import { l as n } from "./utils-
|
|
6
|
+
import { l as n } from "./utils-BPdU4_1q.js";
|
|
7
7
|
const y = m.div`
|
|
8
8
|
padding-bottom: 1.38rem;
|
|
9
9
|
text-align: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),p=require("react"),n=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),p=require("react"),n=require("./utils-DmMdPm9O.cjs"),w=require("./Icon.cjs"),N=require("./Chip.cjs"),z=require("./index-DiIeF_76.cjs"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),v=require("./consts-goSZX3xP.cjs"),I=require("./suspense-large-PHdzP1Ln.cjs"),R=require("./Button.cjs"),k=y.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: 1rem;
|
|
4
4
|
align-items: center;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as v, memo as j, useMemo as I } from "react";
|
|
3
|
-
import { p as y, s as S, v as C, w as b, k as R } from "./utils-
|
|
3
|
+
import { p as y, s as S, v as C, w as b, k as R } from "./utils-BPdU4_1q.js";
|
|
4
4
|
import w from "./Icon.js";
|
|
5
5
|
import L from "./Chip.js";
|
|
6
|
-
import { P } from "./index-
|
|
6
|
+
import { P } from "./index-3TFXgZHA.js";
|
|
7
7
|
import { s as N } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
8
|
import { M as z } from "./consts-BuFChS64.js";
|
|
9
|
-
import { S as U } from "./suspense-large-
|
|
9
|
+
import { S as U } from "./suspense-large-DrD8xVZi.js";
|
|
10
10
|
import M from "./Button.js";
|
|
11
11
|
const T = N.div`
|
|
12
12
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),a=require("react"),u=require("./suspense-categories-card-simple-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),a=require("react"),u=require("./suspense-categories-card-simple-CWahURI0.cjs"),l=require("./style-BTTXJFJN.cjs"),m=a.memo(u.CategorySimpleCard),p=a.forwardRef(({items:r,onSelectCard:i=()=>{},isLoading:n=!1,limit:t=4,isHighlight:c=!1},C)=>{const d=a.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,g)=>s.jsx(m,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>i==null?void 0:i(e==null?void 0:e.uuid)},g))},[r]);return s.jsx(l.Wrapper,{className:c?"highlight":"",children:s.jsx("div",{className:"wrapper__grid",children:s.jsx(u.SuspenseSimpleCategoryCard,{isLoading:n,limit:t,keyPrefix:"blog-section",children:d})})})});module.exports=p;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { memo as l, forwardRef as f, useMemo as t } from "react";
|
|
3
|
-
import { C as u, S as n } from "./suspense-categories-card-simple-
|
|
3
|
+
import { C as u, S as n } from "./suspense-categories-card-simple-Bln7_MpK.js";
|
|
4
4
|
import { W as c } from "./style-tw6KjI2J.js";
|
|
5
5
|
const C = l(u), M = f(
|
|
6
6
|
({
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),q=require("react"),n=require("./index-BpbMKBf_.cjs"),G=require("./utils-DmMdPm9O.cjs"),J=require("./TextInput.cjs"),j=require("./Icon.cjs"),K=require("./Link.cjs"),C=require("./DropdownMenu.cjs"),z=require("./DropdownItem.cjs"),Q=require("./tag-Bov1gw34.cjs"),W=require("./BlogProductCardsSection.cjs"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./BlogListSection.cjs"),Y=require("./consts-goSZX3xP.cjs"),B=P.styled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
align-items: center;
|
|
5
|
+
align-self: stretch;
|
|
6
|
+
width: 100%;
|
|
7
|
+
|
|
8
|
+
& .pagination__per-page {
|
|
9
|
+
& button {
|
|
10
|
+
border-radius: 8px;
|
|
11
|
+
border: 1px solid var(--neutral-95012, rgba(20, 22, 26, 0.12));
|
|
12
|
+
background: transparent;
|
|
13
|
+
color: var(---gray-950, #14161a);
|
|
14
|
+
font-size: 0.875rem;
|
|
15
|
+
font-style: normal;
|
|
16
|
+
font-weight: 500;
|
|
17
|
+
line-height: 1.25rem;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
& .pagination__pages {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
border-radius: 0.375rem;
|
|
25
|
+
|
|
26
|
+
& .pagination__page {
|
|
27
|
+
display: flex;
|
|
28
|
+
width: 2.5rem;
|
|
29
|
+
height: 2.25rem;
|
|
30
|
+
padding: 0.5rem 1rem;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
align-items: center;
|
|
34
|
+
border-top: 1px solid var(--neutral-95012, rgba(20, 22, 26, 0.12));
|
|
35
|
+
border-right: 1px solid var(--neutral-95012, rgba(20, 22, 26, 0.12));
|
|
36
|
+
border-bottom: 1px solid var(--neutral-95012, rgba(20, 22, 26, 0.12));
|
|
37
|
+
color: var(--gray-600, #676e79);
|
|
38
|
+
font-size: 0.875rem;
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
line-height: 1.25rem;
|
|
42
|
+
|
|
43
|
+
&:hover {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
background: var(--gray-200, #e4e9f0);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.active {
|
|
49
|
+
border: 1px solid var(--teal-500, #009ea8);
|
|
50
|
+
background: var(--teal-50, #f4fdff);
|
|
51
|
+
color: var(--teal-500, #009ea8);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.disabled {
|
|
55
|
+
cursor: unset;
|
|
56
|
+
border: 1px solid var(--neutral-95012, rgba(20, 22, 26, 0.12));
|
|
57
|
+
opacity: 0.4;
|
|
58
|
+
|
|
59
|
+
&:hover {
|
|
60
|
+
background: transparent;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.ellipsis {
|
|
65
|
+
cursor: unset;
|
|
66
|
+
|
|
67
|
+
&:hover {
|
|
68
|
+
background: transparent;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:first-of-type {
|
|
73
|
+
border-radius: 0.5rem 0 0 0.5rem;
|
|
74
|
+
border-left: 1px solid var(--neutral-95012, rgba(20, 22, 26, 0.12));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:last-of-type {
|
|
78
|
+
border-radius: 0 0.5rem 0.5rem 0;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
`,O=q.forwardRef(({perPageOptions:o=[{code:10,name:"Show 10 items"},{code:25,name:"Show 25 items"},{code:50,name:"Show 50 items"}],perPage:m,handlePerPage:_=()=>{},page:s=1,handlePage:c=()=>{},totalPage:r},d)=>{var h,l;const p=()=>{s>1&&(c==null||c(s-1))},f=()=>{s<r&&(c==null||c(s+1))},x=()=>{const t=[];if(r<=7)for(let a=1;a<=r;a++)t.push(a);else s<=3?t.push(1,2,3,"...",r):s>=r-2?t.push(1,"...",r-2,r-1,r):t.push(1,2,3,"...",r);return t==null?void 0:t.map((a,u)=>a==="..."?e.jsx("div",{className:"pagination__page ellipsis",children:a},`pagination-ellipsis__${u}`):e.jsx("div",{onClick:()=>c(a),className:`pagination__page ${s===a?"active":""}`,children:a},`pagination-page__${u}`))};return e.jsxs(B,{className:"pagination",children:[e.jsx(C,{color:"neutral",control:((h=o==null?void 0:o.find(t=>(t==null?void 0:t.code)===m))==null?void 0:h.name)||((l=o[0])==null?void 0:l.name),placement:"bottom",zIndex:1001,className:"pagination__per-page",children:o==null?void 0:o.map((t,a)=>e.jsx(z,{active:(t==null?void 0:t.code)===(m==null?void 0:m.code),className:"sort-by__item",onClick:()=>_(t),children:t==null?void 0:t.name},`blog-epxlore-section-per-page-option__${a+1}`))}),e.jsxs("div",{className:"pagination__pages",children:[e.jsx("div",{className:`pagination__page ${s===1?"disabled":""}`,onClick:p,children:e.jsx(j,{icon:" mng-lnc-chevron--left"})}),x(),e.jsx("div",{className:`pagination__page ${s===r?"disabled":""}`,onClick:f,children:e.jsx(j,{icon:" mng-lnc-chevron--right"})})]})]})}),ee=P.styled.div`
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: flex-start;
|
|
85
|
+
gap: 2rem;
|
|
86
|
+
align-self: stretch;
|
|
87
|
+
|
|
88
|
+
& button {
|
|
89
|
+
&:focus {
|
|
90
|
+
outline: none;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
& .landing__main-content {
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
align-items: flex-start;
|
|
98
|
+
gap: 1.5rem;
|
|
99
|
+
|
|
100
|
+
border-right: 1px solid var(--gray-200, #dddfe4);
|
|
101
|
+
padding-right: 2rem;
|
|
102
|
+
|
|
103
|
+
& .section__tags {
|
|
104
|
+
flex-wrap: wrap;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
& .pagination {
|
|
108
|
+
padding: 1.25rem 0;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
& .main-content__title {
|
|
112
|
+
color: var(--gray-950, #14161a);
|
|
113
|
+
font-size: 1.5rem;
|
|
114
|
+
font-style: normal;
|
|
115
|
+
font-weight: 600;
|
|
116
|
+
line-height: 2rem;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
& .tags__item {
|
|
120
|
+
&:not(.active) {
|
|
121
|
+
background: var(--neutral-9504, rgba(20, 22, 26, 0.04));
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
& .main-content__items {
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
gap: 1.25rem;
|
|
129
|
+
|
|
130
|
+
& .main-content__divider {
|
|
131
|
+
content: "";
|
|
132
|
+
display: block;
|
|
133
|
+
height: 1px;
|
|
134
|
+
width: 100%;
|
|
135
|
+
background: var(--gray-200, #dddfe4);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
& .blog-card-item {
|
|
139
|
+
background: transparent;
|
|
140
|
+
border: none;
|
|
141
|
+
padding: 0;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
& .main-content__actions {
|
|
146
|
+
display: flex;
|
|
147
|
+
justify-content: space-between;
|
|
148
|
+
align-items: center;
|
|
149
|
+
align-self: stretch;
|
|
150
|
+
width: 100%;
|
|
151
|
+
|
|
152
|
+
& .main-content__search {
|
|
153
|
+
border-radius: 999px;
|
|
154
|
+
height: 2.5rem;
|
|
155
|
+
min-height: 2.5rem;
|
|
156
|
+
max-width: 23.75rem;
|
|
157
|
+
width: 100%;
|
|
158
|
+
|
|
159
|
+
border: 1px solid var(--gray-200, #e4e9f0);
|
|
160
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
161
|
+
outline: none;
|
|
162
|
+
|
|
163
|
+
& input::placeholder {
|
|
164
|
+
color: var(--gray-500, #7a8594);
|
|
165
|
+
font-size: 0.875rem;
|
|
166
|
+
font-style: normal;
|
|
167
|
+
font-weight: 400;
|
|
168
|
+
line-height: 1.25rem;
|
|
169
|
+
letter-spacing: 0.0156rem;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
& .main-content__search-prefix {
|
|
173
|
+
color: var(--gray-500, #7a8594);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
& .main-content__sort-by {
|
|
178
|
+
& button {
|
|
179
|
+
border-radius: 999px;
|
|
180
|
+
color: var(--gray-950, #14161a);
|
|
181
|
+
background: var(--neutral-95004, rgba(20, 22, 26, 0.04));
|
|
182
|
+
font-size: 0.875rem;
|
|
183
|
+
font-style: normal;
|
|
184
|
+
font-weight: 500;
|
|
185
|
+
line-height: 1.25rem;
|
|
186
|
+
letter-spacing: -0.0056rem;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
& .landing__side-content {
|
|
193
|
+
display: flex;
|
|
194
|
+
flex-direction: column;
|
|
195
|
+
align-items: flex-start;
|
|
196
|
+
gap: 1.5rem;
|
|
197
|
+
align-self: stretch;
|
|
198
|
+
|
|
199
|
+
& .side-content__title {
|
|
200
|
+
color: var(--gray-950, #14161a);
|
|
201
|
+
font-size: 1rem;
|
|
202
|
+
font-style: normal;
|
|
203
|
+
font-weight: 600;
|
|
204
|
+
line-height: 1.5rem;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
& .side-content__link {
|
|
208
|
+
color: var(--gray-950, #14161a);
|
|
209
|
+
font-size: 0.75rem;
|
|
210
|
+
font-style: normal;
|
|
211
|
+
font-weight: 500;
|
|
212
|
+
line-height: 1rem;
|
|
213
|
+
|
|
214
|
+
&:hover {
|
|
215
|
+
cursor: pointer;
|
|
216
|
+
text-decoration: underline;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
& .side-content__items {
|
|
221
|
+
display: flex;
|
|
222
|
+
flex-direction: column;
|
|
223
|
+
align-items: flex-start;
|
|
224
|
+
gap: 1.25rem;
|
|
225
|
+
align-self: stretch;
|
|
226
|
+
|
|
227
|
+
& .side-content__item {
|
|
228
|
+
display: flex;
|
|
229
|
+
align-items: flex-start;
|
|
230
|
+
gap: 1rem;
|
|
231
|
+
align-self: stretch;
|
|
232
|
+
|
|
233
|
+
&:hover {
|
|
234
|
+
cursor: pointer;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
& .item__image {
|
|
238
|
+
width: 100%;
|
|
239
|
+
max-width: 6rem;
|
|
240
|
+
height: 100%;
|
|
241
|
+
max-height: 3.75rem;
|
|
242
|
+
object-fit: cover;
|
|
243
|
+
border-radius: 0.375rem;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
& .item__content {
|
|
247
|
+
display: flex;
|
|
248
|
+
flex-direction: column;
|
|
249
|
+
align-items: flex-start;
|
|
250
|
+
gap: 0.25rem;
|
|
251
|
+
|
|
252
|
+
& .item__title {
|
|
253
|
+
color: var(--gray-950, #14161a);
|
|
254
|
+
font-size: 0.875rem;
|
|
255
|
+
font-style: normal;
|
|
256
|
+
font-weight: 500;
|
|
257
|
+
line-height: 1.25rem;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
& .item__description {
|
|
261
|
+
color: var(--gray-600, #676e79);
|
|
262
|
+
font-size: 0.75rem;
|
|
263
|
+
font-style: normal;
|
|
264
|
+
font-weight: 400;
|
|
265
|
+
line-height: 1rem;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
@media (max-width: ${Y.MOBILE_SIZE_PX+"px"}) {
|
|
273
|
+
flex-direction: column;
|
|
274
|
+
|
|
275
|
+
& .landing__main-content {
|
|
276
|
+
width: 100%;
|
|
277
|
+
padding-right: 0;
|
|
278
|
+
border-right: none;
|
|
279
|
+
|
|
280
|
+
& .section__tags {
|
|
281
|
+
flex-wrap: nowrap;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
& .main-content__actions {
|
|
285
|
+
gap: 0.5rem;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
& .main-content__items {
|
|
289
|
+
& .main-content__divider {
|
|
290
|
+
display: none;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
& .separated {
|
|
294
|
+
gap: 1.25rem;
|
|
295
|
+
|
|
296
|
+
& > div:not(:last-of-type)::after {
|
|
297
|
+
display: none;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
& .blog-product-cards-section {
|
|
302
|
+
border-radius: 0;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
& .pagination {
|
|
307
|
+
justify-content: center;
|
|
308
|
+
|
|
309
|
+
& .pagination__per-page {
|
|
310
|
+
display: none;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
& .landing__side-content {
|
|
316
|
+
display: none;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
`,I=q.forwardRef(({mainTitle:o,sideTitle:m,tags:_,selectedTag:s,handleSelectTag:c=()=>{},blogs:r,miniBlogs:d,products:p,blogsLoading:f=!1,productsLoading:x=!1,sortingOptions:h,sortBy:l,handleSortBy:t=()=>{},allTagText:a="All",searchPlaceholderText:u="Search blogs",timeToReadText:w="{0} min read",getBlogImageUrl:y=()=>{},handleSelectBlog:g=()=>{},handleSelectBlogTag:b=()=>{},handleShareBlog:N=()=>{},handleBookmarkBlog:k=()=>{},showAllButtonLink:L,showAllButtonText:$="Show all products",viewAllButtonText:A="View all (11)",viewAllButtonLink:ne,handleViewAll:R=()=>{},handleShowAll:D=()=>{},handleSelectProduct:E=()=>{},getProductImageUrl:M=()=>{},page:U,handlePage:F=()=>{},perPage:H,handlePerPage:V=()=>{},totalPage:v,perPageOptions:X,handleSearch:Z=()=>{}},re)=>e.jsxs(ee,{children:[e.jsxs("div",{className:"landing__main-content",children:[o&&e.jsx("div",{className:"main-content__title",children:o}),_&&e.jsx(Q.FaqSectionTags,{tags:_,allTagText:a,selectedTag:s,onSelectTag:c}),e.jsxs("div",{className:"main-content__actions",children:[e.jsx(J,{className:"main-content__search",placeholder:u,debounceTime:200,prefix:e.jsx(j,{icon:" mng-lnc-search",sizeInUnits:"1.25rem",className:"main-content__search-prefix"}),color:"neutral",onChange:Z}),e.jsx(C,{color:"neutral",control:l==null?void 0:l.name,zIndex:1001,className:"main-content__sort-by",children:h==null?void 0:h.map((i,T)=>e.jsx(z,{active:(i==null?void 0:i.code)===(l==null?void 0:l.code),className:"sort-by__item",onClick:()=>t(i),children:i==null?void 0:i.name},`blog-epxlore-section-sorting-option__${T+1}`))})]}),e.jsxs("div",{className:"main-content__items",children:[r&&(r==null?void 0:r.length)>0&&e.jsx(S,{timeToReadText:w,items:r==null?void 0:r.slice(0,5),isLoading:f,getImage:y,onSelectCard:g,onSelectOption:b,onShare:N,onBookmark:k}),e.jsx("div",{className:"main-content__divider"}),p&&(p==null?void 0:p.length)>0&&e.jsx(W,{buttonText:$,buttonLink:L,onButtonAction:D,onSelectCard:E,items:p,isLoading:x,getImage:M,isHighlight:!0}),e.jsx("div",{className:"main-content__divider"}),r&&(r==null?void 0:r.length)>0&&e.jsx(S,{timeToReadText:w,items:r==null?void 0:r.slice(5),isLoading:f,getImage:y,onSelectCard:g,onSelectOption:b,onShare:N,onBookmark:k})]}),v&&v>1&&e.jsx(O,{perPageOptions:X,perPage:H,handlePerPage:V,page:U,handlePage:F,totalPage:v})]}),e.jsxs("div",{className:"landing__side-content",children:[m&&e.jsx("div",{className:"side-content__title",children:m}),e.jsx("div",{className:"side-content__items",children:d&&(d==null?void 0:d.length)>0&&(d==null?void 0:d.map((i,T)=>e.jsxs("div",{className:"side-content__item",onClick:()=>g(i),children:[e.jsx("img",{src:y(i==null?void 0:i.imageUrl,i==null?void 0:i.uuid)||null,alt:`Mini blog ${T+1}`,className:"item__image"}),e.jsxs("div",{className:"item__content",children:[e.jsx("div",{className:"item__title",children:i==null?void 0:i.title}),e.jsx("div",{className:"item__description",children:G.formatLocaleDateString(i==null?void 0:i.publishedAt)})]})]})))}),e.jsx(K,{onClick:R,className:"side-content__link",children:A})]})]}));I.propTypes={mainTitle:n.PropTypes.string,sideTitle:n.PropTypes.string,tags:n.PropTypes.array,selectedTag:n.PropTypes.any,handleSelectTag:n.PropTypes.func,blogs:n.PropTypes.array,miniBlogs:n.PropTypes.array,products:n.PropTypes.array,blogsLoading:n.PropTypes.bool,productsLoading:n.PropTypes.bool,sortingOptions:n.PropTypes.array,sortBy:n.PropTypes.any,handleSortBy:n.PropTypes.func,allTagText:n.PropTypes.string,searchPlaceholderText:n.PropTypes.string,timeToReadText:n.PropTypes.string,getBlogImageUrl:n.PropTypes.func,handleSelectBlog:n.PropTypes.func,handleSelectBlogTag:n.PropTypes.func,handleShareBlog:n.PropTypes.func,handleBookmarkBlog:n.PropTypes.func,showAllButtonLink:n.PropTypes.string,showAllButtonText:n.PropTypes.string,viewAllButtonText:n.PropTypes.string,handleShowAll:n.PropTypes.func,handleSelectProduct:n.PropTypes.func,getProductImageUrl:n.PropTypes.func,page:n.PropTypes.number,handlePage:n.PropTypes.func,perPage:n.PropTypes.any,handlePerPage:n.PropTypes.func,totalPage:n.PropTypes.number,perPageOptions:n.PropTypes.array,handleSearch:n.PropTypes.func};module.exports=I;
|