@lanaco/lnc-react-ui 4.0.84 → 4.0.86

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 (233) 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/BannerSectionCarousel.cjs +1 -1
  14. package/dist/BannerSectionCarousel.js +1 -1
  15. package/dist/BannerSectionWithList.cjs +1 -1
  16. package/dist/BannerSectionWithList.js +1 -1
  17. package/dist/BannerSectionWithListImage.cjs +1 -1
  18. package/dist/BannerSectionWithListImage.js +9 -9
  19. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  20. package/dist/BlogCardsSponsoredSection.js +3 -3
  21. package/dist/BlogCategoryCardsSection.cjs +1 -1
  22. package/dist/BlogCategoryCardsSection.js +1 -1
  23. package/dist/BlogListSection.cjs +1 -1
  24. package/dist/BlogListSection.js +3 -3
  25. package/dist/BlogProductCardsSection.cjs +1 -1
  26. package/dist/BlogProductCardsSection.js +2 -2
  27. package/dist/BlogShopCardsSection.cjs +1 -1
  28. package/dist/BlogShopCardsSection.js +1 -1
  29. package/dist/BlogSingleSection.cjs +1 -1
  30. package/dist/BlogSingleSection.js +2 -2
  31. package/dist/BlogsSectionDetailed.cjs +6 -6
  32. package/dist/BlogsSectionDetailed.js +65 -62
  33. package/dist/BlogsSectionLarge.cjs +1 -1
  34. package/dist/BlogsSectionLarge.js +2 -2
  35. package/dist/BlogsSectionSimple.cjs +6 -6
  36. package/dist/BlogsSectionSimple.js +46 -43
  37. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  38. package/dist/BlogsSectionSimpleCentered.js +2 -2
  39. package/dist/BlogsSectionWithFilters.cjs +6 -2
  40. package/dist/BlogsSectionWithFilters.js +43 -36
  41. package/dist/BrandHitsSection.cjs +1 -1
  42. package/dist/BrandHitsSection.js +1 -1
  43. package/dist/Breadcrumbs.cjs +1 -1
  44. package/dist/Breadcrumbs.js +1 -1
  45. package/dist/Button.cjs +1 -1
  46. package/dist/Button.js +1 -1
  47. package/dist/ButtonGroup.cjs +1 -1
  48. package/dist/ButtonGroup.js +1 -1
  49. package/dist/CalorieCalculatorSection.cjs +2 -2
  50. package/dist/CalorieCalculatorSection.js +2 -2
  51. package/dist/CheckBoxInput.cjs +1 -1
  52. package/dist/CheckBoxInput.js +1 -1
  53. package/dist/Chip.cjs +1 -1
  54. package/dist/Chip.js +1 -1
  55. package/dist/ColorInput.cjs +1 -1
  56. package/dist/ColorInput.js +1 -1
  57. package/dist/ConfirmationForm.cjs +1 -1
  58. package/dist/ConfirmationForm.js +1 -1
  59. package/dist/CustomLoanMapSection.cjs +1 -1
  60. package/dist/CustomLoanMapSection.js +2 -2
  61. package/dist/{CustomStyles-ZBxlReAi.js → CustomStyles-DSaRbYZg.js} +1 -1
  62. package/dist/{CustomStyles-ChA_393q.cjs → CustomStyles-DzChCA5c.cjs} +1 -1
  63. package/dist/DateInput.cjs +1 -1
  64. package/dist/DateInput.js +1 -1
  65. package/dist/DecimalInput.cjs +1 -1
  66. package/dist/DecimalInput.js +1 -1
  67. package/dist/DecimalInputV2.cjs +1 -1
  68. package/dist/DecimalInputV2.js +1 -1
  69. package/dist/DetailedProductsSection.cjs +7 -3
  70. package/dist/DetailedProductsSection.js +17 -12
  71. package/dist/DetailsView.cjs +1 -1
  72. package/dist/DetailsView.js +1 -1
  73. package/dist/DoubleRangeSlider.cjs +1 -1
  74. package/dist/DoubleRangeSlider.js +1 -1
  75. package/dist/DragAndDropFile.cjs +1 -1
  76. package/dist/DragAndDropFile.js +1 -1
  77. package/dist/DragDropFiles.cjs +1 -1
  78. package/dist/DragDropFiles.js +1 -1
  79. package/dist/Drawer.cjs +1 -1
  80. package/dist/Drawer.js +1 -1
  81. package/dist/Dropdown.cjs +1 -1
  82. package/dist/Dropdown.js +2 -2
  83. package/dist/DropdownItem.cjs +1 -1
  84. package/dist/DropdownItem.js +1 -1
  85. package/dist/DropdownLookup.cjs +1 -1
  86. package/dist/DropdownLookup.js +1 -1
  87. package/dist/DropdownMenu.cjs +1 -1
  88. package/dist/DropdownMenu.js +1 -1
  89. package/dist/EditableTable.cjs +1 -1
  90. package/dist/EditableTable.js +1 -1
  91. package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
  92. package/dist/FieldOfInterestsMasonrySection.js +1 -1
  93. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  94. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
  95. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +12 -7
  96. package/dist/FieldOfInterestsWithTagsCardsSection.js +41 -36
  97. package/dist/FileInput.cjs +1 -1
  98. package/dist/FileInput.js +1 -1
  99. package/dist/FlexGridItem.cjs +1 -1
  100. package/dist/FlexGridItem.js +1 -1
  101. package/dist/FormField.cjs +1 -1
  102. package/dist/FormField.js +1 -1
  103. package/dist/FormView.cjs +1 -1
  104. package/dist/FormView.js +1 -1
  105. package/dist/GeneralWithTagsCardsSection.cjs +17 -12
  106. package/dist/GeneralWithTagsCardsSection.js +32 -27
  107. package/dist/GiftCardsSection.cjs +1 -1
  108. package/dist/GiftCardsSection.js +1 -1
  109. package/dist/Icon.cjs +1 -1
  110. package/dist/Icon.js +1 -1
  111. package/dist/IconButton.cjs +1 -1
  112. package/dist/IconButton.js +1 -1
  113. package/dist/Kanban.cjs +1 -1
  114. package/dist/Kanban.js +1 -1
  115. package/dist/KanbanActionsToolbar.cjs +1 -1
  116. package/dist/KanbanActionsToolbar.js +1 -1
  117. package/dist/KanbanView.cjs +1 -1
  118. package/dist/KanbanView.js +1 -1
  119. package/dist/Link.cjs +1 -1
  120. package/dist/Link.js +1 -1
  121. package/dist/LoanCalculatorSection.cjs +1 -1
  122. package/dist/LoanCalculatorSection.js +1 -1
  123. package/dist/LocationFinderSection.cjs +1 -1
  124. package/dist/LocationFinderSection.js +1 -1
  125. package/dist/LocationSearchSection.cjs +6 -6
  126. package/dist/LocationSearchSection.js +16 -13
  127. package/dist/MasonryGeneralCardsSection.cjs +6 -6
  128. package/dist/MasonryGeneralCardsSection.js +44 -46
  129. package/dist/MenuItem.cjs +1 -1
  130. package/dist/MenuItem.js +1 -1
  131. package/dist/Modal.cjs +1 -1
  132. package/dist/Modal.js +1 -1
  133. package/dist/MultiSelectDropdown.cjs +1 -1
  134. package/dist/MultiSelectDropdown.js +1 -1
  135. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  136. package/dist/MultiSelectDropdownLookup.js +1 -1
  137. package/dist/NestedDropdownItem.cjs +1 -1
  138. package/dist/NestedDropdownItem.js +1 -1
  139. package/dist/NestedMenuItem.cjs +1 -1
  140. package/dist/NestedMenuItem.js +1 -1
  141. package/dist/NotificationContainer.cjs +1 -1
  142. package/dist/NotificationContainer.js +1 -1
  143. package/dist/NotificationMessage.cjs +1 -1
  144. package/dist/NotificationMessage.js +1 -1
  145. package/dist/NumberInput.cjs +1 -1
  146. package/dist/NumberInput.js +1 -1
  147. package/dist/OverlayGeneralCardsSection.cjs +7 -5
  148. package/dist/OverlayGeneralCardsSection.js +12 -10
  149. package/dist/PasswordInput.cjs +1 -1
  150. package/dist/PasswordInput.js +1 -1
  151. package/dist/PopoverContent.cjs +1 -1
  152. package/dist/PopoverContent.js +1 -1
  153. package/dist/ProductsWithBannerSection.cjs +1 -1
  154. package/dist/ProductsWithBannerSection.js +2 -2
  155. package/dist/ProgressBar.cjs +1 -1
  156. package/dist/ProgressBar.js +1 -1
  157. package/dist/QuizSection.cjs +1 -1
  158. package/dist/QuizSection.js +1 -1
  159. package/dist/RadioInput.cjs +1 -1
  160. package/dist/RadioInput.js +1 -1
  161. package/dist/RangeSlider.cjs +1 -1
  162. package/dist/RangeSlider.js +1 -1
  163. package/dist/ReviewsSection.cjs +1 -1
  164. package/dist/ReviewsSection.js +2 -2
  165. package/dist/SalesCampaignsSection.cjs +35 -31
  166. package/dist/SalesCampaignsSection.js +183 -177
  167. package/dist/Separator.cjs +1 -1
  168. package/dist/Separator.js +1 -1
  169. package/dist/ShopCardsSection.cjs +1 -1
  170. package/dist/ShopCardsSection.js +2 -2
  171. package/dist/Sidebar.cjs +1 -1
  172. package/dist/Sidebar.js +1 -1
  173. package/dist/SimpleCategoriesSection.cjs +1 -1
  174. package/dist/SimpleCategoriesSection.js +2 -2
  175. package/dist/SimpleProductsSection.cjs +1 -1
  176. package/dist/SimpleProductsSection.js +2 -2
  177. package/dist/Spinner.cjs +1 -1
  178. package/dist/Spinner.js +1 -1
  179. package/dist/Surface.cjs +1 -1
  180. package/dist/Surface.js +1 -1
  181. package/dist/SwipeableDrawer.cjs +1 -1
  182. package/dist/SwipeableDrawer.js +1 -1
  183. package/dist/TabItem.cjs +1 -1
  184. package/dist/TabItem.js +1 -1
  185. package/dist/Table.cjs +1 -1
  186. package/dist/Table.js +1 -1
  187. package/dist/TableView.cjs +1 -1
  188. package/dist/TableView.js +1 -1
  189. package/dist/TextAreaInput.cjs +1 -1
  190. package/dist/TextAreaInput.js +1 -1
  191. package/dist/TextInput.cjs +1 -1
  192. package/dist/TextInput.js +1 -1
  193. package/dist/ThemeProvider.cjs +1 -1
  194. package/dist/ThemeProvider.js +1 -1
  195. package/dist/TimeInput.cjs +1 -1
  196. package/dist/TimeInput.js +1 -1
  197. package/dist/Toggle.cjs +1 -1
  198. package/dist/Toggle.js +1 -1
  199. package/dist/TreeMenuSeparator.cjs +1 -1
  200. package/dist/TreeMenuSeparator.js +1 -1
  201. package/dist/UploadedFile.cjs +1 -1
  202. package/dist/UploadedFile.js +1 -1
  203. package/dist/UrgentSaleProductsSection.cjs +2 -2
  204. package/dist/UrgentSaleProductsSection.js +2 -2
  205. package/dist/{index-baEuidT3.js → index-B5bRol0l.js} +1 -1
  206. package/dist/{index-D0Cl3mpJ.js → index-B69VVFyo.js} +1 -1
  207. package/dist/{index-CfA579i2.cjs → index-B9HSHvhH.cjs} +4 -3
  208. package/dist/{index-m9SN4CZC.js → index-BBPnKoi6.js} +13 -12
  209. package/dist/{index-CAqPGuiA.cjs → index-BVaZWq6y.cjs} +1 -1
  210. package/dist/{index-bTSzxSNK.js → index-BpS5mEUu.js} +2 -2
  211. package/dist/{index-Q6GmUkJx.cjs → index-C7iutNsj.cjs} +1 -1
  212. package/dist/{index-ZbylnHR8.cjs → index-CWAifrDS.cjs} +1 -1
  213. package/dist/{index-BLxkXrqU.js → index-Ca38iPjf.js} +1 -1
  214. package/dist/{index-DXmajb7F.js → index-DmuZIVnC.js} +1 -1
  215. package/dist/{index-Dy-o153l.cjs → index-ZR5ws_qw.cjs} +1 -1
  216. package/dist/{index-ryadTWiS.cjs → index-rYeYJwuL.cjs} +1 -1
  217. package/dist/index.cjs +1 -1
  218. package/dist/index.js +1 -1
  219. package/dist/{skeleton-D0bLAwfj.cjs → skeleton-BRWiMY6b.cjs} +7 -3
  220. package/dist/{skeleton-CtJG0_SN.cjs → skeleton-C_Jypl8r.cjs} +1 -1
  221. package/dist/{skeleton-CfSTJ_9L.js → skeleton-DhXNRCfI.js} +8 -4
  222. package/dist/{skeleton-iQWpOw9K.js → skeleton-wfDIalr3.js} +2 -2
  223. package/dist/{suspense-categories-card-simple-Tiure3NX.js → suspense-categories-card-simple-BmmCOsc0.js} +1 -1
  224. package/dist/{suspense-categories-card-simple-o7JK0fA4.cjs → suspense-categories-card-simple-D-tE8xV6.cjs} +1 -1
  225. package/dist/{suspense-large-v60EOiID.cjs → suspense-large-Buu1428e.cjs} +1 -1
  226. package/dist/{suspense-large-CQpNiB26.js → suspense-large-iKRJJlJv.js} +1 -1
  227. package/dist/{suspense-product-card-detailed-D490oqXC.cjs → suspense-product-card-detailed-CwUN6A-L.cjs} +1 -1
  228. package/dist/{suspense-product-card-detailed-DDXuOKib.js → suspense-product-card-detailed-J2a9wi6Z.js} +2 -2
  229. package/dist/{suspense-product-card-simple-fSvde3aM.js → suspense-product-card-simple--ExcEpD-.js} +1 -1
  230. package/dist/{suspense-product-card-simple-CQxB1MF4.cjs → suspense-product-card-simple-0x5sc47a.cjs} +1 -1
  231. package/dist/{utils-DCs-SbIv.js → utils-BE-UlkKf.js} +8 -8
  232. package/dist/{utils-BXPz9bck.cjs → utils-DhRHf5Ed.cjs} +3 -3
  233. package/package.json +1 -1
@@ -2,10 +2,10 @@ import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
2
  import { forwardRef as o } from "react";
3
3
  import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as d } from "./consts-C1uHV4xc.js";
5
- import { t as y, m as x, l as k } from "./utils-DCs-SbIv.js";
6
- import $ from "./Icon.js";
5
+ import { t as y, m as x, k, l as $ } from "./utils-BE-UlkKf.js";
6
+ import N from "./Icon.js";
7
7
  import { u as C } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- const N = s.div`
8
+ const W = s.div`
9
9
  display: flex;
10
10
  flex-direction: column;
11
11
  align-items: flex-start;
@@ -81,7 +81,7 @@ const N = s.div`
81
81
  }
82
82
  }
83
83
  }
84
- `, W = s.div`
84
+ `, j = s.div`
85
85
  width: 100%;
86
86
  height: 11.625rem;
87
87
  border-radius: 0.75rem;
@@ -92,9 +92,9 @@ const N = s.div`
92
92
  height: 5rem;
93
93
  border-radius: 999px;
94
94
  }
95
- `, j = s.div`
95
+ `, G = s.div`
96
96
  display: flex;
97
- padding: 0 0.5rem 0 0;
97
+ padding: 0 0.5rem 0 0.5rem;
98
98
  align-items: center;
99
99
  justify-content: center;
100
100
  background: var(--white, #fff);
@@ -112,9 +112,14 @@ const N = s.div`
112
112
  border-radius: 999px;
113
113
  width: 2.5rem;
114
114
  height: 2.5rem;
115
+ margin-left: -0.5rem;
115
116
 
116
117
  & i {
117
118
  width: auto;
119
+
120
+ &::after {
121
+ margin-left: 0;
122
+ }
118
123
  }
119
124
  }
120
125
 
@@ -132,28 +137,28 @@ const N = s.div`
132
137
  white-space: nowrap;
133
138
  }
134
139
  }
135
- `, G = s.div`
140
+ `, T = s.div`
136
141
  width: 7rem;
137
142
  height: 3rem;
138
143
  border-radius: 999px;
139
144
  background: ${x("-90deg")};
140
- `, T = o(({}, r) => /* @__PURE__ */ a(G, {})), z = o(
145
+ `, z = o(({}, r) => /* @__PURE__ */ a(T, {})), I = o(
141
146
  ({ title: r, icon: i, onSelectCard: t = () => {
142
- } }, p) => /* @__PURE__ */ m(j, { onClick: t, children: [
143
- /* @__PURE__ */ a($, { icon: ` ${i}`, className: "wrapper__icon" }),
147
+ } }, p) => /* @__PURE__ */ m(G, { onClick: t, children: [
148
+ k(i) && /* @__PURE__ */ a(N, { icon: i, className: "wrapper__icon" }),
144
149
  /* @__PURE__ */ a("div", { className: "wrapper__text", children: r })
145
150
  ] })
146
- ), I = o(
151
+ ), E = o(
147
152
  // eslint-disable-next-line react/prop-types
148
153
  ({ imageUrl: r, imageComponent: i, title: t, onSelectCard: p = () => {
149
154
  } }, c) => {
150
- const { theme: h } = C();
151
- return /* @__PURE__ */ m(N, { ref: c, theme: h, onClick: p, children: [
152
- k(i) ? i : /* @__PURE__ */ a("img", { src: r, className: "wrapper__image" }),
155
+ const { theme: g } = C();
156
+ return /* @__PURE__ */ m(W, { ref: c, theme: g, onClick: p, children: [
157
+ $(i) ? i : /* @__PURE__ */ a("img", { src: r, className: "wrapper__image" }),
153
158
  /* @__PURE__ */ a("div", { className: "wrapper__content", children: /* @__PURE__ */ a("div", { className: "wrapper__title", children: t }) })
154
159
  ] });
155
160
  }
156
- ), M = o(({}, r) => /* @__PURE__ */ a(W, {})), A = s.div`
161
+ ), M = o(({}, r) => /* @__PURE__ */ a(j, {})), A = s.div`
157
162
  display: flex;
158
163
  flex-direction: column;
159
164
  align-items: center;
@@ -237,23 +242,23 @@ const N = s.div`
237
242
  options: t = [],
238
243
  limitTags: p = 7,
239
244
  limitTagsForMobile: c = 2,
240
- limit: h = 3,
245
+ limit: g = 3,
241
246
  limitForMobile: u = 3,
242
247
  items: n = [],
243
- onSelectTag: g = () => {
248
+ onSelectTag: h = () => {
244
249
  },
245
- onSelectCard: w = () => {
250
+ onSelectCard: f = () => {
246
251
  },
247
252
  isLoading: b
248
253
  }, v) => {
249
- var _, f;
254
+ var w, _;
250
255
  return /* @__PURE__ */ m(
251
256
  A,
252
257
  {
253
258
  ref: v,
254
259
  limitTags: p,
255
260
  limitTagsForMobile: c,
256
- limitCards: h,
261
+ limitCards: g,
257
262
  limitCardsForMobile: u,
258
263
  children: [
259
264
  /* @__PURE__ */ m("div", { className: "wrapper__heading", children: [
@@ -261,32 +266,32 @@ const N = s.div`
261
266
  i && /* @__PURE__ */ a("div", { className: "wrapper__subtitle", children: i })
262
267
  ] }),
263
268
  /* @__PURE__ */ a("div", { className: "wrapper__cards", children: n && (n == null ? void 0 : n.length) > 0 ? n == null ? void 0 : n.map((e, l) => /* @__PURE__ */ a(
264
- I,
269
+ E,
265
270
  {
266
271
  imageUrl: e == null ? void 0 : e.imageUrl,
267
272
  imageComponent: e == null ? void 0 : e.imageComponent,
268
273
  title: e == null ? void 0 : e.title,
269
274
  onSelectCard: () => {
270
- w == null || w(e);
275
+ f == null || f(e);
271
276
  }
272
277
  },
273
278
  `general-with-tags-card__${l + 1}`
274
- )) : (_ = Array.from("123")) == null ? void 0 : _.map((e, l) => /* @__PURE__ */ a(
279
+ )) : (w = Array.from("123")) == null ? void 0 : w.map((e, l) => /* @__PURE__ */ a(
275
280
  M,
276
281
  {},
277
282
  `general-with-tags-card-skeleton__${l + 1}`
278
283
  )) }),
279
284
  (t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ a("div", { className: "wrapper__tags", children: t == null ? void 0 : t.map((e, l) => /* @__PURE__ */ a(
280
- z,
285
+ I,
281
286
  {
282
287
  icon: e == null ? void 0 : e.icon,
283
288
  title: e == null ? void 0 : e.title,
284
- onSelectCard: () => g == null ? void 0 : g(e)
289
+ onSelectCard: () => h == null ? void 0 : h(e)
285
290
  },
286
291
  `general-with-tags-card-tag__${l + 1}`
287
292
  )) }),
288
- b === !0 && !((t == null ? void 0 : t.length) > 0) && /* @__PURE__ */ a("div", { className: "wrapper__tags", children: (f = Array.from("123")) == null ? void 0 : f.map((e, l) => /* @__PURE__ */ a(
289
- T,
293
+ b === !0 && !((t == null ? void 0 : t.length) > 0) && /* @__PURE__ */ a("div", { className: "wrapper__tags", children: (_ = Array.from("123")) == null ? void 0 : _.map((e, l) => /* @__PURE__ */ a(
294
+ z,
290
295
  {},
291
296
  `general-with-tags-card-tag-skeleton__${l + 1}`
292
297
  )) })
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),f=require("react"),w=require("./useDetectMobile-D6d5LpdL.cjs"),v=require("./style-C571ywKV.cjs"),n=require("./utils-BXPz9bck.cjs"),j=require("./Button.cjs"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-CtNoHdBj.cjs"),S=s.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),f=require("react"),w=require("./useDetectMobile-D6d5LpdL.cjs"),v=require("./style-C571ywKV.cjs"),n=require("./utils-DhRHf5Ed.cjs"),j=require("./Button.cjs"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-CtNoHdBj.cjs"),S=s.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -2,7 +2,7 @@ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as h } from "react";
3
3
  import { u as C } from "./useDetectMobile-BC6EGaBc.js";
4
4
  import { R as k } from "./style-CsMpu4iC.js";
5
- import { m as b, n as G, G as S, k as u } from "./utils-DCs-SbIv.js";
5
+ import { m as b, n as G, G as S, k as u } from "./utils-BE-UlkKf.js";
6
6
  import N from "./Button.js";
7
7
  import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
8
8
  import { M as $ } from "./consts-C1uHV4xc.js";
package/dist/Icon.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("react/jsx-runtime"),z=require("react"),s=require("./index-BPVoEhTF.cjs"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-BXPz9bck.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),I=P.styled.span`
1
+ "use strict";const n=require("react/jsx-runtime"),z=require("react"),s=require("./index-BPVoEhTF.cjs"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-DhRHf5Ed.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),I=P.styled.span`
2
2
  box-sizing: border-box;
3
3
  ${e=>e.sizeInUnits&&e.sizeInUnits!=""?`font-size: ${e.sizeInUnits}`:o.getComponentTypographyCss(e.theme,"Icon",e.size,"enabled")};
4
4
  ${e=>e.color&&`color: ${o.getColorRgbaValue(e.theme,"Icon",e.color,"enabled","icon")}`};
package/dist/Icon.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as z } from "react";
3
3
  import { P as o } from "./index-S5Cd7WrG.js";
4
4
  import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { c as b, b as h } from "./utils-DCs-SbIv.js";
5
+ import { c as b, b as h } from "./utils-BE-UlkKf.js";
6
6
  import { u as p } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const $ = I.span`
8
8
  box-sizing: border-box;
@@ -1,4 +1,4 @@
1
- "use strict";const a=require("react/jsx-runtime"),$=require("react"),o=require("./index-BPVoEhTF.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-BXPz9bck.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),m=e=>`
1
+ "use strict";const a=require("react/jsx-runtime"),$=require("react"),o=require("./index-BPVoEhTF.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-DhRHf5Ed.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),m=e=>`
2
2
  outline: none;
3
3
  display: inline-flex;
4
4
  flex-direction: row;
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as S, isValidElement as N } from "react";
3
3
  import { P as o } from "./index-S5Cd7WrG.js";
4
4
  import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { c as $, b as t, d as n, e as B, h as f, a as V } from "./utils-DCs-SbIv.js";
5
+ import { c as $, b as t, d as n, e as B, h as f, a as V } from "./utils-BE-UlkKf.js";
6
6
  import { u as j } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const k = (e) => `
8
8
  outline: none;
package/dist/Kanban.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const oe=require("react/jsx-runtime"),d=require("react"),Vt=require("./index-EeoArxOx.cjs"),Q=require("./index-BPVoEhTF.cjs"),we=require("./utils-BXPz9bck.cjs"),Zr=require("./index-gY9e_8LL.cjs"),en=require("./emotion-styled.browser.esm-BtEseadx.cjs"),zr=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),bo=require("./KanbanCard-CXRQQu4S.cjs"),Dt=require("./_commonjsHelpers-DKOUU3wS.cjs"),ii=require("./KanbanHeader.cjs"),si=require("./useEffectOnce-DFrzfNzT.cjs"),ai=require("./useUpdateEffect-BtMgpgIV.cjs");function ci(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.useMemo(()=>o=>{t.forEach(s=>s(o))},t)}const Un=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function tn(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Hr(e){return"nodeType"in e}function Ke(e){var t,n;return e?tn(e)?e:Hr(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Kr(e){const{Document:t}=Ke(e);return e instanceof t}function hn(e){return tn(e)?!1:e instanceof Ke(e).HTMLElement}function yo(e){return e instanceof Ke(e).SVGElement}function nn(e){return e?tn(e)?e.document:Hr(e)?Kr(e)?e:hn(e)||yo(e)?e.ownerDocument:document:document:document}const bt=Un?d.useLayoutEffect:d.useEffect;function kn(e){const t=d.useRef(e);return bt(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return t.current==null?void 0:t.current(...o)},[])}function li(){const e=d.useRef(null),t=d.useCallback((o,s)=>{e.current=setInterval(o,s)},[]),n=d.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function gn(e,t){t===void 0&&(t=[e]);const n=d.useRef(e);return bt(()=>{n.current!==e&&(n.current=e)},t),n}function pn(e,t){const n=d.useRef();return d.useMemo(()=>{const o=e(n.current);return n.current=o,o},[...t])}function jn(e){const t=kn(e),n=d.useRef(null),o=d.useCallback(s=>{s!==n.current&&(t==null||t(s,n.current)),n.current=s},[]);return[n,o]}function $n(e){const t=d.useRef();return d.useEffect(()=>{t.current=e},[e]),t.current}let Tr={};function vn(e,t){return d.useMemo(()=>{if(t)return t;const n=Tr[e]==null?0:Tr[e]+1;return Tr[e]=n,e+"-"+n},[e,t])}function mo(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return o.reduce((c,l)=>{const u=Object.entries(l);for(const[h,f]of u){const b=c[h];b!=null&&(c[h]=b+e*f)}return c},{...t})}}const Zt=mo(1),Bn=mo(-1);function ui(e){return"clientX"in e&&"clientY"in e}function Xn(e){if(!e)return!1;const{KeyboardEvent:t}=Ke(e.target);return t&&e instanceof t}function di(e){if(!e)return!1;const{TouchEvent:t}=Ke(e.target);return t&&e instanceof t}function Fn(e){if(di(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return ui(e)?{x:e.clientX,y:e.clientY}:null}const Gt=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Gt.Translate.toString(e),Gt.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:o}=e;return t+" "+n+"ms "+o}}}),Qr="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function fi(e){return e.matches(Qr)?e:e.querySelector(Qr)}const gi={display:"none"};function hi(e){let{id:t,value:n}=e;return d.createElement("div",{id:t,style:gi},n)}function pi(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;const s={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return d.createElement("div",{id:t,style:s,role:"status","aria-live":o,"aria-atomic":!0},n)}function vi(){const[e,t]=d.useState("");return{announce:d.useCallback(o=>{o!=null&&t(o)},[]),announcement:e}}const xo=d.createContext(null);function bi(e){const t=d.useContext(xo);d.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function yi(){const[e]=d.useState(()=>new Set),t=d.useCallback(o=>(e.add(o),()=>e.delete(o)),[e]);return[d.useCallback(o=>{let{type:s,event:c}=o;e.forEach(l=>{var u;return(u=l[s])==null?void 0:u.call(l,c)})},[e]),t]}const mi={draggable:`
1
+ "use strict";const oe=require("react/jsx-runtime"),d=require("react"),Vt=require("./index-EeoArxOx.cjs"),Q=require("./index-BPVoEhTF.cjs"),we=require("./utils-DhRHf5Ed.cjs"),Zr=require("./index-gY9e_8LL.cjs"),en=require("./emotion-styled.browser.esm-BtEseadx.cjs"),zr=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),bo=require("./KanbanCard-CXRQQu4S.cjs"),Dt=require("./_commonjsHelpers-DKOUU3wS.cjs"),ii=require("./KanbanHeader.cjs"),si=require("./useEffectOnce-DFrzfNzT.cjs"),ai=require("./useUpdateEffect-BtMgpgIV.cjs");function ci(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.useMemo(()=>o=>{t.forEach(s=>s(o))},t)}const Un=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function tn(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Hr(e){return"nodeType"in e}function Ke(e){var t,n;return e?tn(e)?e:Hr(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Kr(e){const{Document:t}=Ke(e);return e instanceof t}function hn(e){return tn(e)?!1:e instanceof Ke(e).HTMLElement}function yo(e){return e instanceof Ke(e).SVGElement}function nn(e){return e?tn(e)?e.document:Hr(e)?Kr(e)?e:hn(e)||yo(e)?e.ownerDocument:document:document:document}const bt=Un?d.useLayoutEffect:d.useEffect;function kn(e){const t=d.useRef(e);return bt(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return t.current==null?void 0:t.current(...o)},[])}function li(){const e=d.useRef(null),t=d.useCallback((o,s)=>{e.current=setInterval(o,s)},[]),n=d.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function gn(e,t){t===void 0&&(t=[e]);const n=d.useRef(e);return bt(()=>{n.current!==e&&(n.current=e)},t),n}function pn(e,t){const n=d.useRef();return d.useMemo(()=>{const o=e(n.current);return n.current=o,o},[...t])}function jn(e){const t=kn(e),n=d.useRef(null),o=d.useCallback(s=>{s!==n.current&&(t==null||t(s,n.current)),n.current=s},[]);return[n,o]}function $n(e){const t=d.useRef();return d.useEffect(()=>{t.current=e},[e]),t.current}let Tr={};function vn(e,t){return d.useMemo(()=>{if(t)return t;const n=Tr[e]==null?0:Tr[e]+1;return Tr[e]=n,e+"-"+n},[e,t])}function mo(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return o.reduce((c,l)=>{const u=Object.entries(l);for(const[h,f]of u){const b=c[h];b!=null&&(c[h]=b+e*f)}return c},{...t})}}const Zt=mo(1),Bn=mo(-1);function ui(e){return"clientX"in e&&"clientY"in e}function Xn(e){if(!e)return!1;const{KeyboardEvent:t}=Ke(e.target);return t&&e instanceof t}function di(e){if(!e)return!1;const{TouchEvent:t}=Ke(e.target);return t&&e instanceof t}function Fn(e){if(di(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return ui(e)?{x:e.clientX,y:e.clientY}:null}const Gt=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Gt.Translate.toString(e),Gt.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:o}=e;return t+" "+n+"ms "+o}}}),Qr="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function fi(e){return e.matches(Qr)?e:e.querySelector(Qr)}const gi={display:"none"};function hi(e){let{id:t,value:n}=e;return d.createElement("div",{id:t,style:gi},n)}function pi(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;const s={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return d.createElement("div",{id:t,style:s,role:"status","aria-live":o,"aria-atomic":!0},n)}function vi(){const[e,t]=d.useState("");return{announce:d.useCallback(o=>{o!=null&&t(o)},[]),announcement:e}}const xo=d.createContext(null);function bi(e){const t=d.useContext(xo);d.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function yi(){const[e]=d.useState(()=>new Set),t=d.useCallback(o=>(e.add(o),()=>e.delete(o)),[e]);return[d.useCallback(o=>{let{type:s,event:c}=o;e.forEach(l=>{var u;return(u=l[s])==null?void 0:u.call(l,c)})},[e]),t]}const mi={draggable:`
2
2
  To pick up a draggable item, press the space bar.
3
3
  While dragging, use the arrow keys to move the item.
4
4
  Press space again to drop the item in its new position, or press escape to cancel.
package/dist/Kanban.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as xe, jsxs as Xn } from "react/jsx-runtime";
2
2
  import ae, { useLayoutEffect as vi, useEffect as J, useRef as V, useMemo as Q, useCallback as Ne, useState as be, createContext as Cn, memo as Oo, useReducer as bi, useContext as Wt, forwardRef as er, cloneElement as yi } from "react";
3
3
  import { r as on } from "./index-64mXPFBC.js";
4
4
  import { P as te } from "./index-S5Cd7WrG.js";
5
- import { b as sn, r as nn, z as rn } from "./utils-DCs-SbIv.js";
5
+ import { b as sn, r as nn, z as rn } from "./utils-BE-UlkKf.js";
6
6
  import { c as lo } from "./index-Bq3leL2e.js";
7
7
  import { s as ln } from "./emotion-styled.browser.esm-BNN1dTl3.js";
8
8
  import { u as Vr } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),P=require("react"),e=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./DropdownMenu.cjs"),w=require("./DropdownItem.cjs"),c=require("./Button.cjs"),p=require("./utils-BXPz9bck.cjs"),A=require("./ThemeProvider.cjs"),j=f.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),P=require("react"),e=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./DropdownMenu.cjs"),w=require("./DropdownItem.cjs"),c=require("./Button.cjs"),p=require("./utils-DhRHf5Ed.cjs"),A=require("./ThemeProvider.cjs"),j=f.styled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  border-radius: 8px;
@@ -5,7 +5,7 @@ import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import A from "./DropdownMenu.js";
6
6
  import N from "./DropdownItem.js";
7
7
  import s from "./Button.js";
8
- import { b as m } from "./utils-DCs-SbIv.js";
8
+ import { b as m } from "./utils-BE-UlkKf.js";
9
9
  import { useTheme as O } from "./ThemeProvider.js";
10
10
  const I = w.div`
11
11
  display: flex;
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-BPVoEhTF.cjs"),X=require("./emotion-styled.browser.esm-BtEseadx.cjs"),Z=require("./KanbanActionsToolbar.cjs"),a=require("./utils-BXPz9bck.cjs"),$=require("./Kanban.cjs"),k=require("./KanbanCard-CXRQQu4S.cjs"),ee=require("./KanbanHeader.cjs"),oe=require("./KanbanFooter.cjs"),ne=X.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-BPVoEhTF.cjs"),X=require("./emotion-styled.browser.esm-BtEseadx.cjs"),Z=require("./KanbanActionsToolbar.cjs"),a=require("./utils-DhRHf5Ed.cjs"),$=require("./Kanban.cjs"),k=require("./KanbanCard-CXRQQu4S.cjs"),ee=require("./KanbanHeader.cjs"),oe=require("./KanbanFooter.cjs"),ne=X.styled.div`
2
2
  & .kanban-view-footer-lnc {
3
3
  padding: 0 0.625rem;
4
4
  }
@@ -3,7 +3,7 @@ import { forwardRef as $ } from "react";
3
3
  import { P as e } from "./index-S5Cd7WrG.js";
4
4
  import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import P from "./KanbanActionsToolbar.js";
6
- import { r as i, i as d } from "./utils-DCs-SbIv.js";
6
+ import { r as i, i as d } from "./utils-BE-UlkKf.js";
7
7
  import ee from "./Kanban.js";
8
8
  import { K as oe } from "./KanbanCard-CIscpYlR.js";
9
9
  import ne from "./KanbanHeader.js";
package/dist/Link.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const d=require("react/jsx-runtime"),y=require("react"),t=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-BXPz9bck.cjs"),h=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),b=g.styled.a`
1
+ "use strict";const d=require("react/jsx-runtime"),y=require("react"),t=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-DhRHf5Ed.cjs"),h=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),b=g.styled.a`
2
2
  ${e=>o.getComponentTypographyCss(e.theme,"Breadcrumbs",e.size,"enabled")};
3
3
  color: ${e=>o.getColorRgbaValue(e.theme,"Link",e.color,"enabled","text")};
4
4
  text-decoration: none;
package/dist/Link.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as d } from "react/jsx-runtime";
2
2
  import { forwardRef as h } from "react";
3
3
  import { P as o } from "./index-S5Cd7WrG.js";
4
4
  import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { c as y, b as t } from "./utils-DCs-SbIv.js";
5
+ import { c as y, b as t } from "./utils-BE-UlkKf.js";
6
6
  import { u } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const g = f.a`
8
8
  ${(e) => y(
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),i=require("react"),W=require("./index-Dy-o153l.cjs"),D=require("./Modal.cjs"),V=require("./Button.cjs"),F=require("./TextInput.cjs"),K=require("./RangeSlider.cjs"),O=require("./emotion-styled.browser.esm-BtEseadx.cjs"),G=require("./IconButton.cjs"),J=O.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),i=require("react"),W=require("./index-ZR5ws_qw.cjs"),D=require("./Modal.cjs"),V=require("./Button.cjs"),F=require("./TextInput.cjs"),K=require("./RangeSlider.cjs"),O=require("./emotion-styled.browser.esm-BtEseadx.cjs"),G=require("./IconButton.cjs"),J=O.styled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  gap: 0.5rem;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as e, Fragment as G } from "react/jsx-runtime";
2
2
  import { forwardRef as I, useState as B, useRef as J } from "react";
3
- import { L as Q } from "./index-D0Cl3mpJ.js";
3
+ import { L as Q } from "./index-B69VVFyo.js";
4
4
  import X from "./Modal.js";
5
5
  import D from "./Button.js";
6
6
  import F from "./TextInput.js";
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),l=require("react"),p=require("./index-ZbylnHR8.cjs"),d=l.forwardRef((e,t)=>{const{locationFinderTitle:n,locationFinderPlaceholder:o,openMapText:i,onOpenMap:r=()=>{},mapFilters:c,inputComponent:a}=e;return s.jsx(p.LocationFinder,{ref:t,title:n,placeholderText:o,onOpenMap:r,openMapText:i,mapFilters:c,inputComponent:a})});module.exports=d;
1
+ "use strict";const s=require("react/jsx-runtime"),l=require("react"),p=require("./index-CWAifrDS.cjs"),d=l.forwardRef((e,t)=>{const{locationFinderTitle:n,locationFinderPlaceholder:o,openMapText:i,onOpenMap:r=()=>{},mapFilters:c,inputComponent:a}=e;return s.jsx(p.LocationFinder,{ref:t,title:n,placeholderText:o,onOpenMap:r,openMapText:i,mapFilters:c,inputComponent:a})});module.exports=d;
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as c } from "react";
3
- import { L as d } from "./index-baEuidT3.js";
3
+ import { L as d } from "./index-B5bRol0l.js";
4
4
  const F = c((o, e) => {
5
5
  const {
6
6
  locationFinderTitle: t,
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),d=require("react"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./consts-CtNoHdBj.cjs"),v=require("./index-ryadTWiS.cjs"),b=s.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),l=require("react"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-CtNoHdBj.cjs"),b=require("./index-rYeYJwuL.cjs"),j=s.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding: 1.25rem;
@@ -13,22 +13,22 @@
13
13
  font-size: 1rem;
14
14
  }
15
15
 
16
- @media (max-width: ${l.MOBILE_SIZE_PX+"px"}) {
16
+ @media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
17
17
  padding: 0;
18
18
  border-radius: 0;
19
19
  box-shadow: none;
20
20
  border: none;
21
21
  }
22
- `,j=s.styled.div`
22
+ `,w=s.styled.div`
23
23
  display: grid;
24
24
  grid-template-columns: repeat(4, 1fr);
25
25
  gap: 1.5rem;
26
26
 
27
- @media (max-width: ${l.MOBILE_SIZE_PX+"px"}) {
27
+ @media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
28
28
  grid-template-columns: repeat(2, 1fr);
29
29
  gap: 0.5rem;
30
30
  }
31
- `,w=s.styled.div`
31
+ `,S=s.styled.div`
32
32
  display: flex;
33
33
  flex-direction: column;
34
34
  gap: 0.75rem;
@@ -57,4 +57,4 @@
57
57
  color: var(--primary-500, #f59e0b);
58
58
  }
59
59
  }
60
- `,S=d.forwardRef((c,p)=>{const{title:m,items:i,options:o,selectedOption:g=[],onSelectRegion:x=()=>{},onSelectCity:u=()=>{},onSelectOption:h=()=>{}}=c;return e.jsxs(b,{ref:p,children:[e.jsx("div",{className:"wrapper-title",children:m}),(o==null?void 0:o.length)>0&&e.jsx(v.SelectBar,{items:o,selectedIds:g,onSelect:(r,t)=>{h(r,t)},labelKey:"name",valueKey:"code",noMargin:!0}),e.jsx(j,{children:i==null?void 0:i.map((r,t)=>{var a;return e.jsxs(w,{children:[e.jsx("div",{className:"region",onClick:()=>x(r),children:r==null?void 0:r.name}),e.jsx("div",{className:"group-items",children:(a=r==null?void 0:r.cities)==null?void 0:a.map((n,f)=>e.jsx(d.Fragment,{children:e.jsxs("div",{className:"city",onClick:()=>u(n),children:[e.jsx("span",{children:n==null?void 0:n.name}),e.jsxs("span",{className:"count-txt",children:["(",n==null?void 0:n.count,")"]})]})},t+f))})]},t)})})]})});module.exports=S;
60
+ `,y=l.forwardRef((c,p)=>{const{title:m,items:i,options:o,selectedOption:g=[],onSelectRegion:x=()=>{},onSelectCity:u=()=>{},onSelectOption:h=()=>{},onSelectAll:f=()=>{}}=c;return e.jsxs(j,{ref:p,children:[e.jsx("div",{className:"wrapper-title",children:m}),(o==null?void 0:o.length)>0&&e.jsx(b.SelectBar,{items:o,selectedIds:g,onSelect:(r,t)=>{h(r,t)},onSelectAll:f,labelKey:"name",valueKey:"code",noMargin:!0}),e.jsx(w,{children:i==null?void 0:i.map((r,t)=>{var a;return e.jsxs(S,{children:[e.jsx("div",{className:"region",onClick:()=>x(r),children:r==null?void 0:r.name}),e.jsx("div",{className:"group-items",children:(a=r==null?void 0:r.cities)==null?void 0:a.map((n,v)=>e.jsx(l.Fragment,{children:e.jsxs("div",{className:"city",onClick:()=>u(n),children:[e.jsx("span",{children:n==null?void 0:n.name}),e.jsxs("span",{className:"count-txt",children:["(",n==null?void 0:n.count,")"]})]})},t+v))})]},t)})})]})});module.exports=y;
@@ -1,9 +1,9 @@
1
1
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
- import { forwardRef as v, Fragment as b } from "react";
2
+ import { forwardRef as b, Fragment as w } from "react";
3
3
  import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as p } from "./consts-C1uHV4xc.js";
5
- import { S as w } from "./index-DXmajb7F.js";
6
- const S = l.div`
5
+ import { S } from "./index-DmuZIVnC.js";
6
+ const N = l.div`
7
7
  display: flex;
8
8
  flex-direction: column;
9
9
  padding: 1.25rem;
@@ -24,7 +24,7 @@ const S = l.div`
24
24
  box-shadow: none;
25
25
  border: none;
26
26
  }
27
- `, N = l.div`
27
+ `, C = l.div`
28
28
  display: grid;
29
29
  grid-template-columns: repeat(4, 1fr);
30
30
  gap: 1.5rem;
@@ -33,7 +33,7 @@ const S = l.div`
33
33
  grid-template-columns: repeat(2, 1fr);
34
34
  gap: 0.5rem;
35
35
  }
36
- `, C = l.div`
36
+ `, k = l.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  gap: 0.75rem;
@@ -62,7 +62,7 @@ const S = l.div`
62
62
  color: var(--primary-500, #f59e0b);
63
63
  }
64
64
  }
65
- `, O = v((s, m) => {
65
+ `, j = b((s, m) => {
66
66
  const {
67
67
  title: c,
68
68
  items: t,
@@ -73,39 +73,42 @@ const S = l.div`
73
73
  onSelectCity: h = () => {
74
74
  },
75
75
  onSelectOption: u = () => {
76
+ },
77
+ onSelectAll: x = () => {
76
78
  }
77
79
  } = s;
78
- return /* @__PURE__ */ i(S, { ref: m, children: [
80
+ return /* @__PURE__ */ i(N, { ref: m, children: [
79
81
  /* @__PURE__ */ o("div", { className: "wrapper-title", children: c }),
80
82
  (a == null ? void 0 : a.length) > 0 && /* @__PURE__ */ o(
81
- w,
83
+ S,
82
84
  {
83
85
  items: a,
84
86
  selectedIds: g,
85
87
  onSelect: (e, n) => {
86
88
  u(e, n);
87
89
  },
90
+ onSelectAll: x,
88
91
  labelKey: "name",
89
92
  valueKey: "code",
90
93
  noMargin: !0
91
94
  }
92
95
  ),
93
- /* @__PURE__ */ o(N, { children: t == null ? void 0 : t.map((e, n) => {
96
+ /* @__PURE__ */ o(C, { children: t == null ? void 0 : t.map((e, n) => {
94
97
  var d;
95
- return /* @__PURE__ */ i(C, { children: [
98
+ return /* @__PURE__ */ i(k, { children: [
96
99
  /* @__PURE__ */ o("div", { className: "region", onClick: () => f(e), children: e == null ? void 0 : e.name }),
97
- /* @__PURE__ */ o("div", { className: "group-items", children: (d = e == null ? void 0 : e.cities) == null ? void 0 : d.map((r, x) => /* @__PURE__ */ o(b, { children: /* @__PURE__ */ i("div", { className: "city", onClick: () => h(r), children: [
100
+ /* @__PURE__ */ o("div", { className: "group-items", children: (d = e == null ? void 0 : e.cities) == null ? void 0 : d.map((r, v) => /* @__PURE__ */ o(w, { children: /* @__PURE__ */ i("div", { className: "city", onClick: () => h(r), children: [
98
101
  /* @__PURE__ */ o("span", { children: r == null ? void 0 : r.name }),
99
102
  /* @__PURE__ */ i("span", { className: "count-txt", children: [
100
103
  "(",
101
104
  r == null ? void 0 : r.count,
102
105
  ")"
103
106
  ] })
104
- ] }) }, n + x)) })
107
+ ] }) }, n + v)) })
105
108
  ] }, n);
106
109
  }) })
107
110
  ] });
108
111
  });
109
112
  export {
110
- O as default
113
+ j as default
111
114
  };
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),g=require("react"),u=require("./Button.cjs"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./utils-BXPz9bck.cjs"),_=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),p=require("./consts-CtNoHdBj.cjs"),w=c.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),m=require("react"),f=require("./Button.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./utils-DhRHf5Ed.cjs"),u=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=require("./consts-CtNoHdBj.cjs"),_=d.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -114,7 +114,7 @@
114
114
  }
115
115
  }
116
116
  }
117
- `,b=g.forwardRef(({title:t,imageUrl:e,description:n,buttonText:a,onSelectCard:o=()=>{},className:l,position:s,selectAction:d,tag:m,backgroundColor:x},h)=>{const f=_.useTheme();return r.jsx(r.Fragment,{children:r.jsxs(w,{ref:h,theme:f,className:l,onClick:o,position:s,backgroundColor:x,children:[r.jsx("img",{src:e,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__text",children:[m&&r.jsx("div",{className:"text__tag",children:m}),r.jsx("div",{className:"text__title",children:t}),i.isDefinedNotEmptyString(n)&&r.jsx("div",{className:"text__description",children:n}),i.isDefinedNotEmptyString(a)&&r.jsx(u,{text:a,onClick:()=>o(d),className:"text__action"})]})]})})}),v=c.styled.div`
117
+ `,w=m.forwardRef(({title:t,imageUrl:e,description:n,buttonText:a,onSelectCard:l=()=>{},className:o,position:s,tag:c,backgroundColor:p},x)=>{const h=u.useTheme();return r.jsx(r.Fragment,{children:r.jsxs(_,{ref:x,theme:h,className:o,position:s,backgroundColor:p,children:[r.jsx("img",{src:e,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__text",children:[c&&r.jsx("div",{className:"text__tag",children:c}),r.jsx("div",{className:"text__title",children:t}),i.isDefinedNotEmptyString(n)&&r.jsx("div",{className:"text__description",children:n}),i.isDefinedNotEmptyString(a)&&r.jsx(f,{text:a,onClick:l,className:"text__action"})]})]})})}),b=d.styled.div`
118
118
  display: flex;
119
119
  flex-direction: column;
120
120
  gap: 1.5rem;
@@ -138,7 +138,7 @@
138
138
  }
139
139
  }
140
140
 
141
- @media (max-width: ${p.MOBILE_SIZE_PX+"px"}) {
141
+ @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
142
142
  gap: 1.25rem;
143
143
 
144
144
  & .regular-title {
@@ -149,7 +149,7 @@
149
149
  }
150
150
  }
151
151
  }
152
- `,y=c.styled.div`
152
+ `,v=d.styled.div`
153
153
  display: grid;
154
154
  grid-template-columns: ${t=>"repeat(12, minmax(0, 1fr))"};
155
155
 
@@ -159,7 +159,7 @@
159
159
  height: 30rem;
160
160
  max-height: 30rem;
161
161
 
162
- @media (max-width: ${p.MOBILE_SIZE_PX+"px"}) {
162
+ @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
163
163
  display: flex;
164
164
  flex-direction: column;
165
165
  gap: 1rem;
@@ -168,4 +168,4 @@
168
168
  max-height: 100%;
169
169
  padding: 0 1rem;
170
170
  }
171
- `,j=g.forwardRef(({title:t,items:e,limit:n=3,onSelectCard:a=()=>{}},o)=>r.jsxs(v,{ref:o,children:[r.jsx("div",{className:"regular-title",children:r.jsx("div",{className:"regular-title-text",children:r.jsx("span",{children:t})})}),r.jsx(y,{limit:n,children:e&&(e==null?void 0:e.map((l,s)=>r.jsx(b,{...l,onSelectCard:d=>a(d,l)},`landing-page-masonry-general-card__${s+1}`)))})]}));module.exports=j;
171
+ `,y=m.forwardRef(({title:t,items:e,limit:n=3,onSelectCard:a=()=>{}},l)=>r.jsxs(b,{ref:l,children:[r.jsx("div",{className:"regular-title",children:r.jsx("div",{className:"regular-title-text",children:r.jsx("span",{children:t})})}),r.jsx(v,{limit:n,children:e&&(e==null?void 0:e.map((o,s)=>r.jsx(w,{...o,onSelectCard:()=>a(o)},`landing-page-masonry-general-card__${s+1}`)))})]}));module.exports=y;