@lanaco/lnc-react-ui 4.0.32 → 4.0.33

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 (186) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +1 -1
  3. package/dist/AccordionSummary.cjs +1 -1
  4. package/dist/AccordionSummary.js +1 -1
  5. package/dist/ActionsToolbar.cjs +1 -1
  6. package/dist/ActionsToolbar.js +1 -1
  7. package/dist/Alert.cjs +1 -1
  8. package/dist/Alert.js +1 -1
  9. package/dist/Avatar.cjs +1 -1
  10. package/dist/Avatar.js +1 -1
  11. package/dist/Badge.cjs +1 -1
  12. package/dist/Badge.js +1 -1
  13. package/dist/BannerSectionWithList.cjs +1 -1
  14. package/dist/BannerSectionWithList.js +1 -1
  15. package/dist/BlogsSectionDetailed.cjs +111 -0
  16. package/dist/BlogsSectionDetailed.js +224 -0
  17. package/dist/BlogsSectionLarge.cjs +101 -0
  18. package/dist/BlogsSectionLarge.js +177 -0
  19. package/dist/BlogsSectionSimple.cjs +71 -0
  20. package/dist/BlogsSectionSimple.js +158 -0
  21. package/dist/BlogsSectionSimpleCentered.cjs +78 -0
  22. package/dist/BlogsSectionSimpleCentered.js +149 -0
  23. package/dist/BlogsSectionWithFilters.cjs +173 -0
  24. package/dist/BlogsSectionWithFilters.js +559 -0
  25. package/dist/BrandHitsSection.cjs +11 -7
  26. package/dist/BrandHitsSection.js +9 -5
  27. package/dist/Breadcrumbs.cjs +1 -1
  28. package/dist/Breadcrumbs.js +1 -1
  29. package/dist/Button.cjs +1 -1
  30. package/dist/Button.js +1 -1
  31. package/dist/ButtonGroup.cjs +1 -1
  32. package/dist/ButtonGroup.js +1 -1
  33. package/dist/CheckBoxInput.cjs +1 -1
  34. package/dist/CheckBoxInput.js +1 -1
  35. package/dist/Chip.cjs +1 -1
  36. package/dist/Chip.js +1 -1
  37. package/dist/ColorInput.cjs +1 -1
  38. package/dist/ColorInput.js +1 -1
  39. package/dist/ConfirmationForm.cjs +1 -1
  40. package/dist/ConfirmationForm.js +1 -1
  41. package/dist/CustomLoanMapSection.cjs +240 -0
  42. package/dist/CustomLoanMapSection.js +410 -0
  43. package/dist/{CustomStyles-DuADCM-0.js → CustomStyles-C45a_Y92.js} +1 -1
  44. package/dist/{CustomStyles-CBON9fD-.cjs → CustomStyles-jdvxQvK1.cjs} +1 -1
  45. package/dist/DateInput.cjs +1 -1
  46. package/dist/DateInput.js +1 -1
  47. package/dist/DecimalInput.cjs +1 -1
  48. package/dist/DecimalInput.js +1 -1
  49. package/dist/DecimalInputV2.cjs +1 -1
  50. package/dist/DecimalInputV2.js +1 -1
  51. package/dist/DetailedProductsSection.cjs +1 -1
  52. package/dist/DetailedProductsSection.js +3 -3
  53. package/dist/DetailsView.cjs +1 -1
  54. package/dist/DetailsView.js +1 -1
  55. package/dist/DoubleRangeSlider.cjs +1 -1
  56. package/dist/DoubleRangeSlider.js +1 -1
  57. package/dist/DragAndDropFile.cjs +1 -1
  58. package/dist/DragAndDropFile.js +1 -1
  59. package/dist/DragDropFiles.cjs +1 -1
  60. package/dist/DragDropFiles.js +1 -1
  61. package/dist/Drawer.cjs +1 -1
  62. package/dist/Drawer.js +1 -1
  63. package/dist/Dropdown.cjs +1 -1
  64. package/dist/Dropdown.js +2 -2
  65. package/dist/DropdownItem.cjs +1 -1
  66. package/dist/DropdownItem.js +1 -1
  67. package/dist/DropdownLookup.cjs +1 -1
  68. package/dist/DropdownLookup.js +1 -1
  69. package/dist/DropdownMenu.cjs +1 -1
  70. package/dist/DropdownMenu.js +1 -1
  71. package/dist/EditableTable.cjs +1 -1
  72. package/dist/EditableTable.js +1 -1
  73. package/dist/FieldOfInterestsMasonrySection.cjs +7 -7
  74. package/dist/FieldOfInterestsMasonrySection.js +23 -23
  75. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +11 -7
  76. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +62 -58
  77. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +37 -17
  78. package/dist/FieldOfInterestsWithTagsCardsSection.js +68 -48
  79. package/dist/FileInput.cjs +1 -1
  80. package/dist/FileInput.js +1 -1
  81. package/dist/FlexGridItem.cjs +1 -1
  82. package/dist/FlexGridItem.js +1 -1
  83. package/dist/FormField.cjs +1 -1
  84. package/dist/FormField.js +1 -1
  85. package/dist/FormView.cjs +1 -1
  86. package/dist/FormView.js +1 -1
  87. package/dist/GeneralWithTagsCardsSection.cjs +198 -0
  88. package/dist/GeneralWithTagsCardsSection.js +287 -0
  89. package/dist/GiftCardsSection.cjs +11 -7
  90. package/dist/GiftCardsSection.js +34 -30
  91. package/dist/Icon.cjs +1 -1
  92. package/dist/Icon.js +1 -1
  93. package/dist/IconButton.cjs +1 -1
  94. package/dist/IconButton.js +1 -1
  95. package/dist/Kanban.cjs +1 -1
  96. package/dist/Kanban.js +1 -1
  97. package/dist/KanbanActionsToolbar.cjs +1 -1
  98. package/dist/KanbanActionsToolbar.js +1 -1
  99. package/dist/KanbanView.cjs +1 -1
  100. package/dist/KanbanView.js +1 -1
  101. package/dist/Link.cjs +1 -1
  102. package/dist/Link.js +1 -1
  103. package/dist/MasonryGeneralCardsSection.cjs +6 -6
  104. package/dist/MasonryGeneralCardsSection.js +38 -36
  105. package/dist/MenuItem.cjs +1 -1
  106. package/dist/MenuItem.js +1 -1
  107. package/dist/Modal.cjs +1 -1
  108. package/dist/Modal.js +1 -1
  109. package/dist/MultiSelectDropdown.cjs +1 -1
  110. package/dist/MultiSelectDropdown.js +1 -1
  111. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  112. package/dist/MultiSelectDropdownLookup.js +1 -1
  113. package/dist/NestedDropdownItem.cjs +1 -1
  114. package/dist/NestedDropdownItem.js +1 -1
  115. package/dist/NestedMenuItem.cjs +1 -1
  116. package/dist/NestedMenuItem.js +1 -1
  117. package/dist/NotificationContainer.cjs +1 -1
  118. package/dist/NotificationContainer.js +1 -1
  119. package/dist/NotificationMessage.cjs +1 -1
  120. package/dist/NotificationMessage.js +1 -1
  121. package/dist/NumberInput.cjs +1 -1
  122. package/dist/NumberInput.js +1 -1
  123. package/dist/OverlayGeneralCardsSection.cjs +127 -0
  124. package/dist/OverlayGeneralCardsSection.js +183 -0
  125. package/dist/PasswordInput.cjs +1 -1
  126. package/dist/PasswordInput.js +1 -1
  127. package/dist/PopoverContent.cjs +1 -1
  128. package/dist/PopoverContent.js +1 -1
  129. package/dist/ProductsWithBannerSection.cjs +1 -1
  130. package/dist/ProductsWithBannerSection.js +2 -2
  131. package/dist/ProgressBar.cjs +1 -1
  132. package/dist/ProgressBar.js +1 -1
  133. package/dist/RadioInput.cjs +1 -1
  134. package/dist/RadioInput.js +1 -1
  135. package/dist/RangeSlider.cjs +1 -1
  136. package/dist/RangeSlider.js +1 -1
  137. package/dist/Separator.cjs +1 -1
  138. package/dist/Separator.js +1 -1
  139. package/dist/ShopCardsSection.cjs +8 -8
  140. package/dist/ShopCardsSection.js +49 -49
  141. package/dist/Sidebar.cjs +1 -1
  142. package/dist/Sidebar.js +1 -1
  143. package/dist/SimpleCategoriesSection.cjs +81 -0
  144. package/dist/SimpleCategoriesSection.js +153 -0
  145. package/dist/SimpleProductsSection.cjs +1 -1
  146. package/dist/SimpleProductsSection.js +1 -1
  147. package/dist/Spinner.cjs +1 -1
  148. package/dist/Spinner.js +1 -1
  149. package/dist/Surface.cjs +1 -1
  150. package/dist/Surface.js +1 -1
  151. package/dist/SwipeableDrawer.cjs +1 -1
  152. package/dist/SwipeableDrawer.js +1 -1
  153. package/dist/TabItem.cjs +1 -1
  154. package/dist/TabItem.js +1 -1
  155. package/dist/Table.cjs +1 -1
  156. package/dist/Table.js +1 -1
  157. package/dist/TableView.cjs +1 -1
  158. package/dist/TableView.js +1 -1
  159. package/dist/TextAreaInput.cjs +1 -1
  160. package/dist/TextAreaInput.js +1 -1
  161. package/dist/TextInput.cjs +1 -1
  162. package/dist/TextInput.js +1 -1
  163. package/dist/ThemeProvider.cjs +1 -1
  164. package/dist/ThemeProvider.js +1 -1
  165. package/dist/TimeInput.cjs +1 -1
  166. package/dist/TimeInput.js +1 -1
  167. package/dist/Toggle.cjs +1 -1
  168. package/dist/Toggle.js +1 -1
  169. package/dist/TreeMenuSeparator.cjs +1 -1
  170. package/dist/TreeMenuSeparator.js +1 -1
  171. package/dist/UploadedFile.cjs +1 -1
  172. package/dist/UploadedFile.js +1 -1
  173. package/dist/UrgentSaleProductsSection.cjs +1 -1
  174. package/dist/UrgentSaleProductsSection.js +1 -1
  175. package/dist/{index-jVpIwR2G.js → index-BfOdDcQF.js} +1 -1
  176. package/dist/{index-BlV3tdJ8.cjs → index-CC_hdGKn.cjs} +1 -1
  177. package/dist/{index-DGl-lSfF.js → index-DZxSlQJQ.js} +1 -1
  178. package/dist/{index-LdP7U1Yl.cjs → index-Dld_cRbm.cjs} +1 -1
  179. package/dist/index.cjs +1 -1
  180. package/dist/index.js +25 -23
  181. package/dist/{style-C3OB0uad.cjs → style-CeMnBJ6v.cjs} +4 -4
  182. package/dist/{style-Ch-xOasu.js → style-D6sNCRwG.js} +6 -7
  183. package/dist/{utils-CE6bljYe.cjs → utils-UJt-R-G3.cjs} +7 -7
  184. package/dist/{utils-DtEdJZWa.js → utils-xpQsPsCa.js} +33 -33
  185. package/package.json +13 -3
  186. package/vite.config.js +36 -0
@@ -1,11 +1,11 @@
1
1
  import { jsx as i, jsxs as l } from "react/jsx-runtime";
2
- import { forwardRef as m } from "react";
3
- import { n as p } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
- import { t as v, m as y, l as b } from "./utils-DtEdJZWa.js";
5
- import $ from "./Icon.js";
6
- import { u as k } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
2
+ import { forwardRef as p } from "react";
3
+ import { n as m } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
+ import { t as v, m as y, l as b } from "./utils-xpQsPsCa.js";
5
+ import k from "./Icon.js";
6
+ import { u as $ } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  import { M as N } from "./consts-DNVz1x1I.js";
8
- const W = p.div`
8
+ const C = m.div`
9
9
  display: flex;
10
10
  flex-direction: column;
11
11
  align-items: flex-start;
@@ -15,6 +15,10 @@ const W = p.div`
15
15
  border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
16
16
  background: var(--Lanaco-Gray-white, #fff);
17
17
 
18
+ &:hover {
19
+ cursor: pointer;
20
+ }
21
+
18
22
  /* drop-shadow-sm */
19
23
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
20
24
 
@@ -35,7 +39,7 @@ const W = p.div`
35
39
  align-self: stretch;
36
40
 
37
41
  & .wrapper__title {
38
- color: var(--gray-950);
42
+ color: var(--gray-950, #14161a);
39
43
  font-size: 1rem;
40
44
  font-style: normal;
41
45
  font-weight: 500;
@@ -44,7 +48,7 @@ const W = p.div`
44
48
  }
45
49
 
46
50
  & .wrapper__description {
47
- color: var(--gray-600);
51
+ color: var(--gray-600, #676e79);
48
52
  font-size: 0.75rem;
49
53
  font-style: normal;
50
54
  font-weight: 400;
@@ -53,22 +57,26 @@ const W = p.div`
53
57
  ${v(2)}
54
58
  }
55
59
  }
56
- `, I = p.div`
60
+ `, I = m.div`
57
61
  width: 100%;
58
62
  height: 11.625rem;
59
63
  border-radius: 0.75rem;
60
64
  background: ${y("-90deg")};
61
- `, C = p.div`
65
+ `, W = m.div`
62
66
  display: flex;
63
- padding: 0 0.75rem 0 0;
67
+ padding: 0 0.5rem 0 0;
64
68
  align-items: center;
69
+ justify-content: center;
65
70
  background: var(--neutral-9504, rgba(20, 22, 26, 0.04));
66
71
  border-radius: 999px;
67
72
 
73
+ &:hover {
74
+ cursor: pointer;
75
+ }
76
+
68
77
  & .wrapper__icon {
69
78
  font-size: 1.75rem;
70
79
  color: var(--gray-950, #14161a);
71
- background: var(--gray-200);
72
80
  border-radius: 999px;
73
81
  width: 2.75rem;
74
82
  height: 2.75rem;
@@ -98,22 +106,22 @@ const W = p.div`
98
106
  color: var(--white, #fff);
99
107
  }
100
108
  }
101
- `, T = p.div`
109
+ `, F = m.div`
102
110
  width: 7rem;
103
111
  height: 3rem;
104
112
  border-radius: 999px;
105
113
  background: ${y("-90deg")};
106
- `, j = m(({}, r) => /* @__PURE__ */ i(T, {})), z = m(
114
+ `, j = p(({}, r) => /* @__PURE__ */ i(F, {})), z = p(
107
115
  ({ text: r, isActive: n, icon: t, onSelectCard: s = () => {
108
- } }, f) => /* @__PURE__ */ l(C, { className: n ? "active" : "", onClick: s, children: [
109
- /* @__PURE__ */ i($, { icon: t, className: "wrapper__icon" }),
116
+ } }, d) => /* @__PURE__ */ l(W, { className: n ? "active" : "", onClick: s, children: [
117
+ /* @__PURE__ */ i(k, { icon: t, className: "wrapper__icon" }),
110
118
  /* @__PURE__ */ i("div", { className: "wrapper__text", children: r })
111
119
  ] })
112
- ), F = m(
113
- ({ image: r, imageComponent: n, title: t, description: s, onSelectCard: f = () => {
114
- } }, w) => {
115
- const { theme: d } = k();
116
- return /* @__PURE__ */ l(W, { theme: d, onClick: f, children: [
120
+ ), O = p(
121
+ ({ image: r, imageComponent: n, title: t, description: s, onSelectCard: d = () => {
122
+ } }, g) => {
123
+ const { theme: f } = $();
124
+ return /* @__PURE__ */ l(C, { theme: f, onClick: d, children: [
117
125
  b(n) ? n : /* @__PURE__ */ i("img", { src: r, className: "wrapper__image" }),
118
126
  /* @__PURE__ */ l("div", { className: "wrapper__content", children: [
119
127
  t && /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
@@ -121,7 +129,7 @@ const W = p.div`
121
129
  ] })
122
130
  ] });
123
131
  }
124
- ), O = m(({}, r) => /* @__PURE__ */ i(I, {})), A = p.div`
132
+ ), T = p(({}, r) => /* @__PURE__ */ i(I, {})), M = m.div`
125
133
  display: flex;
126
134
  flex-direction: column;
127
135
  align-items: center;
@@ -154,9 +162,8 @@ const W = p.div`
154
162
  }
155
163
 
156
164
  & .wrapper__tags {
157
- display: grid;
158
- grid-template-columns: ${(r) => `repeat(${r == null ? void 0 : r.limitTags}, minmax(0, 1fr))`};
159
- justify-content: center;
165
+ display: flex;
166
+ justify-items: center;
160
167
  align-items: center;
161
168
  gap: 0.75rem;
162
169
  }
@@ -172,10 +179,23 @@ const W = p.div`
172
179
 
173
180
  @media (max-width: ${N + "px"}) {
174
181
  & .wrapper__tags {
175
- display: flex;
176
182
  overflow-x: scroll;
177
183
  justify-content: flex-start;
178
184
  width: 100%;
185
+
186
+ -webkit-overflow-scrolling: touch;
187
+ ::-webkit-scrollbar {
188
+ -webkit-appearance: none;
189
+ }
190
+ -ms-overflow-style: none;
191
+ /* Internet Explorer 10+ */
192
+ scrollbar-width: none;
193
+ /* Firefox */
194
+
195
+ &::-webkit-scrollbar {
196
+ display: none;
197
+ /* Safari and Chrome */
198
+ }
179
199
  }
180
200
 
181
201
  & .wrapper__cards {
@@ -183,34 +203,34 @@ const W = p.div`
183
203
  gap: 1rem;
184
204
  }
185
205
  }
186
- `, X = m(
206
+ `, X = p(
187
207
  ({
188
208
  title: r,
189
209
  subtitle: n,
190
210
  tags: t = [],
191
211
  limitTags: s = 7,
192
- limitTagsForMobile: f = 7,
193
- limitCards: w = 3,
194
- limitCardsForMobile: d = 2,
195
- cards: a = [],
196
- onSelectTag: h = () => {
212
+ limitTagsForMobile: d = 7,
213
+ limit: g = 3,
214
+ limitForMobile: f = 2,
215
+ items: a = [],
216
+ onSelectTag: c = () => {
197
217
  },
198
- onSelectCard: _ = () => {
218
+ onSelectCard: h = () => {
199
219
  }
200
- }, M) => {
201
- var x, u;
202
- const c = (e) => {
220
+ }, A) => {
221
+ var u, x;
222
+ const _ = (e) => {
223
+ c == null || c(e == null ? void 0 : e.uuid);
224
+ }, w = (e) => {
203
225
  h == null || h(e == null ? void 0 : e.uuid);
204
- }, g = (e) => {
205
- _ == null || _(e == null ? void 0 : e.uuid);
206
226
  };
207
227
  return /* @__PURE__ */ l(
208
- A,
228
+ M,
209
229
  {
210
230
  limitTags: s,
211
- limitTagsForMobile: f,
212
- limitCards: w,
213
- limitCardsForMobile: d,
231
+ limitTagsForMobile: d,
232
+ limitCards: g,
233
+ limitCardsForMobile: f,
214
234
  children: [
215
235
  /* @__PURE__ */ l("div", { className: "wrapper__heading", children: [
216
236
  r && /* @__PURE__ */ i("div", { className: "wrapper__title", children: r }),
@@ -221,26 +241,26 @@ const W = p.div`
221
241
  {
222
242
  icon: e == null ? void 0 : e.icon,
223
243
  text: e == null ? void 0 : e.text,
224
- onSelectCard: () => c == null ? void 0 : c(e)
244
+ onSelectCard: () => _ == null ? void 0 : _(e)
225
245
  },
226
246
  `field-of-interests-with-tags-card-tag__${o + 1}`
227
- )) : (x = Array.from("123")) == null ? void 0 : x.map((e, o) => /* @__PURE__ */ i(
247
+ )) : (u = Array.from("123")) == null ? void 0 : u.map((e, o) => /* @__PURE__ */ i(
228
248
  j,
229
249
  {},
230
250
  `field-of-interests-with-tags-card-tag-skeleton__${o + 1}`
231
251
  )) }),
232
252
  /* @__PURE__ */ i("div", { className: "wrapper__cards", children: a && (a == null ? void 0 : a.length) > 0 ? a == null ? void 0 : a.map((e, o) => /* @__PURE__ */ i(
233
- F,
253
+ O,
234
254
  {
235
255
  image: e == null ? void 0 : e.image,
236
256
  imageComponent: e == null ? void 0 : e.imageComponent,
237
257
  title: e == null ? void 0 : e.title,
238
258
  description: e == null ? void 0 : e.description,
239
- onSelectCard: () => g == null ? void 0 : g(e == null ? void 0 : e.uuid)
259
+ onSelectCard: () => w == null ? void 0 : w(e == null ? void 0 : e.uuid)
240
260
  },
241
261
  `field-of-interests-with-tags-card__${o + 1}`
242
- )) : (u = Array.from("123")) == null ? void 0 : u.map((e, o) => /* @__PURE__ */ i(
243
- O,
262
+ )) : (x = Array.from("123")) == null ? void 0 : x.map((e, o) => /* @__PURE__ */ i(
263
+ T,
244
264
  {},
245
265
  `field-of-interests-with-tags-card-skeleton__${o + 1}`
246
266
  )) })
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("react/jsx-runtime"),g=require("react"),b=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./index-BPVoEhTF.cjs"),r=require("./utils-CE6bljYe.cjs"),j=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),k=b.newStyled.label`
1
+ "use strict";const c=require("react/jsx-runtime"),g=require("react"),b=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./index-BPVoEhTF.cjs"),r=require("./utils-UJt-R-G3.cjs"),j=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),k=b.newStyled.label`
2
2
  display: inline-flex;
3
3
  box-sizing: border-box;
4
4
  width: 100%;
package/dist/FileInput.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as S, jsx as m } from "react/jsx-runtime";
2
2
  import { forwardRef as R, useState as g } from "react";
3
3
  import { n as c } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
4
  import { P as t } from "./index-S5Cd7WrG.js";
5
- import { d as y, a as r, e as V, g as x, h as p } from "./utils-DtEdJZWa.js";
5
+ import { d as y, a as r, e as V, g as x, h as p } from "./utils-xpQsPsCa.js";
6
6
  import { u as B } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  const D = c.label`
8
8
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- "use strict";const X=require("react/jsx-runtime"),i=require("react"),n=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),q=require("./utils-CE6bljYe.cjs"),$=g.newStyled.div`
1
+ "use strict";const X=require("react/jsx-runtime"),i=require("react"),n=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),q=require("./utils-UJt-R-G3.cjs"),$=g.newStyled.div`
2
2
  ${s=>s.width>0?"":"flex: 1;"}
3
3
  min-width: ${s=>100/s.columns}%;
4
4
  width: ${s=>s.width}%;
@@ -2,7 +2,7 @@ import { jsx as y } from "react/jsx-runtime";
2
2
  import { forwardRef as N, useState as S, useEffect as b } from "react";
3
3
  import { P as i } from "./index-S5Cd7WrG.js";
4
4
  import { n as I } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
- import { u as M } from "./utils-DtEdJZWa.js";
5
+ import { u as M } from "./utils-xpQsPsCa.js";
6
6
  const W = I.div`
7
7
  ${(t) => t.width > 0 ? "" : "flex: 1;"}
8
8
  min-width: ${(t) => 100 / t.columns}%;
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime"),r=require("./index-BPVoEhTF.cjs"),a=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-CE6bljYe.cjs"),b=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),g=a.newStyled.label`
1
+ "use strict";const s=require("react/jsx-runtime"),r=require("./index-BPVoEhTF.cjs"),a=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-UJt-R-G3.cjs"),b=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),g=a.newStyled.label`
2
2
  display: block;
3
3
  margin-bottom: 4px;
4
4
  ${e=>o.getComponentTypographyCss(e.theme,"FormField",e.size,"enabled")}
package/dist/FormField.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsxs as b, jsx as s } from "react/jsx-runtime";
2
2
  import { P as l } from "./index-S5Cd7WrG.js";
3
3
  import { n as m } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
- import { g as i, a as n } from "./utils-DtEdJZWa.js";
4
+ import { g as i, a as n } from "./utils-xpQsPsCa.js";
5
5
  import { u as g } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
6
6
  const f = m.label`
7
7
  display: block;
package/dist/FormView.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),W=require("react"),r=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),$=require("./FlexGrid.cjs"),M=require("./FlexGridItem.cjs"),b=require("./Button.cjs"),m=require("./IconButton.cjs"),Y=require("./TextInput.cjs"),U=require("./CheckBoxInput.cjs"),H=require("./RadioGroup.cjs"),J=require("./NumberInput.cjs"),K=require("./DecimalInput.cjs"),L=require("./PasswordInput.cjs"),Q=require("./TextAreaInput.cjs"),X=require("./TimeInput.cjs"),Z=require("./ColorInput.cjs"),z=require("./FileInput.cjs"),ee=require("./RangeSlider.cjs"),x=require("./utils-CE6bljYe.cjs"),re=require("./FormField.cjs"),te=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),oe=g.newStyled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),W=require("react"),r=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),$=require("./FlexGrid.cjs"),M=require("./FlexGridItem.cjs"),b=require("./Button.cjs"),m=require("./IconButton.cjs"),Y=require("./TextInput.cjs"),U=require("./CheckBoxInput.cjs"),H=require("./RadioGroup.cjs"),J=require("./NumberInput.cjs"),K=require("./DecimalInput.cjs"),L=require("./PasswordInput.cjs"),Q=require("./TextAreaInput.cjs"),X=require("./TimeInput.cjs"),Z=require("./ColorInput.cjs"),z=require("./FileInput.cjs"),ee=require("./RangeSlider.cjs"),x=require("./utils-UJt-R-G3.cjs"),re=require("./FormField.cjs"),te=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),oe=g.newStyled.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  `,se=g.newStyled.form`
package/dist/FormView.js CHANGED
@@ -17,7 +17,7 @@ import X from "./TimeInput.js";
17
17
  import Z from "./ColorInput.js";
18
18
  import z from "./FileInput.js";
19
19
  import ee from "./RangeSlider.js";
20
- import { c as re, b as te, a as oe } from "./utils-DtEdJZWa.js";
20
+ import { c as re, b as te, a as oe } from "./utils-xpQsPsCa.js";
21
21
  import ae from "./FormField.js";
22
22
  import { u as ne } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
23
23
  const ie = y.div`
@@ -0,0 +1,198 @@
1
+ "use strict";const r=require("react/jsx-runtime"),s=require("react"),l=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),d=require("./consts-dNz9tpt4.cjs"),m=require("./utils-UJt-R-G3.cjs"),y=require("./Icon.cjs"),v=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),j=l.newStyled.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: flex-start;
5
+ flex-shrink: 0;
6
+ align-self: stretch;
7
+ border-radius: 0.75rem;
8
+ border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
9
+ background: var(--Lanaco-Gray-white, #fff);
10
+
11
+ &:hover {
12
+ cursor: pointer;
13
+ }
14
+
15
+ /* drop-shadow-sm */
16
+ box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
17
+
18
+ & .wrapper__image {
19
+ width: 100%;
20
+ object-fit: cover;
21
+ height: auto;
22
+ max-height: 19.5rem;
23
+ border-radius: 0.75rem 0.75rem 0 0;
24
+ }
25
+
26
+ & .wrapper__content {
27
+ display: flex;
28
+ padding: 1rem;
29
+ flex-direction: column;
30
+ align-items: flex-start;
31
+ gap: 1.25rem;
32
+ align-self: stretch;
33
+
34
+ & .wrapper__title {
35
+ color: var(--gray-950, #14161a);
36
+ font-size: 1rem;
37
+ font-style: normal;
38
+ font-weight: 500;
39
+ line-height: 1.5rem;
40
+ ${m.truncateTextInRows(2)}
41
+ }
42
+ }
43
+ @media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
44
+ background: transparent;
45
+ border: none;
46
+ box-shadow: none;
47
+ gap: 0.75rem;
48
+
49
+ & .wrapper__image {
50
+ border-radius: 999px;
51
+ aspect-ratio: 1 / 1;
52
+ }
53
+
54
+ & .wrapper__content {
55
+ align-items: center;
56
+ padding: 0;
57
+ text-align: center;
58
+
59
+ & .wrapper__title {
60
+ font-size: 0.875rem;
61
+ line-height: 1.25rem;
62
+ }
63
+ }
64
+ }
65
+ `,k=l.newStyled.div`
66
+ width: 100%;
67
+ height: 11.625rem;
68
+ border-radius: 0.75rem;
69
+ background: ${m.linearGradientAnimation("-90deg")};
70
+
71
+ @media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
72
+ width: 5rem;
73
+ height: 5rem;
74
+ border-radius: 999px;
75
+ }
76
+ `,$=l.newStyled.div`
77
+ display: flex;
78
+ padding: 0 0.5rem 0 0;
79
+ align-items: center;
80
+ justify-content: center;
81
+ background: var(--white, #fff);
82
+ border: 1px solid var(--neutral-95012, rgba(20, 22, 26, 0.12));
83
+ border-radius: 999px;
84
+ height: 2.5rem;
85
+
86
+ &:hover {
87
+ cursor: pointer;
88
+ }
89
+
90
+ & .wrapper__icon {
91
+ font-size: 1.5rem;
92
+ color: var(--gray-950, #14161a);
93
+ border-radius: 999px;
94
+ width: 2.5rem;
95
+ height: 2.5rem;
96
+
97
+ & i {
98
+ width: auto;
99
+ }
100
+ }
101
+
102
+ & .wrapper__text {
103
+ color: var(--gray-950, #14161a);
104
+ font-size: 0.875rem;
105
+ font-style: normal;
106
+ font-weight: 500;
107
+ line-height: 1.25rem;
108
+ letter-spacing: -0.09px;
109
+ }
110
+
111
+ @media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
112
+ & .wrapper__text {
113
+ white-space: nowrap;
114
+ }
115
+ }
116
+ `,I=l.newStyled.div`
117
+ width: 7rem;
118
+ height: 3rem;
119
+ border-radius: 999px;
120
+ background: ${m.linearGradientAnimation("-90deg")};
121
+ `,C=s.forwardRef(({},i)=>r.jsx(I,{})),E=s.forwardRef(({text:i,icon:n,onSelectCard:t=()=>{}},p)=>r.jsxs($,{onClick:t,children:[r.jsx(y,{icon:` ${n}`,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:i})]})),N=s.forwardRef(({image:i,imageComponent:n,title:t,onSelectCard:p=()=>{}},f)=>{const{theme:c}=v.useTheme();return r.jsxs(j,{theme:c,onClick:p,children:[m.isDefined(n)?n:r.jsx("img",{src:i,className:"wrapper__image"}),r.jsx("div",{className:"wrapper__content",children:r.jsx("div",{className:"wrapper__title",children:t})})]})}),W=s.forwardRef(({},i)=>r.jsx(k,{})),G=l.newStyled.div`
122
+ display: flex;
123
+ flex-direction: column;
124
+ align-items: center;
125
+ gap: 1.5rem;
126
+
127
+ & .wrapper__heading {
128
+ display: flex;
129
+ flex-direction: column;
130
+ gap: 1rem;
131
+ text-align: center;
132
+
133
+ & .wrapper__title {
134
+ color: var(--gray-950, #14161a);
135
+ text-align: center;
136
+ font-size: 1.5rem;
137
+ font-style: normal;
138
+ font-weight: 600;
139
+ line-height: 2rem;
140
+ letter-spacing: -0.47px;
141
+ }
142
+
143
+ & .wrapper__subtitle {
144
+ color: var(---gray-600, #676e79);
145
+ font-size: 0.875rem;
146
+ font-style: normal;
147
+ font-weight: 400;
148
+ line-height: 1.25rem;
149
+ letter-spacing: 0.25px;
150
+ }
151
+ }
152
+
153
+ & .wrapper__tags {
154
+ display: flex;
155
+ flex-wrap: wrap;
156
+ justify-content: center;
157
+ align-items: center;
158
+ gap: 0.75rem;
159
+ }
160
+
161
+ & .wrapper__cards {
162
+ display: grid;
163
+ grid-template-columns: ${i=>`repeat(${i==null?void 0:i.limitCards}, minmax(0, 1fr))`};
164
+ justify-content: center;
165
+ align-items: center;
166
+ gap: 1.5rem;
167
+ width: 100%;
168
+ }
169
+
170
+ @media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
171
+ & .wrapper__tags {
172
+ display: flex;
173
+ flex-wrap: nowrap;
174
+ overflow-x: scroll;
175
+ justify-content: flex-start;
176
+ width: 100%;
177
+
178
+ -webkit-overflow-scrolling: touch;
179
+ ::-webkit-scrollbar {
180
+ -webkit-appearance: none;
181
+ }
182
+ -ms-overflow-style: none;
183
+ /* Internet Explorer 10+ */
184
+ scrollbar-width: none;
185
+ /* Firefox */
186
+
187
+ &::-webkit-scrollbar {
188
+ display: none;
189
+ /* Safari and Chrome */
190
+ }
191
+ }
192
+
193
+ & .wrapper__cards {
194
+ grid-template-columns: ${i=>`repeat(${i==null?void 0:i.limitCardsForMobile}, minmax(0, 1fr))`};
195
+ gap: 1rem;
196
+ }
197
+ }
198
+ `,R=s.forwardRef(({title:i,subtitle:n,tags:t=[],limitTags:p=7,limitTagsForMobile:f=2,limit:c=3,limitForMobile:b=3,items:a=[],onSelectTag:h=()=>{},onSelectCard:w=()=>{}},S)=>{var g,u;const x=e=>{h==null||h(e==null?void 0:e.uuid)},_=e=>{w==null||w(e==null?void 0:e.uuid)};return r.jsxs(G,{limitTags:p,limitTagsForMobile:f,limitCards:c,limitCardsForMobile:b,children:[r.jsxs("div",{className:"wrapper__heading",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),n&&r.jsx("div",{className:"wrapper__subtitle",children:n})]}),r.jsx("div",{className:"wrapper__cards",children:a&&(a==null?void 0:a.length)>0?a==null?void 0:a.map((e,o)=>r.jsx(N,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,onSelectCard:()=>_==null?void 0:_(e==null?void 0:e.uuid)},`general-with-tags-card__${o+1}`)):(g=Array.from("123"))==null?void 0:g.map((e,o)=>r.jsx(W,{},`general-with-tags-card-skeleton__${o+1}`))}),r.jsx("div",{className:"wrapper__tags",children:t&&(t==null?void 0:t.length)>0?t==null?void 0:t.map((e,o)=>r.jsx(E,{icon:e==null?void 0:e.icon,text:e==null?void 0:e.text,onSelectCard:()=>x==null?void 0:x(e)},`general-with-tags-card-tag__${o+1}`)):(u=Array.from("123"))==null?void 0:u.map((e,o)=>r.jsx(C,{},`general-with-tags-card-tag-skeleton__${o+1}`))})]})});module.exports=R;