@lanaco/lnc-react-ui 4.0.105 → 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 +6 -4
  44. package/dist/Button.js +12 -3
  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 +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 +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,17 +1,19 @@
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 m=require("react/jsx-runtime"),l=require("./index-BPVoEhTF.cjs"),y=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-CZynEOC_.cjs"),M=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),Q=k.styled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
 
5
- min-height: ${e=>s.getSizeValueWithUnits(e.theme,e.size)};
6
- max-height: ${e=>s.getSizeValueWithUnits(e.theme,e.size)};
7
- background-color: ${e=>s.getColorRgbaValue(e.theme,"Input",e.color,"enabled","background")};
5
+ min-height: ${e=>a.getSizeValueWithUnits(e.theme,e.size)};
6
+ max-height: ${e=>a.getSizeValueWithUnits(e.theme,e.size)};
7
+ background-color: ${e=>a.getColorRgbaValue(e.theme,"Input",e.color,"enabled","background")};
8
8
  border: 1px solid
9
- ${e=>s.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","border")};
10
- border-radius: ${e=>s.getBorderRadiusValueWithUnits(e.theme,"regular")};
9
+ ${e=>a.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","border")};
10
+ border-radius: ${e=>a.getBorderRadiusValueWithUnits(e.theme,"regular")};
11
11
 
12
- ${e=>e.focused===!0&&e.readOnly!==!0?s.getOutlineCss(e.theme):""}
13
- ${e=>e.isDisabled===!0?s.getDisabledStateCss(e.theme):""}
14
- ${e=>e.isDisabled===!0?"border: 1px solid "+s.getColorRgbaValue(e.theme,"Input",e.color,"disabled","border"):""}
12
+ ${e=>e.focused===!0&&e.readOnly!==!0?a.getOutlineCss(e.theme):""}
13
+ /* ${e=>e.isDisabled===!0?a.getDisabledStateCss(e.theme):""} */
14
+ ${e=>e.isDisabled===!0&&`background-color: ${a.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
15
+ color: ${u=>a.getColorRgbaValue(u.theme,"Input",u.color,"disabled","text")};`}
16
+ ${e=>e.isDisabled===!0?"border: 1px solid "+a.getColorRgbaValue(e.theme,"Input",e.color,"disabled","border"):""}
15
17
 
16
18
  & input {
17
19
  background: none;
@@ -21,17 +23,19 @@
21
23
  padding-bottom: 0.625rem;
22
24
  width: 100%;
23
25
 
24
- ${e=>s.getComponentTypographyCss(e.theme,"Input",e.size,"enabled")}
25
- min-height: ${e=>s.getSizeValueWithUnits(e.theme,e.size)};
26
- max-height: ${e=>s.getSizeValueWithUnits(e.theme,e.size)};
27
- color: ${e=>s.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","text")};
28
- caret-color: ${e=>s.getColorRgbaValue(e.theme,"Input",e.color,"enabled","caret")};
26
+ ${e=>a.getComponentTypographyCss(e.theme,"Input",e.size,"enabled")}
27
+ min-height: ${e=>a.getSizeValueWithUnits(e.theme,e.size)};
28
+ max-height: ${e=>a.getSizeValueWithUnits(e.theme,e.size)};
29
+ color: ${e=>a.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","text")};
30
+ caret-color: ${e=>a.getColorRgbaValue(e.theme,"Input",e.color,"enabled","caret")};
29
31
  padding-right: ${e=>e.suffix?"0":"0.75rem"};
30
32
  padding-left: ${e=>e.prefix?"0":"0.75rem"};
31
33
  }
32
34
 
33
35
  & input:disabled {
34
- ${e=>s.getDisabledStateCss(e.theme)}
36
+ /* ${e=>a.getDisabledStateCss(e.theme)} */
37
+ ${e=>`background-color: ${a.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
38
+ color: ${u=>a.getColorRgbaValue(u.theme,"Input",u.color,"disabled","text")};`}
35
39
  background: none;
36
40
  }
37
41
 
@@ -40,9 +44,9 @@
40
44
  }
41
45
 
42
46
  & input::placeholder {
43
- color: ${e=>s.getColorRgbaValue(e.theme,"Input",e.color,"enabled","placeholder")};
47
+ color: ${e=>a.getColorRgbaValue(e.theme,"Input",e.color,"enabled","placeholder")};
44
48
  }
45
- `,S=V.styled.span`
49
+ `,S=k.styled.span`
46
50
  padding: 0 12px;
47
- color: ${e=>s.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","prefix")};
48
- `,X=V.styled(S)``,W=h.forwardRef((e,R)=>{const{disabled:w,readOnly:j,prefix:m,suffix:f,decimalSeparator:c=",",decimalScale:a=2,allowNegative:U=!0,onKeyDown:B=()=>{},onBlur:b=()=>{},onFocus:T=()=>{},onChange:N=()=>{},value:x,className:F="",style:K={},size:_="small",color:P="primary",onInputChange:k=()=>{},allowNull:z=!0,...E}=e,$=M.useTheme(),[C,I]=h.useState(!1),O=o=>{var t,u;if(isNaN(+o)){if(z===!0&&(o==null||o===""))return""}else{const l=(t=o==null?void 0:o.toString())==null?void 0:t.split(".");if(!(l!=null&&l.length)>0)return"0"+c+new Array(a+1).join("0");if((l==null?void 0:l.length)===1)return l.at(0)+c+new Array(a+1).join("0");if((l==null?void 0:l.length)>1){let n=(u=l==null?void 0:l.at(1))==null?void 0:u.toString();if((n==null?void 0:n.length)===a)return l.at(0)+c+n;if((n==null?void 0:n.length)<a)return l.at(0)+c+l.at(1)+new Array(a-n.length+1).join("0");if((n==null?void 0:n.length)>a)return l.at(0)+c+n.slice(0,a)}}return"0"+c+new Array(a+1).join("0")},D=O(x),[G,p]=h.useState(D),r=h.useRef(D);h.useEffect(()=>{const o=O(x);r.current=o,p(r.current)},[x]);const H=o=>{I(!0),T==null||T(o)},J=o=>{I(!1),b==null||b(o)},L=o=>{var u,l;let t=(u=r.current)==null?void 0:u.replace(c,"");if(o.key==="Delete"||o.key==="Backspace")if(+t!=0){t=t.slice(0,(t==null?void 0:t.length)-1);let n=t.slice(0,(t==null?void 0:t.length)-a),d=t.slice((t==null?void 0:t.length)-a);(n==null?void 0:n.length)===0?n="0":n==="-"&&+t!=0?n="-0":n==="-"&&+t==0&&(n="0");let g=[n,c,d].join("");r.current=g,p(r.current)}else+t==0&&z===!0&&(r==null?void 0:r.current)!==""&&(r.current="",p(r.current),q(o));else if(o.key==="-"&&U===!0&&+t!=0)((l=r==null?void 0:r.current)==null?void 0:l.slice(1))==="-"?r.current=r.current.slice(1,r.current.length):r.current="-"+r.current,p(r.current);else if(!isNaN(o.key)){(t==null?void 0:t.length)===0?t="0"+new Array(a).join("0")+o.key:t=t+o.key;let n=t.slice(0,(t==null?void 0:t.length)-a),d=t.slice((t==null?void 0:t.length)-a);(n==null?void 0:n.length)>1&&(n=n.replace(/^0+/,""),(n==null?void 0:n.length)===0&&(n="0"));let g=[n,c,d].join("");r.current=g,p(r.current)}B(o)},q=o=>{var d,g;if((r==null?void 0:r.current)===""){o.target.value="",k(o,null),N(o,null);return}let t=(d=r==null?void 0:r.current)==null?void 0:d.split(c),u=+(t==null?void 0:t.at(0)),l=((g=t==null?void 0:t.at(1))==null?void 0:g.length)>0?`0.${t==null?void 0:t.at(1)}`:0,n=u+ +l;o.target.value=n,k(o,n),N(o,n)};return y.jsxs(Q,{style:K,className:F,theme:$,color:P,size:_,prefix:m,suffix:f,focused:C,disabled:w,readOnly:j,children:[m&&y.jsx(S,{theme:$,color:P,focused:C,className:"lnc-input-prefix",children:m}),y.jsx("input",{ref:R,type:"text",...E,onKeyDown:L,onBlur:J,value:G,className:"lnc-ui-decimal-v2-input",onFocus:H,disabled:w||j,onChange:o=>{q(o)}}),f&&y.jsx(X,{theme:$,color:P,focused:C,className:"lnc-input-suffix",children:f})]})});W.propTypes={id:i.PropTypes.any,value:i.PropTypes.any,defaultValue:i.PropTypes.any,disabled:i.PropTypes.bool,readOnly:i.PropTypes.bool,debounceTime:i.PropTypes.number,prefix:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.element]),suffix:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.element]),thousandSeparator:i.PropTypes.oneOf([".",","," "]),decimalSeparator:i.PropTypes.oneOf([".",","]),decimalScale:i.PropTypes.number,fixedDecimalScale:i.PropTypes.bool,allowNegative:i.PropTypes.bool,onChange:i.PropTypes.func,onInputChange:i.PropTypes.func,onBlur:i.PropTypes.func,onFocus:i.PropTypes.func,onKeyDown:i.PropTypes.func,className:i.PropTypes.string,style:i.PropTypes.object,size:i.PropTypes.oneOf(["small","medium","large"]),color:i.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=W;
51
+ color: ${e=>a.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","prefix")};
52
+ `,X=k.styled(S)``,W=y.forwardRef((e,u)=>{const{disabled:w,readOnly:I,prefix:b,suffix:f,decimalSeparator:c=",",decimalScale:s=2,allowNegative:U=!0,onKeyDown:B=()=>{},onBlur:T=()=>{},onFocus:x=()=>{},onChange:j=()=>{},value:P,className:F="",style:K={},size:_="small",color:$="primary",onInputChange:N=()=>{},allowNull:O=!0,...E}=e,C=M.useTheme(),[V,z]=y.useState(!1),D=o=>{var t,d;if(isNaN(+o)){if(O===!0&&(o==null||o===""))return""}else{const i=(t=o==null?void 0:o.toString())==null?void 0:t.split(".");if(!(i!=null&&i.length)>0)return"0"+c+new Array(s+1).join("0");if((i==null?void 0:i.length)===1)return i.at(0)+c+new Array(s+1).join("0");if((i==null?void 0:i.length)>1){let n=(d=i==null?void 0:i.at(1))==null?void 0:d.toString();if((n==null?void 0:n.length)===s)return i.at(0)+c+n;if((n==null?void 0:n.length)<s)return i.at(0)+c+i.at(1)+new Array(s-n.length+1).join("0");if((n==null?void 0:n.length)>s)return i.at(0)+c+n.slice(0,s)}}return"0"+c+new Array(s+1).join("0")},R=D(P),[G,h]=y.useState(R),r=y.useRef(R);y.useEffect(()=>{const o=D(P);r.current=o,h(r.current)},[P]);const H=o=>{z(!0),x==null||x(o)},J=o=>{z(!1),T==null||T(o)},L=o=>{var d,i;let t=(d=r.current)==null?void 0:d.replace(c,"");if(o.key==="Delete"||o.key==="Backspace")if(+t!=0){t=t.slice(0,(t==null?void 0:t.length)-1);let n=t.slice(0,(t==null?void 0:t.length)-s),g=t.slice((t==null?void 0:t.length)-s);(n==null?void 0:n.length)===0?n="0":n==="-"&&+t!=0?n="-0":n==="-"&&+t==0&&(n="0");let p=[n,c,g].join("");r.current=p,h(r.current)}else+t==0&&O===!0&&(r==null?void 0:r.current)!==""&&(r.current="",h(r.current),q(o));else if(o.key==="-"&&U===!0&&+t!=0)((i=r==null?void 0:r.current)==null?void 0:i.slice(1))==="-"?r.current=r.current.slice(1,r.current.length):r.current="-"+r.current,h(r.current);else if(!isNaN(o.key)){(t==null?void 0:t.length)===0?t="0"+new Array(s).join("0")+o.key:t=t+o.key;let n=t.slice(0,(t==null?void 0:t.length)-s),g=t.slice((t==null?void 0:t.length)-s);(n==null?void 0:n.length)>1&&(n=n.replace(/^0+/,""),(n==null?void 0:n.length)===0&&(n="0"));let p=[n,c,g].join("");r.current=p,h(r.current)}B(o)},q=o=>{var g,p;if((r==null?void 0:r.current)===""){o.target.value="",N(o,null),j(o,null);return}let t=(g=r==null?void 0:r.current)==null?void 0:g.split(c),d=+(t==null?void 0:t.at(0)),i=((p=t==null?void 0:t.at(1))==null?void 0:p.length)>0?`0.${t==null?void 0:t.at(1)}`:0,n=d+ +i;o.target.value=n,N(o,n),j(o,n)};return m.jsxs(Q,{style:K,className:F,theme:C,color:$,size:_,prefix:b,suffix:f,focused:V,disabled:w,readOnly:I,children:[b&&m.jsx(S,{theme:C,color:$,focused:V,className:"lnc-input-prefix",children:b}),m.jsx("input",{ref:u,type:"text",...E,onKeyDown:L,onBlur:J,value:G,className:"lnc-ui-decimal-v2-input",onFocus:H,disabled:w||I,onChange:o=>{q(o)}}),f&&m.jsx(X,{theme:C,color:$,focused:V,className:"lnc-input-suffix",children:f})]})});W.propTypes={id:l.PropTypes.any,value:l.PropTypes.any,defaultValue:l.PropTypes.any,disabled:l.PropTypes.bool,readOnly:l.PropTypes.bool,debounceTime:l.PropTypes.number,prefix:l.PropTypes.oneOfType([l.PropTypes.string,l.PropTypes.element]),suffix:l.PropTypes.oneOfType([l.PropTypes.string,l.PropTypes.element]),thousandSeparator:l.PropTypes.oneOf([".",","," "]),decimalSeparator:l.PropTypes.oneOf([".",","]),decimalScale:l.PropTypes.number,fixedDecimalScale:l.PropTypes.bool,allowNegative:l.PropTypes.bool,onChange:l.PropTypes.func,onInputChange:l.PropTypes.func,onBlur:l.PropTypes.func,onFocus:l.PropTypes.func,onKeyDown:l.PropTypes.func,className:l.PropTypes.string,style:l.PropTypes.object,size:l.PropTypes.oneOf(["small","medium","large"]),color:l.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=W;
@@ -1,16 +1,16 @@
1
- import { jsxs as Y, jsx as k } from "react/jsx-runtime";
1
+ import { jsxs as Y, jsx as N } from "react/jsx-runtime";
2
2
  import { P as l } from "./index-S5Cd7WrG.js";
3
- import { forwardRef as Z, useState as F, useRef as _, useEffect as v } from "react";
4
- import { s as C } 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";
3
+ import { forwardRef as Z, useState as P, useRef as _, useEffect as v } from "react";
4
+ import { s as O } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
+ import { d as f, b as c, a as R, e as A, h as W, c as ee } from "./utils-BbgAIA9N.js";
6
6
  import { u as te } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
- const ne = C.div`
7
+ const ne = O.div`
8
8
  display: flex;
9
9
  align-items: center;
10
10
 
11
- min-height: ${(e) => m(e.theme, e.size)};
12
- max-height: ${(e) => m(e.theme, e.size)};
13
- background-color: ${(e) => u(
11
+ min-height: ${(e) => f(e.theme, e.size)};
12
+ max-height: ${(e) => f(e.theme, e.size)};
13
+ background-color: ${(e) => c(
14
14
  e.theme,
15
15
  "Input",
16
16
  e.color,
@@ -18,7 +18,7 @@ const ne = C.div`
18
18
  "background"
19
19
  )};
20
20
  border: 1px solid
21
- ${(e) => u(
21
+ ${(e) => c(
22
22
  e.theme,
23
23
  "Input",
24
24
  e.focused === !0 ? "primary" : e.color,
@@ -28,8 +28,23 @@ const ne = C.div`
28
28
  border-radius: ${(e) => R(e.theme, "regular")};
29
29
 
30
30
  ${(e) => e.focused === !0 && e.readOnly !== !0 ? A(e.theme) : ""}
31
- ${(e) => e.isDisabled === !0 ? P(e.theme) : ""}
32
- ${(e) => e.isDisabled === !0 ? "border: 1px solid " + u(
31
+ /* ${(e) => e.isDisabled === !0 ? W(e.theme) : ""} */
32
+ ${(e) => e.isDisabled === !0 && `background-color: ${c(
33
+ e.theme,
34
+ "Input",
35
+ e.color,
36
+ "disabled",
37
+ "background",
38
+ "backgroundOpacity"
39
+ )};
40
+ color: ${(u) => c(
41
+ u.theme,
42
+ "Input",
43
+ u.color,
44
+ "disabled",
45
+ "text"
46
+ )};`}
47
+ ${(e) => e.isDisabled === !0 ? "border: 1px solid " + c(
33
48
  e.theme,
34
49
  "Input",
35
50
  e.color,
@@ -46,22 +61,37 @@ const ne = C.div`
46
61
  width: 100%;
47
62
 
48
63
  ${(e) => ee(e.theme, "Input", e.size, "enabled")}
49
- min-height: ${(e) => m(e.theme, e.size)};
50
- max-height: ${(e) => m(e.theme, e.size)};
51
- color: ${(e) => u(
64
+ min-height: ${(e) => f(e.theme, e.size)};
65
+ max-height: ${(e) => f(e.theme, e.size)};
66
+ color: ${(e) => c(
52
67
  e.theme,
53
68
  "Input",
54
69
  e.focused === !0 ? "primary" : e.color,
55
70
  "enabled",
56
71
  "text"
57
72
  )};
58
- caret-color: ${(e) => u(e.theme, "Input", e.color, "enabled", "caret")};
73
+ caret-color: ${(e) => c(e.theme, "Input", e.color, "enabled", "caret")};
59
74
  padding-right: ${(e) => e.suffix ? "0" : "0.75rem"};
60
75
  padding-left: ${(e) => e.prefix ? "0" : "0.75rem"};
61
76
  }
62
77
 
63
78
  & input:disabled {
64
- ${(e) => P(e.theme)}
79
+ /* ${(e) => W(e.theme)} */
80
+ ${(e) => `background-color: ${c(
81
+ e.theme,
82
+ "Input",
83
+ e.color,
84
+ "disabled",
85
+ "background",
86
+ "backgroundOpacity"
87
+ )};
88
+ color: ${(u) => c(
89
+ u.theme,
90
+ "Input",
91
+ u.color,
92
+ "disabled",
93
+ "text"
94
+ )};`}
65
95
  background: none;
66
96
  }
67
97
 
@@ -70,7 +100,7 @@ const ne = C.div`
70
100
  }
71
101
 
72
102
  & input::placeholder {
73
- color: ${(e) => u(
103
+ color: ${(e) => c(
74
104
  e.theme,
75
105
  "Input",
76
106
  e.color,
@@ -78,115 +108,115 @@ const ne = C.div`
78
108
  "placeholder"
79
109
  )};
80
110
  }
81
- `, W = C.span`
111
+ `, U = O.span`
82
112
  padding: 0 12px;
83
- color: ${(e) => u(
113
+ color: ${(e) => c(
84
114
  e.theme,
85
115
  "Input",
86
116
  e.focused === !0 ? "primary" : e.color,
87
117
  "enabled",
88
118
  "prefix"
89
119
  )};
90
- `, ie = C(W)``, oe = Z((e, U) => {
120
+ `, oe = O(U)``, ie = Z((e, u) => {
91
121
  const {
92
- disabled: I,
122
+ disabled: C,
93
123
  readOnly: j,
94
124
  // debounceTime = 0,
95
- prefix: f,
96
- suffix: p,
97
- decimalSeparator: c = ",",
125
+ prefix: b,
126
+ suffix: y,
127
+ decimalSeparator: d = ",",
98
128
  decimalScale: a = 2,
99
129
  allowNegative: E = !0,
100
130
  // //----------------
101
131
  onKeyDown: q = () => {
102
132
  },
103
- onBlur: y = () => {
133
+ onBlur: p = () => {
104
134
  },
105
- onFocus: b = () => {
135
+ onFocus: x = () => {
106
136
  },
107
- onChange: O = () => {
137
+ onChange: D = () => {
108
138
  },
109
- value: x,
139
+ value: $,
110
140
  //----------------
111
141
  className: G = "",
112
142
  style: H = {},
113
143
  size: J = "small",
114
- color: $ = "primary",
144
+ color: k = "primary",
115
145
  onInputChange: V = () => {
116
146
  },
117
147
  allowNull: z = !0,
118
148
  ...L
119
- } = e, w = te(), [N, D] = F(!1), T = (i) => {
149
+ } = e, w = te(), [I, T] = P(!1), B = (o) => {
120
150
  var t, s;
121
- if (isNaN(+i)) {
122
- if (z === !0 && (i == null || i === ""))
151
+ if (isNaN(+o)) {
152
+ if (z === !0 && (o == null || o === ""))
123
153
  return "";
124
154
  } else {
125
- const r = (t = i == null ? void 0 : i.toString()) == null ? void 0 : t.split(".");
155
+ const r = (t = o == null ? void 0 : o.toString()) == null ? void 0 : t.split(".");
126
156
  if (!(r != null && r.length) > 0)
127
- return "0" + c + new Array(a + 1).join("0");
157
+ return "0" + d + new Array(a + 1).join("0");
128
158
  if ((r == null ? void 0 : r.length) === 1)
129
- return r.at(0) + c + new Array(a + 1).join("0");
159
+ return r.at(0) + d + new Array(a + 1).join("0");
130
160
  if ((r == null ? void 0 : r.length) > 1) {
131
161
  let n = (s = r == null ? void 0 : r.at(1)) == null ? void 0 : s.toString();
132
162
  if ((n == null ? void 0 : n.length) === a)
133
- return r.at(0) + c + n;
163
+ return r.at(0) + d + n;
134
164
  if ((n == null ? void 0 : n.length) < a)
135
- return r.at(0) + c + r.at(1) + new Array(a - n.length + 1).join("0");
165
+ return r.at(0) + d + r.at(1) + new Array(a - n.length + 1).join("0");
136
166
  if ((n == null ? void 0 : n.length) > a)
137
- return r.at(0) + c + n.slice(0, a);
167
+ return r.at(0) + d + n.slice(0, a);
138
168
  }
139
169
  }
140
- return "0" + c + new Array(a + 1).join("0");
141
- }, B = T(x), [M, g] = F(B), o = _(B);
170
+ return "0" + d + new Array(a + 1).join("0");
171
+ }, K = B($), [M, m] = P(K), i = _(K);
142
172
  v(() => {
143
- const i = T(x);
144
- o.current = i, g(o.current);
145
- }, [x]);
146
- const Q = (i) => {
147
- D(!0), b == null || b(i);
148
- }, S = (i) => {
149
- D(!1), y == null || y(i);
150
- }, X = (i) => {
173
+ const o = B($);
174
+ i.current = o, m(i.current);
175
+ }, [$]);
176
+ const Q = (o) => {
177
+ T(!0), x == null || x(o);
178
+ }, S = (o) => {
179
+ T(!1), p == null || p(o);
180
+ }, X = (o) => {
151
181
  var s, r;
152
- let t = (s = o.current) == null ? void 0 : s.replace(c, "");
153
- if (i.key === "Delete" || i.key === "Backspace")
182
+ let t = (s = i.current) == null ? void 0 : s.replace(d, "");
183
+ if (o.key === "Delete" || o.key === "Backspace")
154
184
  if (+t != 0) {
155
185
  t = t.slice(0, (t == null ? void 0 : t.length) - 1);
156
186
  let n = t.slice(
157
187
  0,
158
188
  (t == null ? void 0 : t.length) - a
159
- ), d = t.slice((t == null ? void 0 : t.length) - a);
189
+ ), h = t.slice((t == null ? void 0 : t.length) - a);
160
190
  (n == null ? void 0 : n.length) === 0 ? n = "0" : n === "-" && +t != 0 ? n = "-0" : n === "-" && +t == 0 && (n = "0");
161
- let h = [
191
+ let g = [
162
192
  n,
163
- c,
164
- d
193
+ d,
194
+ h
165
195
  ].join("");
166
- o.current = h, g(o.current);
167
- } else +t == 0 && z === !0 && (o == null ? void 0 : o.current) !== "" && (o.current = "", g(o.current), K(i));
168
- else if (i.key === "-" && E === !0 && +t != 0)
169
- ((r = o == null ? void 0 : o.current) == null ? void 0 : r.slice(1)) === "-" ? o.current = o.current.slice(1, o.current.length) : o.current = "-" + o.current, g(o.current);
170
- else if (!isNaN(i.key)) {
171
- (t == null ? void 0 : t.length) === 0 ? t = "0" + new Array(a).join("0") + i.key : t = t + i.key;
172
- let n = t.slice(0, (t == null ? void 0 : t.length) - a), d = t.slice((t == null ? void 0 : t.length) - a);
196
+ i.current = g, m(i.current);
197
+ } else +t == 0 && z === !0 && (i == null ? void 0 : i.current) !== "" && (i.current = "", m(i.current), F(o));
198
+ else if (o.key === "-" && E === !0 && +t != 0)
199
+ ((r = i == null ? void 0 : i.current) == null ? void 0 : r.slice(1)) === "-" ? i.current = i.current.slice(1, i.current.length) : i.current = "-" + i.current, m(i.current);
200
+ else if (!isNaN(o.key)) {
201
+ (t == null ? void 0 : t.length) === 0 ? t = "0" + new Array(a).join("0") + o.key : t = t + o.key;
202
+ let n = t.slice(0, (t == null ? void 0 : t.length) - a), h = t.slice((t == null ? void 0 : t.length) - a);
173
203
  (n == null ? void 0 : n.length) > 1 && (n = n.replace(/^0+/, ""), (n == null ? void 0 : n.length) === 0 && (n = "0"));
174
- let h = [
204
+ let g = [
175
205
  n,
176
- c,
177
- d
206
+ d,
207
+ h
178
208
  ].join("");
179
- o.current = h, g(o.current);
209
+ i.current = g, m(i.current);
180
210
  }
181
- q(i);
182
- }, K = (i) => {
183
- var d, h;
184
- if ((o == null ? void 0 : o.current) === "") {
185
- i.target.value = "", V(i, null), O(i, null);
211
+ q(o);
212
+ }, F = (o) => {
213
+ var h, g;
214
+ if ((i == null ? void 0 : i.current) === "") {
215
+ o.target.value = "", V(o, null), D(o, null);
186
216
  return;
187
217
  }
188
- let t = (d = o == null ? void 0 : o.current) == null ? void 0 : d.split(c), s = +(t == null ? void 0 : t.at(0)), r = ((h = t == null ? void 0 : t.at(1)) == null ? void 0 : h.length) > 0 ? `0.${t == null ? void 0 : t.at(1)}` : 0, n = s + +r;
189
- i.target.value = n, V(i, n), O(i, n);
218
+ let t = (h = i == null ? void 0 : i.current) == null ? void 0 : h.split(d), s = +(t == null ? void 0 : t.at(0)), r = ((g = t == null ? void 0 : t.at(1)) == null ? void 0 : g.length) > 0 ? `0.${t == null ? void 0 : t.at(1)}` : 0, n = s + +r;
219
+ o.target.value = n, V(o, n), D(o, n);
190
220
  };
191
221
  return /* @__PURE__ */ Y(
192
222
  ne,
@@ -194,28 +224,28 @@ const ne = C.div`
194
224
  style: H,
195
225
  className: G,
196
226
  theme: w,
197
- color: $,
227
+ color: k,
198
228
  size: J,
199
- prefix: f,
200
- suffix: p,
201
- focused: N,
202
- disabled: I,
229
+ prefix: b,
230
+ suffix: y,
231
+ focused: I,
232
+ disabled: C,
203
233
  readOnly: j,
204
234
  children: [
205
- f && /* @__PURE__ */ k(
206
- W,
235
+ b && /* @__PURE__ */ N(
236
+ U,
207
237
  {
208
238
  theme: w,
209
- color: $,
210
- focused: N,
239
+ color: k,
240
+ focused: I,
211
241
  className: "lnc-input-prefix",
212
- children: f
242
+ children: b
213
243
  }
214
244
  ),
215
- /* @__PURE__ */ k(
245
+ /* @__PURE__ */ N(
216
246
  "input",
217
247
  {
218
- ref: U,
248
+ ref: u,
219
249
  type: "text",
220
250
  ...L,
221
251
  onKeyDown: X,
@@ -223,27 +253,27 @@ const ne = C.div`
223
253
  value: M,
224
254
  className: "lnc-ui-decimal-v2-input",
225
255
  onFocus: Q,
226
- disabled: I || j,
227
- onChange: (i) => {
228
- K(i);
256
+ disabled: C || j,
257
+ onChange: (o) => {
258
+ F(o);
229
259
  }
230
260
  }
231
261
  ),
232
- p && /* @__PURE__ */ k(
233
- ie,
262
+ y && /* @__PURE__ */ N(
263
+ oe,
234
264
  {
235
265
  theme: w,
236
- color: $,
237
- focused: N,
266
+ color: k,
267
+ focused: I,
238
268
  className: "lnc-input-suffix",
239
- children: p
269
+ children: y
240
270
  }
241
271
  )
242
272
  ]
243
273
  }
244
274
  );
245
275
  });
246
- oe.propTypes = {
276
+ ie.propTypes = {
247
277
  id: l.any,
248
278
  value: l.any,
249
279
  defaultValue: l.any,
@@ -300,5 +330,5 @@ oe.propTypes = {
300
330
  ])
301
331
  };
302
332
  export {
303
- oe as default
333
+ ie as default
304
334
  };
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),s=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),v=require("./consts-goSZX3xP.cjs"),D=require("./Button.cjs"),y=require("./utils-BWzf4vLl.cjs"),U=require("./useDetectMobile-zkbzoOGV.cjs"),M=require("./style-Bjk6yHcP.cjs"),h=require("./suspense-product-card-detailed-BNOhu3Z4.cjs"),F=require("./index-C_T-BQ5p.cjs"),T=k.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),s=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),v=require("./consts-goSZX3xP.cjs"),D=require("./Button.cjs"),y=require("./utils-CZynEOC_.cjs"),U=require("./useDetectMobile-zkbzoOGV.cjs"),M=require("./style-JqDQj4jh.cjs"),h=require("./suspense-product-card-detailed-DXwya4fQ.cjs"),F=require("./index-C1DkD2ug.cjs"),T=k.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${l=>`repeat(${l.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -3,11 +3,11 @@ import { memo as U, forwardRef as M, useMemo as T } from "react";
3
3
  import { s as D } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as F } from "./consts-BuFChS64.js";
5
5
  import B from "./Button.js";
6
- import { k as f } from "./utils-BXCGNjIy.js";
6
+ import { k as f } from "./utils-BbgAIA9N.js";
7
7
  import { u as E } from "./useDetectMobile-Bkvj0VMa.js";
8
- import { T as I } from "./style-LEmcTrN9.js";
9
- import { D as L, S as O } from "./suspense-product-card-detailed-BDkww9pS.js";
10
- import { S as R } from "./index-BPgWhA1t.js";
8
+ import { T as I } from "./style-08foMKSd.js";
9
+ import { D as L, S as O } from "./suspense-product-card-detailed-bYBpLiXc.js";
10
+ import { S as R } from "./index-CQLF61YV.js";
11
11
  const W = D.div`
12
12
  display: grid;
13
13
  grid-template-columns: ${(n) => `repeat(${n.limit}, minmax(0, 1fr))`};
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime"),k=require("react"),e=require("./index-BPVoEhTF.cjs"),T=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./FlexGrid.cjs"),L=require("./FlexGridItem.cjs"),n=require("./utils-BWzf4vLl.cjs"),_=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),W=require("./Button.cjs"),c=require("./IconButton.cjs"),A=T.styled.label`
1
+ "use strict";const s=require("react/jsx-runtime"),k=require("react"),e=require("./index-BPVoEhTF.cjs"),T=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./FlexGrid.cjs"),L=require("./FlexGridItem.cjs"),n=require("./utils-CZynEOC_.cjs"),_=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),W=require("./Button.cjs"),c=require("./IconButton.cjs"),A=T.styled.label`
2
2
  display: block;
3
3
  margin-bottom: 4px;
4
4
  ${o=>n.getComponentTypographyCss(o.theme,"FormField",o.size,"enabled")}
@@ -4,7 +4,7 @@ import { P as e } from "./index-S5Cd7WrG.js";
4
4
  import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import W from "./FlexGrid.js";
6
6
  import A from "./FlexGridItem.js";
7
- import { c as Y, b as B, g as U, a as q } from "./utils-BXCGNjIy.js";
7
+ import { c as Y, b as B, g as U, a as q } from "./utils-BbgAIA9N.js";
8
8
  import { u as E } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
9
  import H from "./Button.js";
10
10
  import c from "./IconButton.js";
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),s=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./index-BPVoEhTF.cjs"),o=require("./utils-BWzf4vLl.cjs"),C=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=({theme:e,size:y})=>{var u=o.getSizeValueWithUnits(e,y);return`
1
+ "use strict";const t=require("react/jsx-runtime"),s=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./index-BPVoEhTF.cjs"),o=require("./utils-CZynEOC_.cjs"),C=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=({theme:e,size:y})=>{var u=o.getSizeValueWithUnits(e,y);return`
2
2
  min-height: ${u};
3
3
  max-height: ${u};
4
4
  `},b={small:"0.875rem",medium:"1.125rem",large:"1.375rem"},S=v.styled.div`
@@ -2,7 +2,7 @@ import { jsxs as f, jsx as r, Fragment as V } from "react/jsx-runtime";
2
2
  import { forwardRef as F, useState as w, useEffect as x, useRef as T, useCallback as j } from "react";
3
3
  import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { P as i } from "./index-S5Cd7WrG.js";
5
- import { b as u, a as R, c as E, d as O } from "./utils-BXCGNjIy.js";
5
+ import { b as u, a as R, c as E, d as O } from "./utils-BbgAIA9N.js";
6
6
  import { u as D } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const L = ({ theme: e, size: k }) => {
8
8
  var s = O(e, k);