@lanaco/lnc-react-ui 4.0.200 → 4.0.201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/BannerSectionCarousel.cjs +4 -4
  2. package/dist/BannerSectionCarousel.js +51 -542
  3. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  4. package/dist/BlogCardsSponsoredSection.js +1 -1
  5. package/dist/BlogListSection.cjs +1 -1
  6. package/dist/BlogListSection.js +1 -1
  7. package/dist/BlogsSectionDetailed.cjs +1 -1
  8. package/dist/BlogsSectionDetailed.js +1 -1
  9. package/dist/BlogsSectionSimple.cjs +1 -1
  10. package/dist/BlogsSectionSimple.js +1 -1
  11. package/dist/BlogsSectionWithFilters.cjs +1 -1
  12. package/dist/BlogsSectionWithFilters.js +1 -1
  13. package/dist/DetailedProductsSection.cjs +1 -1
  14. package/dist/DetailedProductsSection.js +1 -1
  15. package/dist/GiftCardsSection.cjs +1 -1
  16. package/dist/GiftCardsSection.js +1 -1
  17. package/dist/PartnerBrandsSection.cjs +62 -0
  18. package/dist/PartnerBrandsSection.js +154 -0
  19. package/dist/PartnerStatsSection.cjs +100 -0
  20. package/dist/PartnerStatsSection.js +124 -0
  21. package/dist/ProductsWithBannerSection.cjs +1 -1
  22. package/dist/ProductsWithBannerSection.js +1 -1
  23. package/dist/SalesCampaignsSection.cjs +36 -26
  24. package/dist/SalesCampaignsSection.js +226 -213
  25. package/dist/SimpleCategoriesSection.cjs +1 -1
  26. package/dist/SimpleCategoriesSection.js +1 -1
  27. package/dist/index-BppfjY8h.js +497 -0
  28. package/dist/index-DeS-oqJB.cjs +1 -0
  29. package/dist/index.cjs +1 -1
  30. package/dist/index.js +23 -19
  31. package/dist/{style-CkcozOY6.cjs → style-B4kAj6YU.cjs} +38 -8
  32. package/dist/{style-Cmlod7oq.js → style-neMbLWE6.js} +42 -11
  33. package/package.json +4 -2
  34. package/vite.config.js +8 -0
package/dist/index.js CHANGED
@@ -8,8 +8,8 @@ import { default as c } from "./NumberInput.js";
8
8
  import { default as g } from "./PasswordInput.js";
9
9
  import { default as I } from "./RadioInput.js";
10
10
  import { default as D } from "./RangeSlider.js";
11
- import { default as T } from "./TextAreaInput.js";
12
- import { default as P } from "./TextInput.js";
11
+ import { default as P } from "./TextAreaInput.js";
12
+ import { default as F } from "./TextInput.js";
13
13
  import { default as h } from "./TimeInput.js";
14
14
  import { default as M } from "./Badge.js";
15
15
  import { default as G } from "./Chip.js";
@@ -35,8 +35,8 @@ import { default as ce } from "./Spinner.js";
35
35
  import { default as ge } from "./Avatar.js";
36
36
  import { default as Ie } from "./Button.js";
37
37
  import { default as De } from "./Icon.js";
38
- import { default as Te } from "./IconButton.js";
39
- import { default as Pe } from "./Link.js";
38
+ import { default as Pe } from "./IconButton.js";
39
+ import { default as Fe } from "./Link.js";
40
40
  import { default as he } from "./Surface.js";
41
41
  import { default as Me } from "./UploadedFile.js";
42
42
  import { default as Ge } from "./DoubleRangeSlider.js";
@@ -62,7 +62,7 @@ import { default as So } from "./Header.js";
62
62
  import { default as Bo } from "./PageLayout.js";
63
63
  import { default as Co } from "./Sidebar.js";
64
64
  import { default as bo } from "./Tabs.js";
65
- import { default as Fo } from "./TabItem.js";
65
+ import { default as To } from "./TabItem.js";
66
66
  import { default as wo } from "./Accordion.js";
67
67
  import { default as Ao } from "./AccordionSummary.js";
68
68
  import { default as vo } from "./AccordionDetails.js";
@@ -89,7 +89,7 @@ import { default as St } from "./TreeMenuSeparator.js";
89
89
  import { default as Bt } from "./MasonryGeneralCardsSection.js";
90
90
  import { default as Ct } from "./DetailedProductsSection.js";
91
91
  import { default as bt } from "./DetailedProductsInfinitiveSection.js";
92
- import { default as Ft } from "./ProductsWithBannerSection.js";
92
+ import { default as Tt } from "./ProductsWithBannerSection.js";
93
93
  import { default as wt } from "./SimpleProductsSection.js";
94
94
  import { default as At } from "./UrgentSaleProductsSection.js";
95
95
  import { default as vt } from "./BannerSectionCarousel.js";
@@ -116,7 +116,7 @@ import { default as Sr } from "./BlogListSection.js";
116
116
  import { default as Br } from "./AdBannerSection.js";
117
117
  import { default as Cr } from "./QuattroCardsSection.js";
118
118
  import { default as br } from "./FeedbackSection.js";
119
- import { default as Fr } from "./HelpBannerSection.js";
119
+ import { default as Tr } from "./HelpBannerSection.js";
120
120
  import { default as wr } from "./ContactSection.js";
121
121
  import { default as Ar } from "./FaqSection.js";
122
122
  import { S as vr } from "./SearchSection-DAaMecR4.js";
@@ -125,8 +125,10 @@ import { default as Nr } from "./ToggleSection.js";
125
125
  import { default as Wr } from "./BlogExploreSection.js";
126
126
  import { default as yr } from "./BlogImagePathSection.js";
127
127
  import { default as Rr } from "./BannerNextSection.js";
128
- import { default as Er, useTheme as Qr } from "./ThemeProvider.js";
129
- import { c as qr } from "./CustomStyles-DtWxboEM.js";
128
+ import { default as Er } from "./PartnerStatsSection.js";
129
+ import { default as Ur } from "./PartnerBrandsSection.js";
130
+ import { default as zr, useTheme as jr } from "./ThemeProvider.js";
131
+ import { c as Xr } from "./CustomStyles-DtWxboEM.js";
130
132
  export {
131
133
  wo as Accordion,
132
134
  vo as AccordionDetails,
@@ -194,16 +196,16 @@ export {
194
196
  no as Grid,
195
197
  io as GridItem,
196
198
  So as Header,
197
- Fr as HelpBannerSection,
199
+ Tr as HelpBannerSection,
198
200
  De as Icon,
199
- Te as IconButton,
201
+ Pe as IconButton,
200
202
  O as Kanban,
201
203
  Z as KanbanActionsToolbar,
202
204
  Q as KanbanCard,
203
205
  j as KanbanFooter,
204
206
  q as KanbanHeader,
205
207
  X as KanbanView,
206
- Pe as Link,
208
+ Fe as Link,
207
209
  Bt as MasonryGeneralCardsSection,
208
210
  nt as MenuItem,
209
211
  zo as Modal,
@@ -217,6 +219,8 @@ export {
217
219
  c as NumberInput,
218
220
  Bo as PageLayout,
219
221
  Jo as Pagination,
222
+ Ur as PartnerBrandsSection,
223
+ Er as PartnerStatsSection,
220
224
  g as PasswordInput,
221
225
  Yo as Popover,
222
226
  _o as PopoverClose,
@@ -224,7 +228,7 @@ export {
224
228
  dt as PopoverDescription,
225
229
  et as PopoverHeading,
226
230
  at as PopoverTrigger,
227
- Ft as ProductsWithBannerSection,
231
+ Tt as ProductsWithBannerSection,
228
232
  xe as ProgressBar,
229
233
  Cr as QuattroCardsSection,
230
234
  tr as QuizSection,
@@ -242,13 +246,13 @@ export {
242
246
  Lr as StatsSection,
243
247
  he as Surface,
244
248
  lt as SwipeableDrawer,
245
- Fo as TabItem,
249
+ To as TabItem,
246
250
  $ as Table,
247
251
  oe as TableView,
248
252
  bo as Tabs,
249
- T as TextAreaInput,
250
- P as TextInput,
251
- Er as ThemeProvider,
253
+ P as TextAreaInput,
254
+ F as TextInput,
255
+ zr as ThemeProvider,
252
256
  h as TimeInput,
253
257
  Xe as Toggle,
254
258
  Nr as ToggleSection,
@@ -256,7 +260,7 @@ export {
256
260
  St as TreeMenuSeparator,
257
261
  Me as UploadedFile,
258
262
  At as UrgentSaleProductsSection,
259
- qr as components,
263
+ Xr as components,
260
264
  s as registerLocale,
261
- Qr as useTheme
265
+ jr as useTheme
262
266
  };
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),r=require("./utils-RnrgDDZP.cjs"),i=t.styled.div`
1
+ "use strict";const r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),t=require("./utils-RnrgDDZP.cjs"),i=r.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: 1.5rem;
@@ -37,7 +37,7 @@
37
37
  }
38
38
  }
39
39
  }
40
- `,n=t.styled.div`
40
+ `,n=r.styled.div`
41
41
  display: flex;
42
42
  flex-direction: column;
43
43
  gap: 0.75rem;
@@ -55,10 +55,10 @@
55
55
  display: flex;
56
56
  gap: 0.5rem;
57
57
  align-items: center;
58
- ${r.truncateText()}
58
+ ${t.truncateText()}
59
59
 
60
60
  & span {
61
- ${r.truncateText()}
61
+ ${t.truncateText()}
62
62
  }
63
63
  }
64
64
 
@@ -78,7 +78,7 @@
78
78
  padding-bottom: 0.5rem;
79
79
  }
80
80
  }
81
- `,s=e=>(e==null?void 0:e.toLowerCase())=="success"?"color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);":(e==null?void 0:e.toLowerCase())=="warning"?"color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);":(e==null?void 0:e.toLowerCase())=="info"?"color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);":(e==null?void 0:e.toLowerCase())=="danger"?"color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);":(e==null?void 0:e.toLowerCase())=="secondary"?"color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);":"color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);",o=t.styled.div`
81
+ `,o=e=>(e==null?void 0:e.toLowerCase())=="success"?"color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);":(e==null?void 0:e.toLowerCase())=="warning"?"color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);":(e==null?void 0:e.toLowerCase())=="info"?"color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);":(e==null?void 0:e.toLowerCase())=="danger"?"color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);":(e==null?void 0:e.toLowerCase())=="secondary"?"color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);":"color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);",s=r.styled.div`
82
82
  font-size: 0.75rem;
83
83
  font-weight: 500;
84
84
  padding: 0 0.5rem;
@@ -88,6 +88,36 @@
88
88
  border-radius: 0.25rem;
89
89
  display: flex;
90
90
  max-width: 12.5rem;
91
- ${e=>s(e.color)}
92
- ${r.truncateText()}
93
- `;exports.BlogTag=o;exports.RegulatTitleSectionWrapper=i;exports.TitleWithOptionsSectionWrapper=n;
91
+ ${e=>o(e.color)}
92
+ ${t.truncateText()}
93
+ `,d=r.styled.div`
94
+ display: flex;
95
+ justify-content: space-between;
96
+
97
+ & .heading__title {
98
+ color: var(--gray-950, #14161a);
99
+ font-weight: 600;
100
+ font-size: 1.5rem;
101
+ line-height: 2rem;
102
+ letter-spacing: -0.0294rem;
103
+
104
+ & i {
105
+ font-size: 1.5rem;
106
+ color: var(--primary-500, #f59e0b);
107
+ }
108
+ }
109
+
110
+ & .heading__action {
111
+ /* color: var(--gray-950, #14161a);
112
+ background: var(--neutral-9504, rgba(20, 22, 26, 0.04)); */
113
+ white-space: nowrap;
114
+
115
+ /* &:hover {
116
+ background: var(--neutral-9504, rgba(20, 22, 26, 0.12));
117
+ } */
118
+
119
+ &:focus {
120
+ outline: none;
121
+ }
122
+ }
123
+ `;exports.BlogTag=s;exports.RegulatTitleSectionWrapper=i;exports.SectionHeadingContainer=d;exports.TitleWithOptionsSectionWrapper=n;
@@ -1,7 +1,7 @@
1
- import { s as a } from "./emotion-styled.browser.esm-BNN1dTl3.js";
1
+ import { s as r } from "./emotion-styled.browser.esm-BNN1dTl3.js";
2
2
  import { M as t } from "./consts-BuFChS64.js";
3
- import { t as r } from "./utils-DtEfC-TX.js";
4
- const o = a.div`
3
+ import { t as a } from "./utils-DtEfC-TX.js";
4
+ const d = r.div`
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  gap: 1.5rem;
@@ -40,7 +40,7 @@ const o = a.div`
40
40
  }
41
41
  }
42
42
  }
43
- `, f = a.div`
43
+ `, g = r.div`
44
44
  display: flex;
45
45
  flex-direction: column;
46
46
  gap: 0.75rem;
@@ -58,10 +58,10 @@ const o = a.div`
58
58
  display: flex;
59
59
  gap: 0.5rem;
60
60
  align-items: center;
61
- ${r()}
61
+ ${a()}
62
62
 
63
63
  & span {
64
- ${r()}
64
+ ${a()}
65
65
  }
66
66
  }
67
67
 
@@ -81,7 +81,7 @@ const o = a.div`
81
81
  padding-bottom: 0.5rem;
82
82
  }
83
83
  }
84
- `, i = (e) => (e == null ? void 0 : e.toLowerCase()) == "success" ? "color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);" : (e == null ? void 0 : e.toLowerCase()) == "warning" ? "color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);" : (e == null ? void 0 : e.toLowerCase()) == "info" ? "color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);" : (e == null ? void 0 : e.toLowerCase()) == "danger" ? "color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);" : (e == null ? void 0 : e.toLowerCase()) == "secondary" ? "color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);" : "color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);", g = a.div`
84
+ `, i = (e) => (e == null ? void 0 : e.toLowerCase()) == "success" ? "color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);" : (e == null ? void 0 : e.toLowerCase()) == "warning" ? "color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);" : (e == null ? void 0 : e.toLowerCase()) == "info" ? "color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);" : (e == null ? void 0 : e.toLowerCase()) == "danger" ? "color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);" : (e == null ? void 0 : e.toLowerCase()) == "secondary" ? "color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);" : "color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);", f = r.div`
85
85
  font-size: 0.75rem;
86
86
  font-weight: 500;
87
87
  padding: 0 0.5rem;
@@ -92,10 +92,41 @@ const o = a.div`
92
92
  display: flex;
93
93
  max-width: 12.5rem;
94
94
  ${(e) => i(e.color)}
95
- ${r()}
95
+ ${a()}
96
+ `, l = r.div`
97
+ display: flex;
98
+ justify-content: space-between;
99
+
100
+ & .heading__title {
101
+ color: var(--gray-950, #14161a);
102
+ font-weight: 600;
103
+ font-size: 1.5rem;
104
+ line-height: 2rem;
105
+ letter-spacing: -0.0294rem;
106
+
107
+ & i {
108
+ font-size: 1.5rem;
109
+ color: var(--primary-500, #f59e0b);
110
+ }
111
+ }
112
+
113
+ & .heading__action {
114
+ /* color: var(--gray-950, #14161a);
115
+ background: var(--neutral-9504, rgba(20, 22, 26, 0.04)); */
116
+ white-space: nowrap;
117
+
118
+ /* &:hover {
119
+ background: var(--neutral-9504, rgba(20, 22, 26, 0.12));
120
+ } */
121
+
122
+ &:focus {
123
+ outline: none;
124
+ }
125
+ }
96
126
  `;
97
127
  export {
98
- g as B,
99
- o as R,
100
- f as T
128
+ f as B,
129
+ d as R,
130
+ l as S,
131
+ g as T
101
132
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lanaco/lnc-react-ui",
3
- "version": "4.0.200",
3
+ "version": "4.0.201",
4
4
  "description": "React component library",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -167,7 +167,9 @@
167
167
  "./ToggleSection": "./dist/ToggleSection.js",
168
168
  "./BlogExploreSection": "./dist/BlogExploreSection.js",
169
169
  "./BlogImagePathSection": "./dist/BlogImagePathSection.js",
170
- "./BannerNextSection": "./dist/BannerNextSection.js"
170
+ "./BannerNextSection": "./dist/BannerNextSection.js",
171
+ "./PartnerStatsSection": "./dist/PartnerStatsSection.js",
172
+ "./PartnerBrandsSection": "./dist/PartnerBrandsSection.js"
171
173
  },
172
174
  "dependencies": {
173
175
  "@dnd-kit/core": "^6.0.5",
package/vite.config.js CHANGED
@@ -351,6 +351,14 @@ export default defineConfig({
351
351
  __dirname,
352
352
  "src/Landing Sections/banners-sections/banner-next-section/BannerNextSection.jsx",
353
353
  ),
354
+ resolve(
355
+ __dirname,
356
+ "src/Landing Sections/partner-sections/partner-stats-section/PartnerStatsSection.jsx",
357
+ ),
358
+ resolve(
359
+ __dirname,
360
+ "src/Landing Sections/partner-sections/partner-brands-section/PartnerBrandsSection.jsx",
361
+ ),
354
362
  ],
355
363
  name: "@lanaco/lnc-react-ui",
356
364
  fileName: (format, name) => {