@lanaco/lnc-react-ui 4.0.92 → 4.0.94

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 (236) 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 +16 -2
  14. package/dist/BannerSectionCarousel.js +16 -1
  15. package/dist/BannerSectionWithList.cjs +1 -1
  16. package/dist/BannerSectionWithList.js +1 -1
  17. package/dist/BlogCardsSponsoredSection.cjs +4 -3
  18. package/dist/BlogCardsSponsoredSection.js +4 -3
  19. package/dist/BlogCategoryCardsSection.cjs +1 -1
  20. package/dist/BlogCategoryCardsSection.js +1 -1
  21. package/dist/BlogListSection.cjs +1 -1
  22. package/dist/BlogListSection.js +3 -3
  23. package/dist/BlogProductCardsSection.cjs +1 -1
  24. package/dist/BlogProductCardsSection.js +2 -2
  25. package/dist/BlogShopCardsSection.cjs +1 -1
  26. package/dist/BlogShopCardsSection.js +1 -1
  27. package/dist/BlogSingleSection.cjs +1 -1
  28. package/dist/BlogSingleSection.js +2 -2
  29. package/dist/BlogsSectionDetailed.cjs +2 -2
  30. package/dist/BlogsSectionDetailed.js +4 -3
  31. package/dist/BlogsSectionLarge.cjs +1 -1
  32. package/dist/BlogsSectionLarge.js +2 -2
  33. package/dist/BlogsSectionSimple.cjs +5 -5
  34. package/dist/BlogsSectionSimple.js +22 -21
  35. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  36. package/dist/BlogsSectionSimpleCentered.js +2 -2
  37. package/dist/BlogsSectionWithFilters.cjs +1 -1
  38. package/dist/BlogsSectionWithFilters.js +4 -4
  39. package/dist/BrandHitsSection.cjs +1 -1
  40. package/dist/BrandHitsSection.js +1 -1
  41. package/dist/Breadcrumbs.cjs +1 -1
  42. package/dist/Breadcrumbs.js +1 -1
  43. package/dist/Button.cjs +1 -1
  44. package/dist/Button.js +1 -1
  45. package/dist/ButtonGroup.cjs +1 -1
  46. package/dist/ButtonGroup.js +1 -1
  47. package/dist/CalorieCalculatorSection.cjs +1 -1
  48. package/dist/CalorieCalculatorSection.js +1 -1
  49. package/dist/CheckBoxInput.cjs +1 -1
  50. package/dist/CheckBoxInput.js +1 -1
  51. package/dist/Chip.cjs +1 -1
  52. package/dist/Chip.js +1 -1
  53. package/dist/ColorInput.cjs +1 -1
  54. package/dist/ColorInput.js +1 -1
  55. package/dist/ConfirmationForm.cjs +1 -1
  56. package/dist/ConfirmationForm.js +1 -1
  57. package/dist/CustomLoanMapSection.cjs +1 -1
  58. package/dist/CustomLoanMapSection.js +1 -1
  59. package/dist/{CustomStyles-DYULk9y7.js → CustomStyles-9CHBrzIM.js} +1 -1
  60. package/dist/{CustomStyles-Uqkz9jDo.cjs → CustomStyles-BoYYyJVV.cjs} +1 -1
  61. package/dist/DateInput.cjs +1 -1
  62. package/dist/DateInput.js +1 -1
  63. package/dist/DecimalInput.cjs +1 -1
  64. package/dist/DecimalInput.js +1 -1
  65. package/dist/DecimalInputV2.cjs +1 -1
  66. package/dist/DecimalInputV2.js +1 -1
  67. package/dist/DetailedProductsSection.cjs +1 -1
  68. package/dist/DetailedProductsSection.js +4 -4
  69. package/dist/DetailsView.cjs +1 -1
  70. package/dist/DetailsView.js +1 -1
  71. package/dist/DoubleRangeSlider.cjs +1 -1
  72. package/dist/DoubleRangeSlider.js +1 -1
  73. package/dist/DragAndDropFile.cjs +1 -1
  74. package/dist/DragAndDropFile.js +1 -1
  75. package/dist/DragDropFiles.cjs +1 -1
  76. package/dist/DragDropFiles.js +1 -1
  77. package/dist/Drawer.cjs +1 -1
  78. package/dist/Drawer.js +1 -1
  79. package/dist/Dropdown.cjs +1 -1
  80. package/dist/Dropdown.js +2 -2
  81. package/dist/DropdownItem.cjs +1 -1
  82. package/dist/DropdownItem.js +1 -1
  83. package/dist/DropdownLookup.cjs +1 -1
  84. package/dist/DropdownLookup.js +1 -1
  85. package/dist/DropdownMenu.cjs +1 -1
  86. package/dist/DropdownMenu.js +1 -1
  87. package/dist/EditableTable.cjs +1 -1
  88. package/dist/EditableTable.js +1 -1
  89. package/dist/FeedbackSection.cjs +1 -1
  90. package/dist/FeedbackSection.js +1 -1
  91. package/dist/FieldOfInterestsMasonrySection.cjs +32 -8
  92. package/dist/FieldOfInterestsMasonrySection.js +83 -59
  93. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  94. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
  95. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
  96. package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
  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 +3 -3
  106. package/dist/GeneralWithTagsCardsSection.js +3 -3
  107. package/dist/GiftCardsSection.cjs +4 -4
  108. package/dist/GiftCardsSection.js +30 -29
  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 +1 -1
  126. package/dist/LocationSearchSection.js +1 -1
  127. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  128. package/dist/MasonryGeneralCardsSection.js +1 -1
  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 +2 -2
  148. package/dist/OverlayGeneralCardsSection.js +3 -3
  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 +3 -3
  155. package/dist/ProgressBar.cjs +1 -1
  156. package/dist/ProgressBar.js +1 -1
  157. package/dist/QuattroCardsSection.cjs +18 -18
  158. package/dist/QuattroCardsSection.js +35 -35
  159. package/dist/QuizSection.cjs +1 -1
  160. package/dist/QuizSection.js +1 -1
  161. package/dist/RadioInput.cjs +1 -1
  162. package/dist/RadioInput.js +1 -1
  163. package/dist/RangeSlider.cjs +1 -1
  164. package/dist/RangeSlider.js +1 -1
  165. package/dist/ReviewsSection.cjs +1 -1
  166. package/dist/ReviewsSection.js +2 -2
  167. package/dist/SalesCampaignsSection.cjs +43 -39
  168. package/dist/SalesCampaignsSection.js +391 -337
  169. package/dist/Separator.cjs +1 -1
  170. package/dist/Separator.js +1 -1
  171. package/dist/ShopCardsSection.cjs +3 -2
  172. package/dist/ShopCardsSection.js +3 -2
  173. package/dist/Sidebar.cjs +1 -1
  174. package/dist/Sidebar.js +1 -1
  175. package/dist/SimpleCategoriesSection.cjs +2 -2
  176. package/dist/SimpleCategoriesSection.js +19 -18
  177. package/dist/SimpleProductsSection.cjs +1 -1
  178. package/dist/SimpleProductsSection.js +2 -2
  179. package/dist/Spinner.cjs +1 -1
  180. package/dist/Spinner.js +1 -1
  181. package/dist/Surface.cjs +1 -1
  182. package/dist/Surface.js +1 -1
  183. package/dist/SwipeableDrawer.cjs +1 -1
  184. package/dist/SwipeableDrawer.js +1 -1
  185. package/dist/TabItem.cjs +1 -1
  186. package/dist/TabItem.js +1 -1
  187. package/dist/Table.cjs +1 -1
  188. package/dist/Table.js +67 -67
  189. package/dist/TableView.cjs +1 -1
  190. package/dist/TableView.js +1 -1
  191. package/dist/TextAreaInput.cjs +1 -1
  192. package/dist/TextAreaInput.js +1 -1
  193. package/dist/TextInput.cjs +1 -1
  194. package/dist/TextInput.js +1 -1
  195. package/dist/ThemeProvider.cjs +1 -1
  196. package/dist/ThemeProvider.js +1 -1
  197. package/dist/TimeInput.cjs +1 -1
  198. package/dist/TimeInput.js +1 -1
  199. package/dist/Toggle.cjs +1 -1
  200. package/dist/Toggle.js +1 -1
  201. package/dist/TreeMenuSeparator.cjs +1 -1
  202. package/dist/TreeMenuSeparator.js +1 -1
  203. package/dist/UploadedFile.cjs +1 -1
  204. package/dist/UploadedFile.js +1 -1
  205. package/dist/UrgentSaleProductsSection.cjs +1 -1
  206. package/dist/UrgentSaleProductsSection.js +1 -1
  207. package/dist/{index-Kx8irvHH.js → index-4fcFA8kU.js} +1 -1
  208. package/dist/{index-DpdPtPbo.js → index-BKeVVABC.js} +1 -1
  209. package/dist/{index-DZDz9qZP.cjs → index-C1a0CtEE.cjs} +1 -1
  210. package/dist/{index-66FyQgVV.cjs → index-Ce6e4efi.cjs} +1 -1
  211. package/dist/{index-D86vS9UF.js → index-DQyZFR-C.js} +1 -1
  212. package/dist/{index-DMysapsB.cjs → index-DkzN10w_.cjs} +1 -1
  213. package/dist/{index-DfHm_Mv1.js → index-DtlD7gBK.js} +4 -4
  214. package/dist/{index-D8lR_JKg.cjs → index-DyMv0g-E.cjs} +2 -2
  215. package/dist/{index-BRgZcjpI.cjs → index-XrPpEvxt.cjs} +1 -1
  216. package/dist/{index-Cru8Sd2q.js → index-yrKiIPH4.js} +2 -2
  217. package/dist/index.cjs +1 -1
  218. package/dist/index.js +1 -1
  219. package/dist/{skeleton-TrselJrj.js → skeleton-BSnQLxpv.js} +1 -1
  220. package/dist/{skeleton-DwZzdFei.cjs → skeleton-C2HxO51q.cjs} +1 -1
  221. package/dist/{skeleton-BrUEdt6Z.js → skeleton-DLOaT8ip.js} +2 -2
  222. package/dist/{skeleton-BcaMeKFQ.cjs → skeleton-DdxUz868.cjs} +1 -1
  223. package/dist/{style-B8wrlDzY.cjs → style-Ce-JyTaX.cjs} +5 -1
  224. package/dist/{style-C3-67TPD.js → style-DU0BlP5D.js} +5 -1
  225. package/dist/{suspense-categories-card-simple-BCn3U1cz.js → suspense-categories-card-simple-BKWKpuwr.js} +1 -1
  226. package/dist/{suspense-categories-card-simple-B2swGa6t.cjs → suspense-categories-card-simple-CkULM0Bi.cjs} +1 -1
  227. package/dist/{suspense-large-DgzTM-qh.js → suspense-large-C-YSgzDe.js} +1 -1
  228. package/dist/{suspense-large-DMhn-lIG.cjs → suspense-large-ZUb9b6MG.cjs} +1 -1
  229. package/dist/{suspense-product-card-detailed-CuExvgd_.cjs → suspense-product-card-detailed-EXZJLtNh.cjs} +2 -2
  230. package/dist/{suspense-product-card-detailed-D7hKisw1.js → suspense-product-card-detailed-Z0emIstD.js} +4 -4
  231. package/dist/{suspense-product-card-simple-zYdZVLRz.cjs → suspense-product-card-simple-CVbhvQWo.cjs} +1 -1
  232. package/dist/{suspense-product-card-simple-BIVIVybi.js → suspense-product-card-simple-DF6bMLDk.js} +1 -1
  233. package/dist/utils-BOtq2mcF.cjs +51 -0
  234. package/dist/{utils-BXCGNjIy.js → utils-WHYrEnYF.js} +65 -52
  235. package/package.json +1 -1
  236. package/dist/utils-BWzf4vLl.cjs +0 -51
@@ -3,10 +3,10 @@ import { forwardRef as N, Suspense as A, memo as B, useMemo as L } from "react";
3
3
  import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as T } from "./consts-BuFChS64.js";
5
5
  import { u as D } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { o as v, p as P, v as z, s as M, w as C, k as w } from "./utils-BXCGNjIy.js";
7
- import { B as I, R as U } from "./style-C3-67TPD.js";
6
+ import { o as v, p as P, v as z, s as M, w as C, k as w } from "./utils-WHYrEnYF.js";
7
+ import { B as I, R as U } from "./style-DU0BlP5D.js";
8
8
  import W from "./Button.js";
9
- import { P as j } from "./index-D86vS9UF.js";
9
+ import { P as j } from "./index-DQyZFR-C.js";
10
10
  const E = y.div`
11
11
  display: grid;
12
12
  grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
@@ -252,6 +252,7 @@ const E = y.div`
252
252
  (g = e == null ? void 0 : e.target) == null || g.blur(), s(u);
253
253
  },
254
254
  borderRadius: "curved",
255
+ className: "button-link",
255
256
  children: f
256
257
  }
257
258
  )
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),s=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),b=require("./useDetectMobile-zkbzoOGV.cjs"),q=require("./index-DMysapsB.cjs"),C=require("./suspense-large-DMhn-lIG.cjs"),f=p.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),s=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),b=require("./useDetectMobile-zkbzoOGV.cjs"),q=require("./index-DkzN10w_.cjs"),C=require("./suspense-large-ZUb9b6MG.cjs"),f=p.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${l=>`repeat(${l.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -3,8 +3,8 @@ import { memo as c, forwardRef as f, useMemo as S } from "react";
3
3
  import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as b } from "./consts-BuFChS64.js";
5
5
  import { u as B } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { B as M } from "./index-Cru8Sd2q.js";
7
- import { S as L } from "./suspense-large-DgzTM-qh.js";
6
+ import { B as M } from "./index-yrKiIPH4.js";
7
+ import { S as L } from "./suspense-large-C-YSgzDe.js";
8
8
  const h = C.div`
9
9
  display: grid;
10
10
  grid-template-columns: ${(l) => `repeat(${l.limit}, minmax(0, 1fr))`};
@@ -1,12 +1,12 @@
1
- "use strict";const r=require("react/jsx-runtime"),c=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),N=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-BWzf4vLl.cjs"),x=require("./style-B8wrlDzY.cjs"),q=require("./Button.cjs"),R=require("./Link.cjs"),M=require("./index-BRgZcjpI.cjs"),B=p.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),c=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),N=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-BOtq2mcF.cjs"),x=require("./style-Ce-JyTaX.cjs"),q=require("./Button.cjs"),R=require("./Link.cjs"),M=require("./index-XrPpEvxt.cjs"),B=p.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${t=>`repeat(${t.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
5
5
 
6
- @media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
6
+ @media (max-width: ${b.MOBILE_SIZE_PX+"px"}) {
7
7
  grid-template-columns: repeat(1, 1fr);
8
8
  }
9
- `,b=p.styled.div`
9
+ `,S=p.styled.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  width: 100%;
@@ -46,7 +46,7 @@
46
46
  margin-top: auto;
47
47
  }
48
48
 
49
- @media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
49
+ @media (max-width: ${b.MOBILE_SIZE_PX+"px"}) {
50
50
  }
51
51
  `,y=p.styled.div`
52
52
  padding: 1rem 1rem 0 1rem;
@@ -68,4 +68,4 @@
68
68
  color: var(--gray-700, #4e555f);
69
69
  ${u.truncateTextInRows(3)}
70
70
  }
71
- `,$=c.forwardRef((t,o)=>{const{title:i,imageUrl:s,text:l,onCardClick:d,readMoreText:m="Read more"}=t;return r.jsxs(b,{ref:o,className:"blog-card",onClick:d,children:[r.jsx(M.ProductImageWrapper,{src:s}),r.jsxs(y,{children:[r.jsx("div",{className:"text-wr-title",children:i}),r.jsx("div",{className:"text-wr",children:l})]}),r.jsx(R,{className:"action",color:"gray",onClick:d,children:m})]})}),I=c.forwardRef(({},t)=>r.jsxs(b,{className:"product-card",children:[r.jsx("div",{className:"skeleton-img"}),r.jsx("div",{className:"card-title"}),r.jsx(y,{})]})),P=({limit:t=3,isLoading:o=!1,keyPrefix:i})=>r.jsx(r.Fragment,{children:Array.from({length:t},(s,l)=>r.jsx(I,{isLoading:o},`${i}-skeleton-product-card-${l}`))}),T=({children:t,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:i=!1,limit:s,keyPrefix:l})=>r.jsx(c.Suspense,{fallbackComponent:o,children:i===!0?r.jsx(P,{isLoading:i,limit:s,keyPrefix:l}):t}),j=c.memo($),_=c.forwardRef((t,o)=>{const{icon:i,title:s,onButtonAction:l=()=>{},onSelectCard:d=()=>{},buttonLink:m,items:n,buttonText:v,limit:g=3,isLoading:w=!1,getImage:h=()=>{},readMoreText:f="Read more"}=t,k=N.useDetectMobile(),C=c.useMemo(()=>r.jsx(r.Fragment,{children:k===!0?n==null?void 0:n.map((e,a)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a)):n==null?void 0:n.slice(0,g).map((e,a)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a))}),[n]);return r.jsxs(x.RegulatTitleSectionWrapper,{ref:o,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[u.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:s})]}),u.isDefinedNotEmptyString(m)&&r.jsx(q,{type:"button",btnType:"tinted",color:"gray",onClick:e=>{var a;(a=e==null?void 0:e.target)==null||a.blur(),l(m)},borderRadius:"curved",children:v})]}),r.jsx(B,{limit:g,children:r.jsx(T,{isLoading:w,limit:g,keyPrefix:"explore-landing",children:C})})]})});module.exports=_;
71
+ `,$=c.forwardRef((t,o)=>{const{title:i,imageUrl:s,text:l,onCardClick:d,readMoreText:m="Read more"}=t;return r.jsxs(S,{ref:o,className:"blog-card",onClick:d,children:[r.jsx(M.ProductImageWrapper,{src:s}),r.jsxs(y,{children:[r.jsx("div",{className:"text-wr-title",children:i}),r.jsx("div",{className:"text-wr",children:l})]}),r.jsx(R,{className:"action",color:"gray",onClick:d,children:m})]})}),I=c.forwardRef(({},t)=>r.jsxs(S,{className:"product-card",children:[r.jsx("div",{className:"skeleton-img"}),r.jsx("div",{className:"card-title"}),r.jsx(y,{})]})),P=({limit:t=3,isLoading:o=!1,keyPrefix:i})=>r.jsx(r.Fragment,{children:Array.from({length:t},(s,l)=>r.jsx(I,{isLoading:o},`${i}-skeleton-product-card-${l}`))}),T=({children:t,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:i=!1,limit:s,keyPrefix:l})=>r.jsx(c.Suspense,{fallbackComponent:o,children:i===!0?r.jsx(P,{isLoading:i,limit:s,keyPrefix:l}):t}),j=c.memo($),_=c.forwardRef((t,o)=>{const{icon:i,title:s,onButtonAction:l=()=>{},onSelectCard:d=()=>{},buttonLink:m,items:n,buttonText:v,limit:g=3,isLoading:w=!1,getImage:h=()=>{},readMoreText:f="Read more"}=t,k=N.useDetectMobile(),C=c.useMemo(()=>r.jsx(r.Fragment,{children:k===!0?n==null?void 0:n.map((e,a)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a)):n==null?void 0:n.slice(0,g).map((e,a)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a))}),[n]);return r.jsxs(x.RegulatTitleSectionWrapper,{ref:o,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[u.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:s})]}),u.isDefinedNotEmptyString(m)&&r.jsx(q,{type:"button",btnType:"tinted",color:"gray",onClick:e=>{var a;(a=e==null?void 0:e.target)==null||a.blur(),l(m)},borderRadius:"curved",className:"button-link",children:v})]}),r.jsx(B,{limit:g,children:r.jsx(T,{isLoading:w,limit:g,keyPrefix:"explore-landing",children:C})})]})});module.exports=_;
@@ -1,13 +1,13 @@
1
- import { jsxs as m, jsx as r, Fragment as g } from "react/jsx-runtime";
1
+ import { jsxs as d, jsx as r, Fragment as g } from "react/jsx-runtime";
2
2
  import { forwardRef as u, Suspense as B, memo as P, useMemo as R } from "react";
3
3
  import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as k } from "./consts-BuFChS64.js";
5
5
  import { u as T } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { o as I, p as U, k as b } from "./utils-BXCGNjIy.js";
7
- import { R as W } from "./style-C3-67TPD.js";
6
+ import { o as I, p as U, k as v } from "./utils-WHYrEnYF.js";
7
+ import { R as W } from "./style-DU0BlP5D.js";
8
8
  import z from "./Button.js";
9
9
  import j from "./Link.js";
10
- import { P as A } from "./index-D86vS9UF.js";
10
+ import { P as A } from "./index-DQyZFR-C.js";
11
11
  const E = h.div`
12
12
  display: grid;
13
13
  grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
@@ -80,9 +80,9 @@ const E = h.div`
80
80
  }
81
81
  `, L = u((t, o) => {
82
82
  const { title: i, imageUrl: n, text: l, onCardClick: c, readMoreText: s = "Read more" } = t;
83
- return /* @__PURE__ */ m(w, { ref: o, className: "blog-card", onClick: c, children: [
83
+ return /* @__PURE__ */ d(w, { ref: o, className: "blog-card", onClick: c, children: [
84
84
  /* @__PURE__ */ r(A, { src: n }),
85
- /* @__PURE__ */ m(y, { children: [
85
+ /* @__PURE__ */ d(y, { children: [
86
86
  /* @__PURE__ */ r("div", { className: "text-wr-title", children: i }),
87
87
  /* @__PURE__ */ r("div", { className: "text-wr", children: l })
88
88
  ] }),
@@ -90,7 +90,7 @@ const E = h.div`
90
90
  ] });
91
91
  }), _ = u(({}, t) => (
92
92
  // <LandingPageClearProductCardSkeleton />
93
- /* @__PURE__ */ m(w, { className: "product-card", children: [
93
+ /* @__PURE__ */ d(w, { className: "product-card", children: [
94
94
  /* @__PURE__ */ r("div", { className: "skeleton-img" }),
95
95
  /* @__PURE__ */ r("div", { className: "card-title" }),
96
96
  /* @__PURE__ */ r(y, {})
@@ -129,47 +129,48 @@ const E = h.div`
129
129
  isLoading: N = !1,
130
130
  getImage: f = () => {
131
131
  },
132
- readMoreText: v = "Read more"
133
- } = t, M = T(), $ = R(() => /* @__PURE__ */ r(g, { children: M === !0 ? a == null ? void 0 : a.map((e, d) => /* @__PURE__ */ r(
132
+ readMoreText: b = "Read more"
133
+ } = t, M = T(), $ = R(() => /* @__PURE__ */ r(g, { children: M === !0 ? a == null ? void 0 : a.map((e, m) => /* @__PURE__ */ r(
134
134
  S,
135
135
  {
136
136
  title: e == null ? void 0 : e.title,
137
137
  imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
138
138
  text: e == null ? void 0 : e.description,
139
139
  titleSlug: e == null ? void 0 : e.titleSlug,
140
- readMoreText: v,
140
+ readMoreText: b,
141
141
  onCardClick: () => c(e == null ? void 0 : e.titleSlug)
142
142
  },
143
- d
144
- )) : a == null ? void 0 : a.slice(0, p).map((e, d) => /* @__PURE__ */ r(
143
+ m
144
+ )) : a == null ? void 0 : a.slice(0, p).map((e, m) => /* @__PURE__ */ r(
145
145
  S,
146
146
  {
147
147
  title: e == null ? void 0 : e.title,
148
148
  imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
149
149
  text: e == null ? void 0 : e.description,
150
150
  titleSlug: e == null ? void 0 : e.titleSlug,
151
- readMoreText: v,
151
+ readMoreText: b,
152
152
  onCardClick: () => c(e == null ? void 0 : e.titleSlug)
153
153
  },
154
- d
154
+ m
155
155
  )) }), [a]);
156
- return /* @__PURE__ */ m(W, { ref: o, children: [
157
- /* @__PURE__ */ m("div", { className: "regular-title", children: [
158
- /* @__PURE__ */ m("div", { className: "regular-title-text", children: [
159
- b(i) && /* @__PURE__ */ r("i", { className: i }),
156
+ return /* @__PURE__ */ d(W, { ref: o, children: [
157
+ /* @__PURE__ */ d("div", { className: "regular-title", children: [
158
+ /* @__PURE__ */ d("div", { className: "regular-title-text", children: [
159
+ v(i) && /* @__PURE__ */ r("i", { className: i }),
160
160
  /* @__PURE__ */ r("span", { children: n })
161
161
  ] }),
162
- b(s) && /* @__PURE__ */ r(
162
+ v(s) && /* @__PURE__ */ r(
163
163
  z,
164
164
  {
165
165
  type: "button",
166
166
  btnType: "tinted",
167
167
  color: "gray",
168
168
  onClick: (e) => {
169
- var d;
170
- (d = e == null ? void 0 : e.target) == null || d.blur(), l(s);
169
+ var m;
170
+ (m = e == null ? void 0 : e.target) == null || m.blur(), l(s);
171
171
  },
172
172
  borderRadius: "curved",
173
+ className: "button-link",
173
174
  children: C
174
175
  }
175
176
  )
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./consts-goSZX3xP.cjs"),x=require("./useDetectMobile-zkbzoOGV.cjs"),m=require("./utils-BWzf4vLl.cjs"),w=require("./Button.cjs"),b=require("./index-BRgZcjpI.cjs"),j=u.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./consts-goSZX3xP.cjs"),x=require("./useDetectMobile-zkbzoOGV.cjs"),m=require("./utils-BOtq2mcF.cjs"),w=require("./Button.cjs"),b=require("./index-XrPpEvxt.cjs"),j=u.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -3,9 +3,9 @@ import { forwardRef as p, Suspense as k } from "react";
3
3
  import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as h } from "./consts-BuFChS64.js";
5
5
  import { u as C } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { o as f, p as v } from "./utils-BXCGNjIy.js";
6
+ import { o as f, p as v } from "./utils-WHYrEnYF.js";
7
7
  import y from "./Button.js";
8
- import { P as S } from "./index-D86vS9UF.js";
8
+ import { P as S } from "./index-DQyZFR-C.js";
9
9
  const $ = g.div`
10
10
  display: grid;
11
11
  grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),d=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),B=require("./useDetectMobile-zkbzoOGV.cjs"),c=require("./utils-BWzf4vLl.cjs"),M=require("./style-B8wrlDzY.cjs"),R=require("./Button.cjs"),W=require("./Link.cjs"),A=require("./index-BRgZcjpI.cjs"),I=require("./index-66FyQgVV.cjs"),P=p.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),d=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),B=require("./useDetectMobile-zkbzoOGV.cjs"),c=require("./utils-BOtq2mcF.cjs"),M=require("./style-Ce-JyTaX.cjs"),R=require("./Button.cjs"),W=require("./Link.cjs"),A=require("./index-XrPpEvxt.cjs"),I=require("./index-Ce6e4efi.cjs"),P=p.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -3,12 +3,12 @@ import { forwardRef as f, Suspense as A, memo as I, useMemo as O } from "react";
3
3
  import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as C } from "./consts-BuFChS64.js";
5
5
  import { u as R } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { o as h, p as j, k as y } from "./utils-BXCGNjIy.js";
7
- import { T as E } from "./style-C3-67TPD.js";
6
+ import { o as h, p as j, k as y } from "./utils-WHYrEnYF.js";
7
+ import { T as E } from "./style-DU0BlP5D.js";
8
8
  import F from "./Button.js";
9
9
  import L from "./Link.js";
10
- import { P as U } from "./index-D86vS9UF.js";
11
- import { S as _ } from "./index-DpdPtPbo.js";
10
+ import { P as U } from "./index-DQyZFR-C.js";
11
+ import { S as _ } from "./index-BKeVVABC.js";
12
12
  const D = b.div`
13
13
  display: grid;
14
14
  grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),p=require("react"),c=require("./utils-BWzf4vLl.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-goSZX3xP.cjs"),h=o.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),p=require("react"),c=require("./utils-BOtq2mcF.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-goSZX3xP.cjs"),h=o.styled.div`
2
2
  width: 7.5rem;
3
3
  height: auto;
4
4
  max-height: 7.5rem;
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as h } from "react/jsx-runtime";
2
2
  import { forwardRef as o } from "react";
3
- import { o as c, l as s } from "./utils-BXCGNjIy.js";
3
+ import { o as c, l as s } from "./utils-WHYrEnYF.js";
4
4
  import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import { M as l } from "./consts-BuFChS64.js";
6
6
  const g = d.div`
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime"),i=require("react"),t=require("./index-BPVoEhTF.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./utils-BWzf4vLl.cjs"),S=require("./Icon.cjs"),_=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),z=u.styled.div`
1
+ "use strict";const s=require("react/jsx-runtime"),i=require("react"),t=require("./index-BPVoEhTF.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./utils-BOtq2mcF.cjs"),S=require("./Icon.cjs"),_=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),z=u.styled.div`
2
2
  display: inline-flex;
3
3
  flex-wrap: wrap;
4
4
  ${o=>g.getComponentTypographyCss(o.theme,"Breadcrumbs",o.size,"enabled")};
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as u, Fragment as A } from "react/jsx-runtime";
2
2
  import { forwardRef as N, useState as O } from "react";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
4
  import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { c as P, b as S } from "./utils-BXCGNjIy.js";
5
+ import { c as P, b as S } from "./utils-WHYrEnYF.js";
6
6
  import v from "./Icon.js";
7
7
  import { u as R } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  const $ = c.div`
package/dist/Button.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const l=require("react/jsx-runtime"),w=require("react"),o=require("./index-BPVoEhTF.cjs"),C=require("./index-DAOBjHnD.cjs"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-BWzf4vLl.cjs"),V=require("./Icon.cjs"),W=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),B={small:{regular:"1rem",icon:"0.75rem",justIcon:"0.5rem"},medium:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"},large:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"}},f=e=>`
1
+ "use strict";const l=require("react/jsx-runtime"),w=require("react"),o=require("./index-BPVoEhTF.cjs"),C=require("./index-DAOBjHnD.cjs"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-BOtq2mcF.cjs"),V=require("./Icon.cjs"),W=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),B={small:{regular:"1rem",icon:"0.75rem",justIcon:"0.5rem"},medium:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"},large:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"}},f=e=>`
2
2
  outline: none;
3
3
  display: inline-flex;
4
4
  flex-direction: row;
package/dist/Button.js CHANGED
@@ -3,7 +3,7 @@ import { forwardRef as E } from "react";
3
3
  import { P as o } from "./index-S5Cd7WrG.js";
4
4
  import { i as y } from "./index-BlxaTV-D.js";
5
5
  import { s as r } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { c as x, b as t, d as c, h as T, e as z, a as q } from "./utils-BXCGNjIy.js";
6
+ import { c as x, b as t, d as c, h as T, e as z, a as q } from "./utils-WHYrEnYF.js";
7
7
  import j from "./Icon.js";
8
8
  import { u as A } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
9
  const k = {
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),o=require("./utils-BWzf4vLl.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),s=a.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),o=require("./utils-BOtq2mcF.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),s=a.styled.div`
2
2
  display: inline-flex;
3
3
  flex-wrap: wrap;
4
4
  width: fit-content;
@@ -1,7 +1,7 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
- import { b as o, a as b } from "./utils-BXCGNjIy.js";
4
+ import { b as o, a as b } from "./utils-WHYrEnYF.js";
5
5
  import { u as l } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  const s = i.div`
7
7
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),d=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),z=require("./Button.cjs"),I=require("./index-BPVoEhTF.cjs"),L=require("./RangeSlider.cjs"),F=require("./DropdownItem.cjs"),X=require("./DropdownMenu.cjs"),Z=require("./IconButton.cjs"),V=require("./BannerSectionWithList.cjs"),H=require("./utils-BWzf4vLl.cjs"),D=b.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),d=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),z=require("./Button.cjs"),I=require("./index-BPVoEhTF.cjs"),L=require("./RangeSlider.cjs"),F=require("./DropdownItem.cjs"),X=require("./DropdownMenu.cjs"),Z=require("./IconButton.cjs"),V=require("./BannerSectionWithList.cjs"),H=require("./utils-BOtq2mcF.cjs"),D=b.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -9,7 +9,7 @@ import _ from "./DropdownItem.js";
9
9
  import K from "./DropdownMenu.js";
10
10
  import X from "./IconButton.js";
11
11
  import Z from "./BannerSectionWithList.js";
12
- import { y as q } from "./utils-BXCGNjIy.js";
12
+ import { y as q } from "./utils-WHYrEnYF.js";
13
13
  const J = y.div`
14
14
  display: flex;
15
15
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("react/jsx-runtime"),z=require("react"),t=require("./index-BPVoEhTF.cjs"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-BWzf4vLl.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),V=e=>e=="left"?"row-reverse":"row",i=(e,s)=>`calc(${e.components.Checkbox.default.enabled.sizes[s]} / 2)`,O=R.styled.label`
1
+ "use strict";const n=require("react/jsx-runtime"),z=require("react"),t=require("./index-BPVoEhTF.cjs"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-BOtq2mcF.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),V=e=>e=="left"?"row-reverse":"row",i=(e,s)=>`calc(${e.components.Checkbox.default.enabled.sizes[s]} / 2)`,O=R.styled.label`
2
2
  -webkit-user-select: none;
3
3
  -moz-user-select: none;
4
4
  -ms-user-select: none;
@@ -2,7 +2,7 @@ import { jsxs as k, jsx as i, Fragment as B } from "react/jsx-runtime";
2
2
  import { forwardRef as I } from "react";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
4
  import { s as j } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { d as g, c as L, b as n, a as N, e as x } from "./utils-BXCGNjIy.js";
5
+ import { d as g, c as L, b as n, a as N, e as x } from "./utils-WHYrEnYF.js";
6
6
  import { u as P } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const R = (e) => e == "left" ? "row-reverse" : "row", o = (e, d) => `calc(${e.components.Checkbox.default.enabled.sizes[d]} / 2)`, T = j.label`
8
8
  -webkit-user-select: none;
package/dist/Chip.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),j=require("react"),r=require("./index-BPVoEhTF.cjs"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-BWzf4vLl.cjs"),O=require("./Avatar.cjs"),q=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),m=e=>{var o="fas";return`${o} fa-${e} fa-fw`},S=(e,o,l,a)=>e?`padding-right: ${a=="small"?"0.75rem":"0.625rem"}; padding-left: ${a=="small"?"0.25rem":"0.125rem"};`:o?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.5rem":"0.375rem"};`:l?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.75rem":"0.625rem"};`:`padding-right: ${a=="small"?"1rem":"0.75rem"}; padding-left: ${a=="small"?"1rem":"0.75rem"};`,F=w.styled.span`
1
+ "use strict";const t=require("react/jsx-runtime"),j=require("react"),r=require("./index-BPVoEhTF.cjs"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-BOtq2mcF.cjs"),O=require("./Avatar.cjs"),q=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),m=e=>{var o="fas";return`${o} fa-${e} fa-fw`},S=(e,o,l,a)=>e?`padding-right: ${a=="small"?"0.75rem":"0.625rem"}; padding-left: ${a=="small"?"0.25rem":"0.125rem"};`:o?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.5rem":"0.375rem"};`:l?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.75rem":"0.625rem"};`:`padding-right: ${a=="small"?"1rem":"0.75rem"}; padding-left: ${a=="small"?"1rem":"0.75rem"};`,F=w.styled.span`
2
2
  cursor: pointer;
3
3
  display: inline-flex;
4
4
  height: ${e=>n.getSizeValueWithUnits(e.theme,e.size)};
package/dist/Chip.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as u, jsx as c, Fragment as N } from "react/jsx-runtime";
2
2
  import { forwardRef as j } from "react";
3
3
  import { P as a } from "./index-S5Cd7WrG.js";
4
4
  import { s as B } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { d as b, h as D, b as t, a as F, c as S, g as V, e as U } from "./utils-BXCGNjIy.js";
5
+ import { d as b, h as D, b as t, a as F, c as S, g as V, e as U } from "./utils-WHYrEnYF.js";
6
6
  import W from "./Avatar.js";
7
7
  import { u as A } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  const h = (e) => {
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),b=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),n=require("./utils-BWzf4vLl.cjs"),N=require("./index-DaiUAQVF.cjs"),A=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),H=require("./useUpdateEffect-BtMgpgIV.cjs"),F=(e,r)=>`calc(${n.getSizeValueWithUnits(e,r)} - 1rem)`,L=P.styled.label`
1
+ "use strict";const i=require("react/jsx-runtime"),b=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),n=require("./utils-BOtq2mcF.cjs"),N=require("./index-DaiUAQVF.cjs"),A=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),H=require("./useUpdateEffect-BtMgpgIV.cjs"),F=(e,r)=>`calc(${n.getSizeValueWithUnits(e,r)} - 1rem)`,L=P.styled.label`
2
2
  display: inline-flex;
3
3
  align-items: center;
4
4
  gap: 0.5rem;
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as q } from "react/jsx-runtime";
2
2
  import { forwardRef as G, useState as R, useCallback as J } from "react";
3
3
  import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { P as t } from "./index-S5Cd7WrG.js";
5
- import { c as M, d, b as g, a as V, e as C, f as Q, h as X } from "./utils-BXCGNjIy.js";
5
+ import { c as M, d, b as g, a as V, e as C, f as Q, h as X } from "./utils-WHYrEnYF.js";
6
6
  import { d as Y } from "./index-CkWvbrVT.js";
7
7
  import { u as Z } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  import { u as _ } from "./useUpdateEffect-CuYWz7EA.js";
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),p=require("react"),r=require("./index-BPVoEhTF.cjs"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./Icon.cjs"),u=require("./utils-BWzf4vLl.cjs"),B=require("./Modal.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),E=y.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),p=require("react"),r=require("./index-BPVoEhTF.cjs"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./Icon.cjs"),u=require("./utils-BOtq2mcF.cjs"),B=require("./Modal.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),E=y.styled.div`
2
2
  display: flex;
3
3
  gap: 1rem;
4
4
  align-items: center;
@@ -3,7 +3,7 @@ import { forwardRef as S, cloneElement as E } from "react";
3
3
  import { P as r } from "./index-S5Cd7WrG.js";
4
4
  import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import m from "./Icon.js";
6
- import { b as d } from "./utils-BXCGNjIy.js";
6
+ import { b as d } from "./utils-WHYrEnYF.js";
7
7
  import M from "./Modal.js";
8
8
  import { u as V } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
9
  const q = f.div`
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),k=require("react"),z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./consts-goSZX3xP.cjs"),G=require("./index-DZDz9qZP.cjs"),J=require("./LoanCalculatorSection.cjs"),K=z.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),k=require("react"),z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./consts-goSZX3xP.cjs"),G=require("./index-C1a0CtEE.cjs"),J=require("./LoanCalculatorSection.cjs"),K=z.styled.div`
2
2
  display: flex;
3
3
  gap: 2rem;
4
4
 
@@ -2,7 +2,7 @@ import { jsxs as q, jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as z } from "react";
3
3
  import { s as D } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as G } from "./consts-BuFChS64.js";
5
- import { L as J } from "./index-Kx8irvHH.js";
5
+ import { L as J } from "./index-4fcFA8kU.js";
6
6
  import K from "./LoanCalculatorSection.js";
7
7
  const N = D.div`
8
8
  display: flex;
@@ -7,7 +7,7 @@ import { _ as Zt } from "./objectWithoutPropertiesLoose-DhwSMsjf.js";
7
7
  import { r as Pt } from "./index-64mXPFBC.js";
8
8
  import { a as Ht } from "./floating-ui.dom-B931An3C.js";
9
9
  import { i as Ve } from "./use-isomorphic-layout-effect.browser.esm-DERp5kr6.js";
10
- import { b as N, a as ue, g as Nt, d as te, m as Mt } from "./utils-BXCGNjIy.js";
10
+ import { b as N, a as ue, g as Nt, d as te, m as Mt } from "./utils-WHYrEnYF.js";
11
11
  function We(n, e) {
12
12
  var i = Object.keys(n);
13
13
  if (Object.getOwnPropertySymbols) {
@@ -1,4 +1,4 @@
1
- "use strict";const A=require("react"),h=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),O=require("./defineProperty-CqVRDJI8.cjs"),v=require("./emotion-react.browser.esm-1R69UXoj.cjs"),mt=require("./objectWithoutPropertiesLoose-BLga_MQA.cjs"),Ct=require("./index-EeoArxOx.cjs"),vt=require("./floating-ui.dom-CN4MB7mG.cjs"),ve=require("./use-isomorphic-layout-effect.browser.esm-CkGv31zs.cjs"),R=require("./utils-BWzf4vLl.cjs");function ft(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const u in n)if(u!=="default"){const i=Object.getOwnPropertyDescriptor(n,u);Object.defineProperty(e,u,i.get?i:{enumerable:!0,get:()=>n[u]})}}return e.default=n,Object.freeze(e)}const X=ft(A);function ye(n,e){var u=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),u.push.apply(u,i)}return u}function f(n){for(var e=1;e<arguments.length;e++){var u=arguments[e]!=null?arguments[e]:{};e%2?ye(Object(u),!0).forEach(function(i){O._defineProperty(n,i,u[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(u)):ye(Object(u)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(u,i))})}return n}function ht(n){if(Array.isArray(n))return n}function At(n,e){var u=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(u!=null){var i,t,a,r,s=[],o=!0,l=!1;try{if(a=(u=u.call(n)).next,e===0){if(Object(u)!==u)return;o=!1}else for(;!(o=(i=a.call(u)).done)&&(s.push(i.value),s.length!==e);o=!0);}catch(c){l=!0,t=c}finally{try{if(!o&&u.return!=null&&(r=u.return(),Object(r)!==r))return}finally{if(l)throw t}}return s}}function xt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ "use strict";const A=require("react"),h=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),O=require("./defineProperty-CqVRDJI8.cjs"),v=require("./emotion-react.browser.esm-1R69UXoj.cjs"),mt=require("./objectWithoutPropertiesLoose-BLga_MQA.cjs"),Ct=require("./index-EeoArxOx.cjs"),vt=require("./floating-ui.dom-CN4MB7mG.cjs"),ve=require("./use-isomorphic-layout-effect.browser.esm-CkGv31zs.cjs"),R=require("./utils-BOtq2mcF.cjs");function ft(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const u in n)if(u!=="default"){const i=Object.getOwnPropertyDescriptor(n,u);Object.defineProperty(e,u,i.get?i:{enumerable:!0,get:()=>n[u]})}}return e.default=n,Object.freeze(e)}const X=ft(A);function ye(n,e){var u=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),u.push.apply(u,i)}return u}function f(n){for(var e=1;e<arguments.length;e++){var u=arguments[e]!=null?arguments[e]:{};e%2?ye(Object(u),!0).forEach(function(i){O._defineProperty(n,i,u[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(u)):ye(Object(u)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(u,i))})}return n}function ht(n){if(Array.isArray(n))return n}function At(n,e){var u=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(u!=null){var i,t,a,r,s=[],o=!0,l=!1;try{if(a=(u=u.call(n)).next,e===0){if(Object(u)!==u)return;o=!1}else for(;!(o=(i=a.call(u)).done)&&(s.push(i.value),s.length!==e);o=!0);}catch(c){l=!0,t=c}finally{try{if(!o&&u.return!=null&&(r=u.return(),Object(r)!==r))return}finally{if(l)throw t}}return s}}function xt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function L(n,e){return ht(n)||At(n,e)||O._unsupportedIterableToArray(n,e)||xt()}function z(n,e){if(n==null)return{};var u,i,t=mt._objectWithoutPropertiesLoose(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(i=0;i<a.length;i++)u=a[i],e.indexOf(u)===-1&&{}.propertyIsEnumerable.call(n,u)&&(t[u]=n[u])}return t}var Gt=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Vt(n){var e=n.defaultInputValue,u=e===void 0?"":e,i=n.defaultMenuIsOpen,t=i===void 0?!1:i,a=n.defaultValue,r=a===void 0?null:a,s=n.inputValue,o=n.menuIsOpen,l=n.onChange,c=n.onInputChange,d=n.onMenuClose,b=n.onMenuOpen,I=n.value,C=z(n,Gt),m=A.useState(s!==void 0?s:u),g=L(m,2),p=g[0],B=g[1],G=A.useState(o!==void 0?o:t),V=L(G,2),y=V[0],E=V[1],F=A.useState(I!==void 0?I:r),x=L(F,2),S=x[0],M=x[1],D=A.useCallback(function(J,_){typeof l=="function"&&l(J,_),M(J)},[l]),N=A.useCallback(function(J,_){var K;typeof c=="function"&&(K=c(J,_)),B(K!==void 0?K:J)},[c]),j=A.useCallback(function(){typeof b=="function"&&b(),E(!0)},[b]),k=A.useCallback(function(){typeof d=="function"&&d(),E(!1)},[d]),H=s!==void 0?s:p,Z=o!==void 0?o:y,w=I!==void 0?I:S;return f(f({},C),{},{inputValue:H,menuIsOpen:Z,onChange:D,onInputChange:N,onMenuClose:k,onMenuOpen:j,value:w})}function Bt(n){if(Array.isArray(n))return O._arrayLikeToArray(n)}function yt(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function Et(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function he(n){return Bt(n)||yt(n)||O._unsupportedIterableToArray(n)||Et()}function Ft(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var Xt=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],le=function(){};function Rt(n,e){return e?e[0]==="-"?n+e:n+"__"+e:n}function St(n,e){for(var u=arguments.length,i=new Array(u>2?u-2:0),t=2;t<u;t++)i[t-2]=arguments[t];var a=[].concat(i);if(e&&n)for(var r in e)e.hasOwnProperty(r)&&e[r]&&a.push("".concat(Rt(n,r)));return a.filter(function(s){return s}).map(function(s){return String(s).trim()}).join(" ")}var Ee=function(e){return Jt(e)?e.filter(Boolean):O._typeof(e)==="object"&&e!==null?[e]:[]},Le=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var u=z(e,Xt);return f({},u)},W=function(e,u,i){var t=e.cx,a=e.getStyles,r=e.getClassNames,s=e.className;return{css:a(u,e),className:t(i??{},r(u,e),s)}};function Wt(n,e,u){if(u){var i=u(n,e);if(typeof i=="string")return i}return n}function de(n){return[document.documentElement,document.body,window].indexOf(n)>-1}function Zt(n){return de(n)?window.innerHeight:n.clientHeight}function ze(n){return de(n)?window.pageYOffset:n.scrollTop}function se(n,e){if(de(n)){window.scrollTo(0,e);return}n.scrollTop=e}function Pt(n){var e=getComputedStyle(n),u=e.position==="absolute",i=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var t=n;t=t.parentElement;)if(e=getComputedStyle(t),!(u&&e.position==="static")&&i.test(e.overflow+e.overflowY+e.overflowX))return t;return document.documentElement}function Ht(n,e,u,i){return u*((n=n/i-1)*n*n+1)+e}function ie(n,e){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:le,t=ze(n),a=e-t,r=10,s=0;function o(){s+=r;var l=Ht(s,t,a,u);se(n,l),s<u?window.requestAnimationFrame(o):i(n)}o()}function Fe(n,e){var u=n.getBoundingClientRect(),i=e.getBoundingClientRect(),t=e.offsetHeight/3;i.bottom+t>u.bottom?se(n,Math.min(e.offsetTop+e.clientHeight-n.offsetHeight+t,n.scrollHeight)):i.top-t<u.top&&se(n,Math.max(e.offsetTop-t,0))}function Mt(n){var e=n.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function Xe(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Nt(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var je=!1,Dt={get passive(){return je=!0}},oe=typeof window<"u"?window:{};oe.addEventListener&&oe.removeEventListener&&(oe.addEventListener("p",le,Dt),oe.removeEventListener("p",le,!1));var Tt=je;function Ot(n){return n!=null}function Jt(n){return Array.isArray(n)}function ae(n,e,u){return n?e:u}var Yt=function(e){for(var u=arguments.length,i=new Array(u>1?u-1:0),t=1;t<u;t++)i[t-1]=arguments[t];var a=Object.entries(e).filter(function(r){var s=L(r,1),o=s[0];return!i.includes(o)});return a.reduce(function(r,s){var o=L(s,2),l=o[0],c=o[1];return r[l]=c,r},{})},wt=["children","innerProps"],Lt=["children","innerProps"];function zt(n){var e=n.maxHeight,u=n.menuEl,i=n.minHeight,t=n.placement,a=n.shouldScroll,r=n.isFixedPosition,s=n.controlHeight,o=Pt(u),l={placement:"bottom",maxHeight:e};if(!u||!u.offsetParent)return l;var c=o.getBoundingClientRect(),d=c.height,b=u.getBoundingClientRect(),I=b.bottom,C=b.height,m=b.top,g=u.offsetParent.getBoundingClientRect(),p=g.top,B=r?window.innerHeight:Zt(o),G=ze(o),V=parseInt(getComputedStyle(u).marginBottom,10),y=parseInt(getComputedStyle(u).marginTop,10),E=p-y,F=B-m,x=E+G,S=d-G-m,M=I-B+G+V,D=G+m-y,N=160;switch(t){case"auto":case"bottom":if(F>=C)return{placement:"bottom",maxHeight:e};if(S>=C&&!r)return a&&ie(o,M,N),{placement:"bottom",maxHeight:e};if(!r&&S>=i||r&&F>=i){a&&ie(o,M,N);var j=r?F-V:S-V;return{placement:"bottom",maxHeight:j}}if(t==="auto"||r){var k=e,H=r?E:x;return H>=i&&(k=Math.min(H-V-s,e)),{placement:"top",maxHeight:k}}if(t==="bottom")return a&&se(o,M),{placement:"bottom",maxHeight:e};break;case"top":if(E>=C)return{placement:"top",maxHeight:e};if(x>=C&&!r)return a&&ie(o,D,N),{placement:"top",maxHeight:e};if(!r&&x>=i||r&&E>=i){var Z=e;return(!r&&x>=i||r&&E>=i)&&(Z=r?E-y:x-y),a&&ie(o,D,N),{placement:"top",maxHeight:Z}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(t,'".'))}return l}function jt(n){var e={bottom:"top",top:"bottom"};return n?e[n]:"bottom"}var ke=function(e){return e==="auto"?"bottom":e},kt=function(e,u){var i,t=e.placement,a=e.theme,r=a.borderRadius,s=a.spacing,o=a.colors;return f((i={label:"menu"},O._defineProperty(i,jt(t),"100%"),O._defineProperty(i,"position","absolute"),O._defineProperty(i,"width","100%"),O._defineProperty(i,"zIndex",1),i),u?{}:{backgroundColor:o.neutral0,borderRadius:r,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},Ue=A.createContext(null),Ut=function(e){var u=e.children,i=e.minMenuHeight,t=e.maxMenuHeight,a=e.menuPlacement,r=e.menuPosition,s=e.menuShouldScrollIntoView,o=e.theme,l=A.useContext(Ue)||{},c=l.setPortalPlacement,d=A.useRef(null),b=A.useState(t),I=L(b,2),C=I[0],m=I[1],g=A.useState(null),p=L(g,2),B=p[0],G=p[1],V=o.spacing.controlHeight;return ve.index(function(){var y=d.current;if(y){var E=r==="fixed",F=s&&!E,x=zt({maxHeight:t,menuEl:y,minHeight:i,placement:a,shouldScroll:F,isFixedPosition:E,controlHeight:V});m(x.maxHeight),G(x.placement),c==null||c(x.placement)}},[t,a,r,s,i,c,V]),u({ref:d,placerProps:f(f({},e),{},{placement:B||ke(a),maxHeight:C})})},Qt=function(e){var u=e.children,i=e.innerRef,t=e.innerProps;return v.jsx("div",h._extends({},W(e,"menu",{menu:!0}),{ref:i},t),u)},_t=Qt,Kt=function(e,u){var i=e.maxHeight,t=e.theme.spacing.baseUnit;return f({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},u?{}:{paddingBottom:t,paddingTop:t})},$t=function(e){var u=e.children,i=e.innerProps,t=e.innerRef,a=e.isMulti;return v.jsx("div",h._extends({},W(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:t},i),u)},Qe=function(e,u){var i=e.theme,t=i.spacing.baseUnit,a=i.colors;return f({textAlign:"center"},u?{}:{color:a.neutral40,padding:"".concat(t*2,"px ").concat(t*3,"px")})},qt=Qe,en=Qe,tn=function(e){var u=e.children,i=u===void 0?"No options":u,t=e.innerProps,a=z(e,wt);return v.jsx("div",h._extends({},W(f(f({},a),{},{children:i,innerProps:t}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),t),i)},nn=function(e){var u=e.children,i=u===void 0?"Loading...":u,t=e.innerProps,a=z(e,Lt);return v.jsx("div",h._extends({},W(f(f({},a),{},{children:i,innerProps:t}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),t),i)},un=function(e){var u=e.rect,i=e.offset,t=e.position;return{left:u.left,position:t,top:i,width:u.width,zIndex:1}},on=function(e){var u=e.appendTo,i=e.children,t=e.controlElement,a=e.innerProps,r=e.menuPlacement,s=e.menuPosition,o=A.useRef(null),l=A.useRef(null),c=A.useState(ke(r)),d=L(c,2),b=d[0],I=d[1],C=A.useMemo(function(){return{setPortalPlacement:I}},[]),m=A.useState(null),g=L(m,2),p=g[0],B=g[1],G=A.useCallback(function(){if(t){var F=Mt(t),x=s==="fixed"?0:window.pageYOffset,S=F[b]+x;(S!==(p==null?void 0:p.offset)||F.left!==(p==null?void 0:p.rect.left)||F.width!==(p==null?void 0:p.rect.width))&&B({offset:S,rect:F})}},[t,s,b,p==null?void 0:p.offset,p==null?void 0:p.rect.left,p==null?void 0:p.rect.width]);ve.index(function(){G()},[G]);var V=A.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),t&&o.current&&(l.current=vt.autoUpdate(t,o.current,G,{elementResize:"ResizeObserver"in window}))},[t,G]);ve.index(function(){V()},[V]);var y=A.useCallback(function(F){o.current=F,V()},[V]);if(!u&&s!=="fixed"||!p)return null;var E=v.jsx("div",h._extends({ref:y},W(f(f({},e),{},{offset:p.offset,position:s,rect:p.rect}),"menuPortal",{"menu-portal":!0}),a),i);return v.jsx(Ue.Provider,{value:C},u?Ct.reactDomExports.createPortal(E,u):E)},an=function(e){var u=e.isDisabled,i=e.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:u?"none":void 0,position:"relative"}},rn=function(e){var u=e.children,i=e.innerProps,t=e.isDisabled,a=e.isRtl;return v.jsx("div",h._extends({},W(e,"container",{"--is-disabled":t,"--is-rtl":a}),i),u)},ln=function(e,u){var i=e.theme.spacing,t=e.isMulti,a=e.hasValue,r=e.selectProps.controlShouldRenderValue;return f({alignItems:"center",display:t&&a&&r?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},u?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},sn=function(e){var u=e.children,i=e.innerProps,t=e.isMulti,a=e.hasValue;return v.jsx("div",h._extends({},W(e,"valueContainer",{"value-container":!0,"value-container--is-multi":t,"value-container--has-value":a}),i),u)},cn=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},dn=function(e){var u=e.children,i=e.innerProps;return v.jsx("div",h._extends({},W(e,"indicatorsContainer",{indicators:!0}),i),u)},Re,gn=["size"],bn=["innerProps","isRtl","size"];function In(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var pn=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9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wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:In},_e=function(e){var u=e.size,i=z(e,gn);return v.jsx("svg",h._extends({height:u,width:u,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:pn},i))},Ae=function(e){return v.jsx(_e,h._extends({size:20},e),v.jsx("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Ke=function(e){return v.jsx(_e,h._extends({size:20},e),v.jsx("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},$e=function(e,u){var i=e.isFocused,t=e.theme,a=t.spacing.baseUnit,r=t.colors;return f({label:"indicatorContainer",display:"flex",transition:"color 150ms"},u?{}:{color:i?r.neutral60:r.neutral20,padding:a*2,":hover":{color:i?r.neutral80:r.neutral40}})},mn=$e,Cn=function(e){var u=e.children,i=e.innerProps;return v.jsx("div",h._extends({},W(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),u||v.jsx(Ke,null))},vn=$e,fn=function(e){var u=e.children,i=e.innerProps;return v.jsx("div",h._extends({},W(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),u||v.jsx(Ae,null))},hn=function(e,u){var i=e.isDisabled,t=e.theme,a=t.spacing.baseUnit,r=t.colors;return f({label:"indicatorSeparator",alignSelf:"stretch",width:1},u?{}:{backgroundColor:i?r.neutral10:r.neutral20,marginBottom:a*2,marginTop:a*2})},An=function(e){var u=e.innerProps;return v.jsx("span",h._extends({},u,W(e,"indicatorSeparator",{"indicator-separator":!0})))},xn=v.keyframes(Re||(Re=Ft([`
4
4
  0%, 80%, 100% { opacity: 0; }
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const At=require("react/jsx-runtime"),v=require("react"),K=require("./index-BPVoEhTF.cjs"),Wa=require("./Icon.cjs"),Ua=require("./emotion-styled.browser.esm-BtEseadx.cjs"),I=require("./utils-BWzf4vLl.cjs"),ie=require("./index-gY9e_8LL.cjs"),h=require("./defineProperty-CqVRDJI8.cjs"),T=require("./setPrototypeOf-4aSEnBDm.cjs"),Ir=require("./index-EeoArxOx.cjs"),Qn=require("./_commonjsHelpers-DKOUU3wS.cjs"),Ha=require("./TextInput.cjs"),$a=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");function Ba(a){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:()=>a[r]})}}return n.default=a,Object.freeze(n)}const q=Ba(v),ja=Ua.styled.div`
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const At=require("react/jsx-runtime"),v=require("react"),K=require("./index-BPVoEhTF.cjs"),Wa=require("./Icon.cjs"),Ua=require("./emotion-styled.browser.esm-BtEseadx.cjs"),I=require("./utils-BOtq2mcF.cjs"),ie=require("./index-gY9e_8LL.cjs"),h=require("./defineProperty-CqVRDJI8.cjs"),T=require("./setPrototypeOf-4aSEnBDm.cjs"),Ir=require("./index-EeoArxOx.cjs"),Qn=require("./_commonjsHelpers-DKOUU3wS.cjs"),Ha=require("./TextInput.cjs"),$a=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");function Ba(a){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:()=>a[r]})}}return n.default=a,Object.freeze(n)}const q=Ba(v),ja=Ua.styled.div`
2
2
  ${a=>I.getComponentTypographyCss(a.theme,"DateInput",a.size,"enabled")}
3
3
  & .react-datepicker__header__dropdown {
4
4
  position: absolute !important;
package/dist/DateInput.js CHANGED
@@ -4,7 +4,7 @@ import m, { createElement as ja, Component as qa, createRef as Qa, forwardRef as
4
4
  import { P as J } from "./index-S5Cd7WrG.js";
5
5
  import Va from "./Icon.js";
6
6
  import { s as Xa } from "./emotion-styled.browser.esm-BNN1dTl3.js";
7
- import { c as mr, b as $ } from "./utils-BXCGNjIy.js";
7
+ import { c as mr, b as $ } from "./utils-WHYrEnYF.js";
8
8
  import { c as le } from "./index-Bq3leL2e.js";
9
9
  import { c as wt, a as za, d as R, e as L, g as Y, _, f as I } from "./defineProperty-DF3p0mVo.js";
10
10
  import { a as x } from "./setPrototypeOf-CttqfWo1.js";
@@ -1,4 +1,4 @@
1
- "use strict";const B=require("react/jsx-runtime"),v=require("./index-BPVoEhTF.cjs"),R=require("react"),ae=require("./index-DaiUAQVF.cjs"),K=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./utils-BWzf4vLl.cjs"),ie=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");function A(){}function oe(){return!0}function O(a){return!!(a||"").match(/\d/)}function W(a){return a==null}function q(a){return a.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function ne(a){switch(a){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function se(a,f,u){var e=ne(u),t=a.search(/[1-9]/);return t=t===-1?a.length:t,a.substring(0,t)+a.substring(t,a.length).replace(e,"$1"+f)}function z(a,f){f===void 0&&(f=!0);var u=a[0]==="-",e=u&&f;a=a.replace("-","");var t=a.split("."),r=t[0],o=t[1]||"";return{beforeDecimal:r,afterDecimal:o,hasNagation:u,addNegation:e}}function fe(a){if(!a)return a;var f=a[0]==="-";f&&(a=a.substring(1,a.length));var u=a.split("."),e=u[0].replace(/^0+/,"")||"0",t=u[1]||"";return(f?"-":"")+e+(t?"."+t:"")}function H(a,f,u){for(var e="",t=u?"0":"",r=0;r<=f-1;r++)e+=a[r]||t;return e}function G(a,f){return Array(f+1).join(a)}function le(a){a+="";var f=a[0]==="-"?"-":"";f&&(a=a.substring(1));var u=a.split(/[eE]/g),e=u[0],t=u[1];if(t=Number(t),!t)return f+e;e=e.replace(".","");var r=1+t,o=e.length;return r<0?e="0."+G("0",Math.abs(r))+e:r>=o?e=e+G("0",r-o):e=(e.substring(0,r)||"0")+"."+e.substring(r),f+e}function ue(a,f,u){if(["","-"].indexOf(a)!==-1)return a;var e=a.indexOf(".")!==-1&&f,t=z(a),r=t.beforeDecimal,o=t.afterDecimal,s=t.hasNagation,i=parseFloat("0."+(o||"0")),n=o.length<=f?"0."+o:i.toFixed(f),l=n.split("."),c=r.split("").reverse().reduce(function(m,y,x){return m.length>x?(Number(m[0])+Number(y)).toString()+m.substring(1,m.length):y+m},l[0]),p=H(l[1]||"",Math.min(f,o.length),u),d=s?"-":"",h=e?".":"";return""+d+c+h+p}function _(a,f){if(a.value=a.value,a!==null){if(a.createTextRange){var u=a.createTextRange();return u.move("character",f),u.select(),!0}return a.selectionStart||a.selectionStart===0?(a.focus(),a.setSelectionRange(f,f),!0):(a.focus(),!1)}}function pe(a,f){for(var u=0,e=0,t=a.length,r=f.length;a[u]===f[u]&&u<t;)u++;for(;a[t-1-e]===f[r-1-e]&&r-e>u&&t-e>u;)e++;return{start:u,end:t-e}}function L(a,f,u){return Math.min(Math.max(a,f),u)}function Z(a){return Math.max(a.selectionStart,a.selectionEnd)}function ce(a){return a||typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function de(a,f){var u={};for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&f.indexOf(e)===-1&&(u[e]=a[e]);return u}var me={displayType:"input",decimalSeparator:".",thousandsGroupStyle:"thousand",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,allowEmptyFormatting:!1,allowLeadingZeros:!1,isNumericString:!1,type:"text",onValueChange:A,onChange:A,onKeyDown:A,onMouseUp:A,onFocus:A,onBlur:A,isAllowed:oe},J=function(a){function f(u){a.call(this,u);var e=u.defaultValue;this.validateProps();var t=this.formatValueProp(e);this.state={value:t,numAsString:this.removeFormatting(t),mounted:!1},this.selectionBeforeInput={selectionStart:0,selectionEnd:0},this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}return a&&(f.__proto__=a),f.prototype=Object.create(a&&a.prototype),f.prototype.constructor=f,f.prototype.componentDidMount=function(){this.setState({mounted:!0})},f.prototype.componentDidUpdate=function(e){this.updateValueIfRequired(e)},f.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout)},f.prototype.updateValueIfRequired=function(e){var t=this,r=t.props,o=t.state,s=t.focusedElm,i=o.value,n=o.numAsString;if(n===void 0&&(n=""),e!==r){this.validateProps();var l=this.formatNumString(n),c=W(r.value)?l:this.formatValueProp(),p=this.removeFormatting(c),d=parseFloat(p),h=parseFloat(n);((!isNaN(d)||!isNaN(h))&&d!==h||l!==i||s===null&&c!==i)&&this.updateValue({formattedValue:c,numAsString:p,input:s,source:"prop",event:null})}},f.prototype.getFloatString=function(e){e===void 0&&(e="");var t=this.props,r=t.decimalScale,o=this.getSeparators(),s=o.decimalSeparator,i=this.getNumberRegex(!0),n=e[0]==="-";n&&(e=e.replace("-","")),s&&r===0&&(e=e.split(s)[0]),e=(e.match(i)||[]).join("").replace(s,".");var l=e.indexOf(".");return l!==-1&&(e=e.substring(0,l)+"."+e.substring(l+1,e.length).replace(new RegExp(q(s),"g"),"")),n&&(e="-"+e),e},f.prototype.getNumberRegex=function(e,t){var r=this.props,o=r.format,s=r.decimalScale,i=r.customNumerals,n=this.getSeparators(),l=n.decimalSeparator;return new RegExp("[0-9"+(i?i.join(""):"")+"]"+(l&&s!==0&&!t&&!o?"|"+q(l):""),e?"g":void 0)},f.prototype.getSeparators=function(){var e=this.props,t=e.decimalSeparator,r=this.props,o=r.thousandSeparator,s=r.allowedDecimalSeparators;return o===!0&&(o=","),s||(s=[t,"."]),{decimalSeparator:t,thousandSeparator:o,allowedDecimalSeparators:s}},f.prototype.getMaskAtIndex=function(e){var t=this.props,r=t.mask;return r===void 0&&(r=" "),typeof r=="string"?r:r[e]||" "},f.prototype.getValueObject=function(e,t){var r=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(r)?void 0:r}},f.prototype.validateProps=function(){var e=this.props,t=e.mask,r=this.getSeparators(),o=r.decimalSeparator,s=r.thousandSeparator;if(o===s)throw new Error(`
1
+ "use strict";const B=require("react/jsx-runtime"),v=require("./index-BPVoEhTF.cjs"),R=require("react"),ae=require("./index-DaiUAQVF.cjs"),K=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./utils-BOtq2mcF.cjs"),ie=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");function A(){}function oe(){return!0}function O(a){return!!(a||"").match(/\d/)}function W(a){return a==null}function q(a){return a.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function ne(a){switch(a){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function se(a,f,u){var e=ne(u),t=a.search(/[1-9]/);return t=t===-1?a.length:t,a.substring(0,t)+a.substring(t,a.length).replace(e,"$1"+f)}function z(a,f){f===void 0&&(f=!0);var u=a[0]==="-",e=u&&f;a=a.replace("-","");var t=a.split("."),r=t[0],o=t[1]||"";return{beforeDecimal:r,afterDecimal:o,hasNagation:u,addNegation:e}}function fe(a){if(!a)return a;var f=a[0]==="-";f&&(a=a.substring(1,a.length));var u=a.split("."),e=u[0].replace(/^0+/,"")||"0",t=u[1]||"";return(f?"-":"")+e+(t?"."+t:"")}function H(a,f,u){for(var e="",t=u?"0":"",r=0;r<=f-1;r++)e+=a[r]||t;return e}function G(a,f){return Array(f+1).join(a)}function le(a){a+="";var f=a[0]==="-"?"-":"";f&&(a=a.substring(1));var u=a.split(/[eE]/g),e=u[0],t=u[1];if(t=Number(t),!t)return f+e;e=e.replace(".","");var r=1+t,o=e.length;return r<0?e="0."+G("0",Math.abs(r))+e:r>=o?e=e+G("0",r-o):e=(e.substring(0,r)||"0")+"."+e.substring(r),f+e}function ue(a,f,u){if(["","-"].indexOf(a)!==-1)return a;var e=a.indexOf(".")!==-1&&f,t=z(a),r=t.beforeDecimal,o=t.afterDecimal,s=t.hasNagation,i=parseFloat("0."+(o||"0")),n=o.length<=f?"0."+o:i.toFixed(f),l=n.split("."),c=r.split("").reverse().reduce(function(m,y,x){return m.length>x?(Number(m[0])+Number(y)).toString()+m.substring(1,m.length):y+m},l[0]),p=H(l[1]||"",Math.min(f,o.length),u),d=s?"-":"",h=e?".":"";return""+d+c+h+p}function _(a,f){if(a.value=a.value,a!==null){if(a.createTextRange){var u=a.createTextRange();return u.move("character",f),u.select(),!0}return a.selectionStart||a.selectionStart===0?(a.focus(),a.setSelectionRange(f,f),!0):(a.focus(),!1)}}function pe(a,f){for(var u=0,e=0,t=a.length,r=f.length;a[u]===f[u]&&u<t;)u++;for(;a[t-1-e]===f[r-1-e]&&r-e>u&&t-e>u;)e++;return{start:u,end:t-e}}function L(a,f,u){return Math.min(Math.max(a,f),u)}function Z(a){return Math.max(a.selectionStart,a.selectionEnd)}function ce(a){return a||typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function de(a,f){var u={};for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&f.indexOf(e)===-1&&(u[e]=a[e]);return u}var me={displayType:"input",decimalSeparator:".",thousandsGroupStyle:"thousand",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,allowEmptyFormatting:!1,allowLeadingZeros:!1,isNumericString:!1,type:"text",onValueChange:A,onChange:A,onKeyDown:A,onMouseUp:A,onFocus:A,onBlur:A,isAllowed:oe},J=function(a){function f(u){a.call(this,u);var e=u.defaultValue;this.validateProps();var t=this.formatValueProp(e);this.state={value:t,numAsString:this.removeFormatting(t),mounted:!1},this.selectionBeforeInput={selectionStart:0,selectionEnd:0},this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}return a&&(f.__proto__=a),f.prototype=Object.create(a&&a.prototype),f.prototype.constructor=f,f.prototype.componentDidMount=function(){this.setState({mounted:!0})},f.prototype.componentDidUpdate=function(e){this.updateValueIfRequired(e)},f.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout)},f.prototype.updateValueIfRequired=function(e){var t=this,r=t.props,o=t.state,s=t.focusedElm,i=o.value,n=o.numAsString;if(n===void 0&&(n=""),e!==r){this.validateProps();var l=this.formatNumString(n),c=W(r.value)?l:this.formatValueProp(),p=this.removeFormatting(c),d=parseFloat(p),h=parseFloat(n);((!isNaN(d)||!isNaN(h))&&d!==h||l!==i||s===null&&c!==i)&&this.updateValue({formattedValue:c,numAsString:p,input:s,source:"prop",event:null})}},f.prototype.getFloatString=function(e){e===void 0&&(e="");var t=this.props,r=t.decimalScale,o=this.getSeparators(),s=o.decimalSeparator,i=this.getNumberRegex(!0),n=e[0]==="-";n&&(e=e.replace("-","")),s&&r===0&&(e=e.split(s)[0]),e=(e.match(i)||[]).join("").replace(s,".");var l=e.indexOf(".");return l!==-1&&(e=e.substring(0,l)+"."+e.substring(l+1,e.length).replace(new RegExp(q(s),"g"),"")),n&&(e="-"+e),e},f.prototype.getNumberRegex=function(e,t){var r=this.props,o=r.format,s=r.decimalScale,i=r.customNumerals,n=this.getSeparators(),l=n.decimalSeparator;return new RegExp("[0-9"+(i?i.join(""):"")+"]"+(l&&s!==0&&!t&&!o?"|"+q(l):""),e?"g":void 0)},f.prototype.getSeparators=function(){var e=this.props,t=e.decimalSeparator,r=this.props,o=r.thousandSeparator,s=r.allowedDecimalSeparators;return o===!0&&(o=","),s||(s=[t,"."]),{decimalSeparator:t,thousandSeparator:o,allowedDecimalSeparators:s}},f.prototype.getMaskAtIndex=function(e){var t=this.props,r=t.mask;return r===void 0&&(r=" "),typeof r=="string"?r:r[e]||" "},f.prototype.getValueObject=function(e,t){var r=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(r)?void 0:r}},f.prototype.validateProps=function(){var e=this.props,t=e.mask,r=this.getSeparators(),o=r.decimalSeparator,s=r.thousandSeparator;if(o===s)throw new Error(`
2
2
  Decimal separator can't be same as thousand separator.
3
3
  thousandSeparator: `+s+` (thousandSeparator = {true} is same as thousandSeparator = ",")
4
4
  decimalSeparator: `+o+` (default value for decimalSeparator is .)
@@ -3,7 +3,7 @@ import { P as v } from "./index-S5Cd7WrG.js";
3
3
  import B, { forwardRef as oe, useState as ne, useCallback as se } from "react";
4
4
  import { d as fe } from "./index-CkWvbrVT.js";
5
5
  import { s as G } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { d as M, b as R, a as le, e as ue, h as W, c as ce } from "./utils-BXCGNjIy.js";
6
+ import { d as M, b as R, a as le, e as ue, h as W, c as ce } from "./utils-WHYrEnYF.js";
7
7
  import { u as pe } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  function E() {
9
9
  }
@@ -1,4 +1,4 @@
1
- "use strict";const y=require("react/jsx-runtime"),i=require("./index-BPVoEhTF.cjs"),h=require("react"),V=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-BWzf4vLl.cjs"),M=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),Q=V.styled.div`
1
+ "use strict";const y=require("react/jsx-runtime"),i=require("./index-BPVoEhTF.cjs"),h=require("react"),V=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-BOtq2mcF.cjs"),M=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),Q=V.styled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
 
@@ -2,7 +2,7 @@ import { jsxs as Y, jsx as N } from "react/jsx-runtime";
2
2
  import { P as l } from "./index-S5Cd7WrG.js";
3
3
  import { forwardRef as Z, useState as F, useRef as _, useEffect as v } from "react";
4
4
  import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { d as m, b as u, a as R, e as A, h as P, c as ee } from "./utils-BXCGNjIy.js";
5
+ import { d as m, b as u, a as R, e as A, h as P, c as ee } from "./utils-WHYrEnYF.js";
6
6
  import { u as te } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const ne = k.div`
8
8
  display: flex;