@lanaco/lnc-react-ui 4.0.104 → 4.0.106

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 +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/BlogCardsSponsoredSection.cjs +1 -1
  18. package/dist/BlogCardsSponsoredSection.js +3 -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 +1 -1
  30. package/dist/BlogsSectionDetailed.js +3 -3
  31. package/dist/BlogsSectionLarge.cjs +1 -1
  32. package/dist/BlogsSectionLarge.js +2 -2
  33. package/dist/BlogsSectionSimple.cjs +1 -1
  34. package/dist/BlogsSectionSimple.js +3 -3
  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 +17 -15
  44. package/dist/Button.js +149 -136
  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 +10 -6
  54. package/dist/ColorInput.js +117 -87
  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-Dd8IsVV6.js} +1 -1
  60. package/dist/{CustomStyles-Uqkz9jDo.cjs → CustomStyles-DtKDPOdk.cjs} +1 -1
  61. package/dist/DateInput.cjs +1 -1
  62. package/dist/DateInput.js +1 -1
  63. package/dist/DecimalInput.cjs +28 -24
  64. package/dist/DecimalInput.js +315 -285
  65. package/dist/DecimalInputV2.cjs +23 -19
  66. package/dist/DecimalInputV2.js +124 -94
  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 +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 +1 -1
  96. package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
  97. package/dist/FileInput.cjs +25 -20
  98. package/dist/FileInput.js +86 -55
  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 +1 -1
  106. package/dist/GeneralWithTagsCardsSection.js +1 -1
  107. package/dist/GiftCardsSection.cjs +1 -1
  108. package/dist/GiftCardsSection.js +2 -2
  109. package/dist/Icon.cjs +1 -1
  110. package/dist/Icon.js +1 -1
  111. package/dist/IconButton.cjs +10 -10
  112. package/dist/IconButton.js +125 -121
  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 +23 -19
  146. package/dist/NumberInput.js +116 -86
  147. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  148. package/dist/OverlayGeneralCardsSection.js +2 -2
  149. package/dist/PasswordInput.cjs +23 -19
  150. package/dist/PasswordInput.js +94 -64
  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 +1 -1
  158. package/dist/QuattroCardsSection.js +1 -1
  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 +8 -8
  164. package/dist/RangeSlider.js +19 -17
  165. package/dist/ReviewsSection.cjs +1 -1
  166. package/dist/ReviewsSection.js +2 -2
  167. package/dist/SalesCampaignsSection.cjs +1 -1
  168. package/dist/SalesCampaignsSection.js +1 -1
  169. package/dist/Separator.cjs +1 -1
  170. package/dist/Separator.js +1 -1
  171. package/dist/ShopCardsSection.cjs +1 -1
  172. package/dist/ShopCardsSection.js +2 -2
  173. package/dist/Sidebar.cjs +1 -1
  174. package/dist/Sidebar.js +1 -1
  175. package/dist/SimpleCategoriesSection.cjs +1 -1
  176. package/dist/SimpleCategoriesSection.js +3 -3
  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 +1 -1
  189. package/dist/TableView.cjs +1 -1
  190. package/dist/TableView.js +1 -1
  191. package/dist/TextAreaInput.cjs +15 -12
  192. package/dist/TextAreaInput.js +70 -54
  193. package/dist/TextInput.cjs +23 -19
  194. package/dist/TextInput.js +90 -60
  195. package/dist/ThemeProvider.cjs +1 -1
  196. package/dist/ThemeProvider.js +1 -1
  197. package/dist/TimeInput.cjs +7 -5
  198. package/dist/TimeInput.js +47 -32
  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-C4gGt12B.cjs → index-B30K8mkW.cjs} +1 -1
  208. package/dist/{index-Kx8irvHH.js → index-BBMleFo5.js} +1 -1
  209. package/dist/{index-BRgZcjpI.cjs → index-BvSNRLNa.cjs} +1 -1
  210. package/dist/{index-C_T-BQ5p.cjs → index-C1DkD2ug.cjs} +1 -1
  211. package/dist/{index-DMysapsB.cjs → index-C9GK00PM.cjs} +1 -1
  212. package/dist/{index-Dcw6ecHw.js → index-CEI_JOki.js} +2 -2
  213. package/dist/{index-BPgWhA1t.js → index-CQLF61YV.js} +1 -1
  214. package/dist/{index-Cru8Sd2q.js → index-CTJpJFtr.js} +2 -2
  215. package/dist/{index-DZDz9qZP.cjs → index-Cg4t3q_p.cjs} +1 -1
  216. package/dist/{index-D86vS9UF.js → index-YGcWbzeb.js} +1 -1
  217. package/dist/index.cjs +1 -1
  218. package/dist/index.js +1 -1
  219. package/dist/{skeleton-BrUEdt6Z.js → skeleton-CkTNgaA3.js} +2 -2
  220. package/dist/{skeleton-BcaMeKFQ.cjs → skeleton-CoErfoMc.cjs} +1 -1
  221. package/dist/{skeleton-TrselJrj.js → skeleton-DWZNwK33.js} +1 -1
  222. package/dist/{skeleton-DwZzdFei.cjs → skeleton-DdlE-y3C.cjs} +1 -1
  223. package/dist/{style-LEmcTrN9.js → style-08foMKSd.js} +1 -1
  224. package/dist/{style-Bjk6yHcP.cjs → style-JqDQj4jh.cjs} +1 -1
  225. package/dist/{suspense-categories-card-simple-B2swGa6t.cjs → suspense-categories-card-simple-B5zd-nnm.cjs} +1 -1
  226. package/dist/{suspense-categories-card-simple-BCn3U1cz.js → suspense-categories-card-simple-Ds6hXZKt.js} +1 -1
  227. package/dist/{suspense-large-DgzTM-qh.js → suspense-large-BM9s_kZP.js} +1 -1
  228. package/dist/{suspense-large-DMhn-lIG.cjs → suspense-large-CtcwWswP.cjs} +1 -1
  229. package/dist/{suspense-product-card-detailed-BNOhu3Z4.cjs → suspense-product-card-detailed-DXwya4fQ.cjs} +1 -1
  230. package/dist/{suspense-product-card-detailed-BDkww9pS.js → suspense-product-card-detailed-bYBpLiXc.js} +2 -2
  231. package/dist/{suspense-product-card-simple-BxDjW7gR.cjs → suspense-product-card-simple-Ba1UPqgy.cjs} +1 -1
  232. package/dist/{suspense-product-card-simple-CQ1qPZOa.js → suspense-product-card-simple-ib6FLerL.js} +1 -1
  233. package/dist/{utils-BXCGNjIy.js → utils-BbgAIA9N.js} +51 -13
  234. package/dist/utils-CZynEOC_.cjs +51 -0
  235. package/package.json +1 -1
  236. package/dist/utils-BWzf4vLl.cjs +0 -51
@@ -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"),m=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),n=require("./utils-CZynEOC_.cjs"),N=require("./index-DaiUAQVF.cjs"),A=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),H=require("./useUpdateEffect-BtMgpgIV.cjs"),R=(e,o)=>`calc(${n.getSizeValueWithUnits(e,o)} - 1rem)`,L=P.styled.label`
2
2
  display: inline-flex;
3
3
  align-items: center;
4
4
  gap: 0.5rem;
@@ -13,7 +13,9 @@
13
13
  padding: 0.625rem 0.75rem;
14
14
  width: 100%;
15
15
  ${e=>!e.disabled&&e.readOnly!==!0&&e.isFocused===!0&&n.getOutlineCss(e.theme)};
16
- ${e=>e.disabled===!0&&n.getDisabledBackgroundCss(e.theme)}
16
+ /* ${e=>e.disabled===!0&&n.getDisabledBackgroundCss(e.theme)} */
17
+ ${e=>e.disabled===!0&&`background-color: ${n.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
18
+ color: ${o=>n.getColorRgbaValue(o.theme,"Input",o.color,"disabled","text")};`}
17
19
  border: 1px solid ${e=>n.getColorRgbaValue(e.theme,"Input",e.color,"disabled","border")};
18
20
  `,G=P.styled.div`
19
21
  ${e=>!e.disabled&&e.readOnly!==!0&&"cursor: pointer;"}
@@ -32,8 +34,8 @@
32
34
  }
33
35
  ${e=>e.disabled===!0&&`opacity: ${e.theme.palette.opacity[e.theme.palette.disabled.opacity]};`}
34
36
  box-sizing: border-box;
35
- min-width: ${e=>F(e.theme,e.size)};
36
- height: ${e=>F(e.theme,e.size)};
37
+ min-width: ${e=>R(e.theme,e.size)};
38
+ height: ${e=>R(e.theme,e.size)};
37
39
  border-radius: ${e=>n.getBorderRadiusValueWithUnits(e.theme,"curved")};
38
40
  overflow: hidden;
39
41
  & input[type="color"] {
@@ -43,7 +45,9 @@
43
45
  height: 200%;
44
46
  cursor: pointer;
45
47
  transform: translate(-25%, -25%);
46
- ${e=>e.disabled===!0&&n.getDisabledStateCss(e.theme)};
48
+ /* ${e=>e.disabled===!0&&n.getDisabledStateCss(e.theme)}; */
49
+ ${e=>e.disabled===!0&&`background-color: ${n.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
50
+ color: ${o=>n.getColorRgbaValue(o.theme,"Input",o.color,"disabled","text")};`}
47
51
  }
48
52
  }
49
53
  `,J=P.styled.span`
@@ -57,4 +61,4 @@
57
61
  background-color: transparent;
58
62
  width: 100%;
59
63
  }
60
- `,S=b.forwardRef((e,r)=>{const{id:u,name:y,defaultValue:w="#000000",value:s,size:v="small",tabIndex:p,withInput:f=!1,className:R="",style:j={},color:d="primary",debounceTime:O=0,readOnly:l,disabled:a,onChange:x=()=>{},onFocus:B=()=>{},onBlur:U=()=>{},onInput:q=()=>{},onKeyDown:W=()=>{},labelRef:k,inputProps:T,...z}=e,I=A.useTheme(),[c,$]=b.useState(s),[D,V]=b.useState(!1),E=new RegExp(/^#[0-9A-F]{6}$/i);H.useUpdateEffect(()=>$(s),[s]);const _=b.useCallback(N.debounce((o,C)=>K(o,C),O),[x]),K=(o,C)=>{x&&x(o,C)},h=o=>{s&&$(o.target.value),_(o,o.target.value)},g=o=>{V(!0),B(o)},m=o=>{E.test(c)||$(w),V(!1),U(o)};return i.jsx(G,{ref:r,theme:I,size:v,className:R,style:j,disabled:a,readOnly:l,withInput:f,...z,children:f?i.jsxs(L,{withInput:f,theme:I,color:d,size:v,disabled:a,readOnly:l,tabIndex:p,isFocused:D,children:[i.jsx("div",{children:i.jsx("input",{type:"color",ref:r,id:u,name:y,value:c,disabled:a||l,onChange:h,onBlur:m,onFocus:g,color:d,...T})}),i.jsx(J,{children:i.jsx("input",{ref:k,value:c,onChange:h,onFocus:g,onBlur:m,onInput:q,onKeyDown:W,disabled:a||l,...z})})]}):i.jsx("div",{children:s==null||s=="undefined"?i.jsx("input",{type:"color",ref:r,id:u,name:y,defaultValue:w,disabled:a||l,onChange:h,onBlur:m,onFocus:g,color:d,tabIndex:p,...T}):i.jsx("input",{type:"color",ref:r,id:u,name:y,value:c,disabled:a||l,onChange:h,onBlur:m,onFocus:g,color:d,tabIndex:p,...T})})})});S.propTypes={id:t.PropTypes.any,name:t.PropTypes.string,defaultValue:t.PropTypes.string,value:t.PropTypes.string,debounceTime:t.PropTypes.number,disabled:t.PropTypes.bool,readOnly:t.PropTypes.bool,tabIndex:t.PropTypes.number,preventDefault:t.PropTypes.bool,labelRef:t.PropTypes.any,inputProps:t.PropTypes.bool,withInput:t.PropTypes.bool,onChange:t.PropTypes.func,onBlur:t.PropTypes.func,onFocus:t.PropTypes.func,onInput:t.PropTypes.func,onKeyDown:t.PropTypes.func,className:t.PropTypes.string,style:t.PropTypes.object,size:t.PropTypes.oneOf(["small","medium","large"]),color:t.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=S;
64
+ `,F=m.forwardRef((e,o)=>{const{id:u,name:y,defaultValue:I="#000000",value:r,size:w="small",tabIndex:p,withInput:f=!1,className:O="",style:S={},color:d="primary",debounceTime:j=0,readOnly:a,disabled:s,onChange:x=()=>{},onFocus:k=()=>{},onBlur:B=()=>{},onInput:U=()=>{},onKeyDown:q=()=>{},labelRef:W,inputProps:$,...V}=e,v=A.useTheme(),[c,C]=m.useState(r),[D,z]=m.useState(!1),E=new RegExp(/^#[0-9A-F]{6}$/i);H.useUpdateEffect(()=>C(r),[r]);const _=m.useCallback(N.debounce((l,T)=>K(l,T),j),[x]),K=(l,T)=>{x&&x(l,T)},h=l=>{r&&C(l.target.value),_(l,l.target.value)},b=l=>{z(!0),k(l)},g=l=>{E.test(c)||C(I),z(!1),B(l)};return i.jsx(G,{ref:o,theme:v,size:w,className:O,style:S,disabled:s,readOnly:a,withInput:f,...V,children:f?i.jsxs(L,{withInput:f,theme:v,color:d,size:w,disabled:s,readOnly:a,tabIndex:p,isFocused:D,children:[i.jsx("div",{children:i.jsx("input",{type:"color",ref:o,id:u,name:y,value:c,disabled:s||a,onChange:h,onBlur:g,onFocus:b,color:d,...$})}),i.jsx(J,{children:i.jsx("input",{ref:W,value:c,onChange:h,onFocus:b,onBlur:g,onInput:U,onKeyDown:q,disabled:s||a,...V})})]}):i.jsx("div",{children:r==null||r=="undefined"?i.jsx("input",{type:"color",ref:o,id:u,name:y,defaultValue:I,disabled:s||a,onChange:h,onBlur:g,onFocus:b,color:d,tabIndex:p,...$}):i.jsx("input",{type:"color",ref:o,id:u,name:y,value:c,disabled:s||a,onChange:h,onBlur:g,onFocus:b,color:d,tabIndex:p,...$})})})});F.propTypes={id:t.PropTypes.any,name:t.PropTypes.string,defaultValue:t.PropTypes.string,value:t.PropTypes.string,debounceTime:t.PropTypes.number,disabled:t.PropTypes.bool,readOnly:t.PropTypes.bool,tabIndex:t.PropTypes.number,preventDefault:t.PropTypes.bool,labelRef:t.PropTypes.any,inputProps:t.PropTypes.bool,withInput:t.PropTypes.bool,onChange:t.PropTypes.func,onBlur:t.PropTypes.func,onFocus:t.PropTypes.func,onInput:t.PropTypes.func,onKeyDown:t.PropTypes.func,className:t.PropTypes.string,style:t.PropTypes.object,size:t.PropTypes.oneOf(["small","medium","large"]),color:t.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=F;
@@ -1,26 +1,26 @@
1
- import { jsx as a, jsxs as q } from "react/jsx-runtime";
2
- import { forwardRef as G, useState as R, useCallback as J } from "react";
3
- import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
1
+ import { jsx as o, jsxs as q } from "react/jsx-runtime";
2
+ import { forwardRef as G, useState as S, useCallback as J } from "react";
3
+ import { s as z } 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 as u, b as l, a as T, e as C, f as Q, h as X } from "./utils-BbgAIA9N.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";
9
- const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
9
+ const R = (e, n) => `calc(${u(e, n)} - 1rem)`, ee = z.label`
10
10
  display: inline-flex;
11
11
  align-items: center;
12
12
  gap: 0.5rem;
13
13
  ${(e) => M(e.theme, "Input", e.size, "enabled")};
14
- min-height: ${(e) => d(e.theme, e.size)};
15
- max-height: ${(e) => d(e.theme, e.size)};
16
- background-color: ${(e) => g(
14
+ min-height: ${(e) => u(e.theme, e.size)};
15
+ max-height: ${(e) => u(e.theme, e.size)};
16
+ background-color: ${(e) => l(
17
17
  e.theme,
18
18
  "Input",
19
19
  e.color,
20
20
  "enabled",
21
21
  "background"
22
22
  )};
23
- color: ${(e) => g(
23
+ color: ${(e) => l(
24
24
  e.theme,
25
25
  "Input",
26
26
  e.isFocused ? "primary" : e.color,
@@ -28,23 +28,38 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
28
28
  "text"
29
29
  )};
30
30
  border: 1px solid
31
- ${(e) => g(
31
+ ${(e) => l(
32
32
  e.theme,
33
33
  "Input",
34
34
  e.isFocused ? "primary" : e.color,
35
35
  "enabled",
36
36
  "border"
37
37
  )};
38
- border-radius: ${(e) => V(e.theme, "regular")};
38
+ border-radius: ${(e) => T(e.theme, "regular")};
39
39
  padding: 0.625rem 0.75rem;
40
40
  width: 100%;
41
41
  ${(e) => !e.disabled && e.readOnly !== !0 && e.isFocused === !0 && C(e.theme)};
42
- ${(e) => e.disabled === !0 && Q(e.theme)}
43
- border: 1px solid ${(e) => g(e.theme, "Input", e.color, "disabled", "border")};
44
- `, te = I.div`
42
+ /* ${(e) => e.disabled === !0 && Q(e.theme)} */
43
+ ${(e) => e.disabled === !0 && `background-color: ${l(
44
+ e.theme,
45
+ "Input",
46
+ e.color,
47
+ "disabled",
48
+ "background",
49
+ "backgroundOpacity"
50
+ )};
51
+ color: ${(n) => l(
52
+ n.theme,
53
+ "Input",
54
+ n.color,
55
+ "disabled",
56
+ "text"
57
+ )};`}
58
+ border: 1px solid ${(e) => l(e.theme, "Input", e.color, "disabled", "border")};
59
+ `, te = z.div`
45
60
  ${(e) => !e.disabled && e.readOnly !== !0 && "cursor: pointer;"}
46
- min-height: ${(e) => d(e.theme, e.size)};
47
- max-height: ${(e) => d(e.theme, e.size)};
61
+ min-height: ${(e) => u(e.theme, e.size)};
62
+ max-height: ${(e) => u(e.theme, e.size)};
48
63
  display: inline-flex;
49
64
  align-items: center;
50
65
  justify-content: center;
@@ -58,9 +73,9 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
58
73
  }
59
74
  ${(e) => e.disabled === !0 && `opacity: ${e.theme.palette.opacity[e.theme.palette.disabled.opacity]};`}
60
75
  box-sizing: border-box;
61
- min-width: ${(e) => T(e.theme, e.size)};
62
- height: ${(e) => T(e.theme, e.size)};
63
- border-radius: ${(e) => V(e.theme, "curved")};
76
+ min-width: ${(e) => R(e.theme, e.size)};
77
+ height: ${(e) => R(e.theme, e.size)};
78
+ border-radius: ${(e) => T(e.theme, "curved")};
64
79
  overflow: hidden;
65
80
  & input[type="color"] {
66
81
  border: 0;
@@ -69,10 +84,25 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
69
84
  height: 200%;
70
85
  cursor: pointer;
71
86
  transform: translate(-25%, -25%);
72
- ${(e) => e.disabled === !0 && X(e.theme)};
87
+ /* ${(e) => e.disabled === !0 && X(e.theme)}; */
88
+ ${(e) => e.disabled === !0 && `background-color: ${l(
89
+ e.theme,
90
+ "Input",
91
+ e.color,
92
+ "disabled",
93
+ "background",
94
+ "backgroundOpacity"
95
+ )};
96
+ color: ${(n) => l(
97
+ n.theme,
98
+ "Input",
99
+ n.color,
100
+ "disabled",
101
+ "text"
102
+ )};`}
73
103
  }
74
104
  }
75
- `, ne = I.span`
105
+ `, ne = z.span`
76
106
  display: flex;
77
107
  align-items: center;
78
108
  overflow: hidden;
@@ -83,22 +113,22 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
83
113
  background-color: transparent;
84
114
  width: 100%;
85
115
  }
86
- `, ae = G((e, o) => {
116
+ `, ae = G((e, n) => {
87
117
  const {
88
- id: u,
118
+ id: s,
89
119
  name: f,
90
- defaultValue: z = "#000000",
120
+ defaultValue: F = "#000000",
91
121
  value: i,
92
- size: F = "small",
122
+ size: p = "small",
93
123
  tabIndex: y,
94
124
  withInput: $ = !1,
95
- className: k = "",
125
+ className: V = "",
96
126
  style: D = {},
97
- color: s = "primary",
127
+ color: c = "primary",
98
128
  debounceTime: j = 0,
99
- readOnly: l,
129
+ readOnly: d,
100
130
  disabled: r,
101
- onChange: x = () => {
131
+ onChange: I = () => {
102
132
  },
103
133
  onFocus: P = () => {
104
134
  },
@@ -109,109 +139,109 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
109
139
  onKeyDown: K = () => {
110
140
  },
111
141
  labelRef: N,
112
- inputProps: p,
142
+ inputProps: x,
113
143
  ...O
114
- } = e, B = Z(), [c, v] = R(i), [W, S] = R(!1), A = new RegExp(/^#[0-9A-F]{6}$/i);
144
+ } = e, k = Z(), [m, v] = S(i), [W, B] = S(!1), A = new RegExp(/^#[0-9A-F]{6}$/i);
115
145
  _(() => v(i), [i]);
116
146
  const H = J(
117
- Y((n, w) => L(n, w), j),
118
- [x]
119
- ), L = (n, w) => {
120
- x && x(n, w);
121
- }, m = (n) => {
122
- i && v(n.target.value), H(n, n.target.value);
123
- }, h = (n) => {
124
- S(!0), P(n);
125
- }, b = (n) => {
126
- A.test(c) || v(z), S(!1), U(n);
147
+ Y((a, w) => L(a, w), j),
148
+ [I]
149
+ ), L = (a, w) => {
150
+ I && I(a, w);
151
+ }, h = (a) => {
152
+ i && v(a.target.value), H(a, a.target.value);
153
+ }, b = (a) => {
154
+ B(!0), P(a);
155
+ }, g = (a) => {
156
+ A.test(m) || v(F), B(!1), U(a);
127
157
  };
128
- return /* @__PURE__ */ a(
158
+ return /* @__PURE__ */ o(
129
159
  te,
130
160
  {
131
- ref: o,
132
- theme: B,
133
- size: F,
134
- className: k,
161
+ ref: n,
162
+ theme: k,
163
+ size: p,
164
+ className: V,
135
165
  style: D,
136
166
  disabled: r,
137
- readOnly: l,
167
+ readOnly: d,
138
168
  withInput: $,
139
169
  ...O,
140
170
  children: $ ? /* @__PURE__ */ q(
141
171
  ee,
142
172
  {
143
173
  withInput: $,
144
- theme: B,
145
- color: s,
146
- size: F,
174
+ theme: k,
175
+ color: c,
176
+ size: p,
147
177
  disabled: r,
148
- readOnly: l,
178
+ readOnly: d,
149
179
  tabIndex: y,
150
180
  isFocused: W,
151
181
  children: [
152
- /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(
182
+ /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
153
183
  "input",
154
184
  {
155
185
  type: "color",
156
- ref: o,
157
- id: u,
186
+ ref: n,
187
+ id: s,
158
188
  name: f,
159
- value: c,
160
- disabled: r || l,
161
- onChange: m,
162
- onBlur: b,
163
- onFocus: h,
164
- color: s,
165
- ...p
189
+ value: m,
190
+ disabled: r || d,
191
+ onChange: h,
192
+ onBlur: g,
193
+ onFocus: b,
194
+ color: c,
195
+ ...x
166
196
  }
167
197
  ) }),
168
- /* @__PURE__ */ a(ne, { children: /* @__PURE__ */ a(
198
+ /* @__PURE__ */ o(ne, { children: /* @__PURE__ */ o(
169
199
  "input",
170
200
  {
171
201
  ref: N,
172
- value: c,
173
- onChange: m,
174
- onFocus: h,
175
- onBlur: b,
202
+ value: m,
203
+ onChange: h,
204
+ onFocus: b,
205
+ onBlur: g,
176
206
  onInput: E,
177
207
  onKeyDown: K,
178
- disabled: r || l,
208
+ disabled: r || d,
179
209
  ...O
180
210
  }
181
211
  ) })
182
212
  ]
183
213
  }
184
- ) : /* @__PURE__ */ a("div", { children: i == null || i == "undefined" ? /* @__PURE__ */ a(
214
+ ) : /* @__PURE__ */ o("div", { children: i == null || i == "undefined" ? /* @__PURE__ */ o(
185
215
  "input",
186
216
  {
187
217
  type: "color",
188
- ref: o,
189
- id: u,
218
+ ref: n,
219
+ id: s,
190
220
  name: f,
191
- defaultValue: z,
192
- disabled: r || l,
193
- onChange: m,
194
- onBlur: b,
195
- onFocus: h,
196
- color: s,
221
+ defaultValue: F,
222
+ disabled: r || d,
223
+ onChange: h,
224
+ onBlur: g,
225
+ onFocus: b,
226
+ color: c,
197
227
  tabIndex: y,
198
- ...p
228
+ ...x
199
229
  }
200
- ) : /* @__PURE__ */ a(
230
+ ) : /* @__PURE__ */ o(
201
231
  "input",
202
232
  {
203
233
  type: "color",
204
- ref: o,
205
- id: u,
234
+ ref: n,
235
+ id: s,
206
236
  name: f,
207
- value: c,
208
- disabled: r || l,
209
- onChange: m,
210
- onBlur: b,
211
- onFocus: h,
212
- color: s,
237
+ value: m,
238
+ disabled: r || d,
239
+ onChange: h,
240
+ onBlur: g,
241
+ onFocus: b,
242
+ color: c,
213
243
  tabIndex: y,
214
- ...p
244
+ ...x
215
245
  }
216
246
  ) })
217
247
  }
@@ -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-CZynEOC_.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-BbgAIA9N.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-Cg4t3q_p.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-BBMleFo5.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-BbgAIA9N.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-CZynEOC_.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvc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xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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-CZynEOC_.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-BbgAIA9N.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";