@lanaco/lnc-react-ui 4.0.105 → 4.0.107

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 +3 -2
  14. package/dist/BannerSectionCarousel.js +3 -2
  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 +5 -5
  68. package/dist/DetailedProductsSection.js +39 -38
  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,20 +1,22 @@
1
- "use strict";const c=require("react/jsx-runtime"),t=require("./index-BPVoEhTF.cjs"),s=require("react"),B=require("./index-DaiUAQVF.cjs"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-BWzf4vLl.cjs"),D=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),E=p.styled.div`
1
+ "use strict";const g=require("react/jsx-runtime"),t=require("./index-BPVoEhTF.cjs"),a=require("react"),B=require("./index-DaiUAQVF.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-CZynEOC_.cjs"),D=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),E=b.styled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
 
5
- min-height: ${e=>n.getSizeValueWithUnits(e.theme,e.size)};
6
- max-height: ${e=>n.getSizeValueWithUnits(e.theme,e.size)};
7
- background-color: ${e=>n.getColorRgbaValue(e.theme,"Input",e.color,"enabled","background")};
5
+ min-height: ${e=>o.getSizeValueWithUnits(e.theme,e.size)};
6
+ max-height: ${e=>o.getSizeValueWithUnits(e.theme,e.size)};
7
+ background-color: ${e=>o.getColorRgbaValue(e.theme,"Input",e.color,"enabled","background")};
8
8
  border: 1px solid
9
- ${e=>n.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,e.disabled===!0?"disabled":"enabled","border")};
10
- border-radius: ${e=>n.getBorderRadiusValueWithUnits(e.theme,"regular")};
9
+ ${e=>o.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,e.disabled===!0?"disabled":"enabled","border")};
10
+ border-radius: ${e=>o.getBorderRadiusValueWithUnits(e.theme,"regular")};
11
11
 
12
- ${e=>e.focused&&e.readOnly!==!0?n.getOutlineCss(e.theme):""}
13
- ${e=>e.disabled===!0?n.getDisabledStateCss(e.theme):""}
14
- `,C=p.styled.span`
12
+ ${e=>e.focused&&e.readOnly!==!0?o.getOutlineCss(e.theme):""}
13
+ /* ${e=>e.disabled===!0?o.getDisabledStateCss(e.theme):""} */
14
+ ${e=>e.disabled===!0?`background-color: ${o.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
15
+ color: ${n=>o.getColorRgbaValue(n.theme,"Input",n.color,"disabled","text")};`:""}
16
+ `,I=b.styled.span`
15
17
  padding: 0 12px;
16
- color: ${e=>n.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","prefix")};
17
- `,A=p.styled(C)``,G=p.styled.input`
18
+ color: ${e=>o.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","prefix")};
19
+ `,A=b.styled(I)``,G=b.styled.input`
18
20
  background: none;
19
21
  border: none;
20
22
  outline: none;
@@ -22,16 +24,16 @@
22
24
  padding-bottom: 0.625rem;
23
25
  width: 100%;
24
26
 
25
- ${e=>n.getComponentTypographyCss(e.theme,"Input",e.size,"enabled")}
26
- min-height: ${e=>n.getSizeValueWithUnits(e.theme,e.size)};
27
- max-height: ${e=>n.getSizeValueWithUnits(e.theme,e.size)};
28
- color: ${e=>n.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","text")};
29
- caret-color: ${e=>n.getColorRgbaValue(e.theme,"Input",e.color,"enabled","caret")};
27
+ ${e=>o.getComponentTypographyCss(e.theme,"Input",e.size,"enabled")}
28
+ min-height: ${e=>o.getSizeValueWithUnits(e.theme,e.size)};
29
+ max-height: ${e=>o.getSizeValueWithUnits(e.theme,e.size)};
30
+ color: ${e=>o.getColorRgbaValue(e.theme,"Input",e.focused===!0?"primary":e.color,"enabled","text")};
31
+ caret-color: ${e=>o.getColorRgbaValue(e.theme,"Input",e.color,"enabled","caret")};
30
32
  padding-right: ${e=>e.suffix?"0":"0.75rem"};
31
33
  padding-left: ${e=>e.prefix?"0":"0.75rem"};
32
34
 
33
35
  &::placeholder {
34
- color: ${e=>n.getColorRgbaValue(e.theme,"Input",e.color,"enabled","placeholder")};
36
+ color: ${e=>o.getColorRgbaValue(e.theme,"Input",e.color,"enabled","placeholder")};
35
37
  }
36
38
 
37
39
  &:read-only {
@@ -39,7 +41,9 @@
39
41
  }
40
42
 
41
43
  &:disabled {
42
- ${e=>n.getDisabledStateCss(e.theme)}
44
+ /* ${e=>o.getDisabledStateCss(e.theme)} */
45
+ ${e=>`background-color: ${o.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
46
+ color: ${n=>o.getColorRgbaValue(n.theme,"Input",n.color,"disabled","text")};`}
43
47
  background: none;
44
48
  }
45
- `,S=s.forwardRef((e,I)=>{const{disabled:b,readOnly:x,defaultValue:T,value:o,debounceTime:R=0,type:z="text",placeholder:O,tabIndex:q,prefix:m,suffix:g,onChange:l,onBlur:y,onFocus:h,className:v="",style:j={},size:P="small",color:a="primary",...W}=e,i=D.useTheme(),u=s.useRef(o||T||""),[k,$]=s.useState(o||T||""),[d,V]=s.useState(!1);s.useEffect(()=>{o!=null&&(u.current=o,$(u.current))},[o]);const w=s.useCallback(B.debounce((r,f)=>U(r,f),R),[l]),U=(r,f)=>{l&&(l==null||l(r,f))},F=r=>{u.current=r.target.value,$(u.current),w(r,r.target.value)},N=r=>{V(!0),h==null||h(r)},_=r=>{V(!1),y==null||y(r)};return c.jsxs(E,{style:j,className:v,theme:i,color:a,size:P,focused:d,disabled:b,readOnly:x,children:[m&&c.jsx(C,{theme:i,color:a,focused:d,className:"lnc-input-prefix",children:m}),c.jsx(G,{ref:I,type:z,theme:i,color:a,size:P,placeholder:O,prefix:m,suffix:g,disabled:b,readOnly:x,focused:d,onFocus:N,onBlur:_,onChange:F,tabIndex:q,value:k,...W}),g&&c.jsx(A,{theme:i,color:a,focused:d,className:"lnc-input-suffix",children:g})]})});S.propTypes={id:t.PropTypes.any,defaultValue:t.PropTypes.string,value:t.PropTypes.string,disabled:t.PropTypes.bool,readOnly:t.PropTypes.bool,debounceTime:t.PropTypes.number,placeholder:t.PropTypes.string,type:t.PropTypes.oneOf(["text","email"]),tabIndex:t.PropTypes.number,prefix:t.PropTypes.oneOfType([t.PropTypes.string,t.PropTypes.element]),suffix:t.PropTypes.oneOfType([t.PropTypes.string,t.PropTypes.element]),onChange:t.PropTypes.func,onBlur:t.PropTypes.func,onFocus: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;
49
+ `,R=a.forwardRef((e,n)=>{const{disabled:x,readOnly:T,defaultValue:$,value:l,debounceTime:S=0,type:O="text",placeholder:k,tabIndex:z,prefix:m,suffix:p,onChange:s,onBlur:y,onFocus:h,className:q="",style:v={},size:P="small",color:u="primary",...j}=e,i=D.useTheme(),d=a.useRef(l||$||""),[W,V]=a.useState(l||$||""),[c,C]=a.useState(!1);a.useEffect(()=>{l!=null&&(d.current=l,V(d.current))},[l]);const w=a.useCallback(B.debounce((r,f)=>U(r,f),S),[s]),U=(r,f)=>{s&&(s==null||s(r,f))},F=r=>{d.current=r.target.value,V(d.current),w(r,r.target.value)},N=r=>{C(!0),h==null||h(r)},_=r=>{C(!1),y==null||y(r)};return g.jsxs(E,{style:v,className:q,theme:i,color:u,size:P,focused:c,disabled:x,readOnly:T,children:[m&&g.jsx(I,{theme:i,color:u,focused:c,className:"lnc-input-prefix",children:m}),g.jsx(G,{ref:n,type:O,theme:i,color:u,size:P,placeholder:k,prefix:m,suffix:p,disabled:x,readOnly:T,focused:c,onFocus:N,onBlur:_,onChange:F,tabIndex:z,value:W,...j}),p&&g.jsx(A,{theme:i,color:u,focused:c,className:"lnc-input-suffix",children:p})]})});R.propTypes={id:t.PropTypes.any,defaultValue:t.PropTypes.string,value:t.PropTypes.string,disabled:t.PropTypes.bool,readOnly:t.PropTypes.bool,debounceTime:t.PropTypes.number,placeholder:t.PropTypes.string,type:t.PropTypes.oneOf(["text","email"]),tabIndex:t.PropTypes.number,prefix:t.PropTypes.oneOfType([t.PropTypes.string,t.PropTypes.element]),suffix:t.PropTypes.oneOfType([t.PropTypes.string,t.PropTypes.element]),onChange:t.PropTypes.func,onBlur:t.PropTypes.func,onFocus: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=R;
package/dist/TextInput.js CHANGED
@@ -1,17 +1,17 @@
1
- import { jsxs as U, jsx as y } from "react/jsx-runtime";
1
+ import { jsxs as U, jsx as x } from "react/jsx-runtime";
2
2
  import { P as t } from "./index-S5Cd7WrG.js";
3
3
  import { forwardRef as D, useRef as E, useState as V, useEffect as q, useCallback as A } from "react";
4
4
  import { d as G } from "./index-CkWvbrVT.js";
5
- import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { d as s, b as r, a as H, e as J, h as T, c as K } from "./utils-BXCGNjIy.js";
5
+ import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
+ import { d as s, b as a, a as H, e as J, h as T, c as K } from "./utils-BbgAIA9N.js";
7
7
  import { u as L } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- const M = c.div`
8
+ const M = m.div`
9
9
  display: flex;
10
10
  align-items: center;
11
11
 
12
12
  min-height: ${(e) => s(e.theme, e.size)};
13
13
  max-height: ${(e) => s(e.theme, e.size)};
14
- background-color: ${(e) => r(
14
+ background-color: ${(e) => a(
15
15
  e.theme,
16
16
  "Input",
17
17
  e.color,
@@ -19,7 +19,7 @@ const M = c.div`
19
19
  "background"
20
20
  )};
21
21
  border: 1px solid
22
- ${(e) => r(
22
+ ${(e) => a(
23
23
  e.theme,
24
24
  "Input",
25
25
  e.focused === !0 ? "primary" : e.color,
@@ -29,17 +29,32 @@ const M = c.div`
29
29
  border-radius: ${(e) => H(e.theme, "regular")};
30
30
 
31
31
  ${(e) => e.focused && e.readOnly !== !0 ? J(e.theme) : ""}
32
- ${(e) => e.disabled === !0 ? T(e.theme) : ""}
33
- `, z = c.span`
32
+ /* ${(e) => e.disabled === !0 ? T(e.theme) : ""} */
33
+ ${(e) => e.disabled === !0 ? `background-color: ${a(
34
+ e.theme,
35
+ "Input",
36
+ e.color,
37
+ "disabled",
38
+ "background",
39
+ "backgroundOpacity"
40
+ )};
41
+ color: ${(l) => a(
42
+ l.theme,
43
+ "Input",
44
+ l.color,
45
+ "disabled",
46
+ "text"
47
+ )};` : ""}
48
+ `, z = m.span`
34
49
  padding: 0 12px;
35
- color: ${(e) => r(
50
+ color: ${(e) => a(
36
51
  e.theme,
37
52
  "Input",
38
53
  e.focused === !0 ? "primary" : e.color,
39
54
  "enabled",
40
55
  "prefix"
41
56
  )};
42
- `, Q = c(z)``, X = c.input`
57
+ `, Q = m(z)``, X = m.input`
43
58
  background: none;
44
59
  border: none;
45
60
  outline: none;
@@ -50,19 +65,19 @@ const M = c.div`
50
65
  ${(e) => K(e.theme, "Input", e.size, "enabled")}
51
66
  min-height: ${(e) => s(e.theme, e.size)};
52
67
  max-height: ${(e) => s(e.theme, e.size)};
53
- color: ${(e) => r(
68
+ color: ${(e) => a(
54
69
  e.theme,
55
70
  "Input",
56
71
  e.focused === !0 ? "primary" : e.color,
57
72
  "enabled",
58
73
  "text"
59
74
  )};
60
- caret-color: ${(e) => r(e.theme, "Input", e.color, "enabled", "caret")};
75
+ caret-color: ${(e) => a(e.theme, "Input", e.color, "enabled", "caret")};
61
76
  padding-right: ${(e) => e.suffix ? "0" : "0.75rem"};
62
77
  padding-left: ${(e) => e.prefix ? "0" : "0.75rem"};
63
78
 
64
79
  &::placeholder {
65
- color: ${(e) => r(
80
+ color: ${(e) => a(
66
81
  e.theme,
67
82
  "Input",
68
83
  e.color,
@@ -76,40 +91,55 @@ const M = c.div`
76
91
  }
77
92
 
78
93
  &:disabled {
79
- ${(e) => T(e.theme)}
94
+ /* ${(e) => T(e.theme)} */
95
+ ${(e) => `background-color: ${a(
96
+ e.theme,
97
+ "Input",
98
+ e.color,
99
+ "disabled",
100
+ "background",
101
+ "backgroundOpacity"
102
+ )};
103
+ color: ${(l) => a(
104
+ l.theme,
105
+ "Input",
106
+ l.color,
107
+ "disabled",
108
+ "text"
109
+ )};`}
80
110
  background: none;
81
111
  }
82
- `, Y = D((e, S) => {
112
+ `, Y = D((e, l) => {
83
113
  const {
84
- disabled: p,
85
- readOnly: x,
86
- defaultValue: $,
87
- value: a,
88
- debounceTime: v = 0,
89
- type: k = "text",
114
+ disabled: $,
115
+ readOnly: p,
116
+ defaultValue: I,
117
+ value: r,
118
+ debounceTime: S = 0,
119
+ type: v = "text",
90
120
  placeholder: R,
91
121
  tabIndex: B,
92
- prefix: m,
93
- suffix: f,
122
+ prefix: f,
123
+ suffix: h,
94
124
  //----------------
95
- onChange: l,
96
- onBlur: h,
125
+ onChange: o,
126
+ onBlur: b,
97
127
  onFocus: g,
98
128
  //----------------
99
129
  className: F = "",
100
130
  style: N = {},
101
- size: I = "small",
102
- color: o = "primary",
131
+ size: O = "small",
132
+ color: d = "primary",
103
133
  ...j
104
- } = e, u = L(), d = E(a || $ || ""), [w, C] = V(a || $ || ""), [i, O] = V(!1);
134
+ } = e, u = L(), i = E(r || I || ""), [w, k] = V(r || I || ""), [c, C] = V(!1);
105
135
  q(() => {
106
- a != null && (d.current = a, C(d.current));
107
- }, [a]);
136
+ r != null && (i.current = r, k(i.current));
137
+ }, [r]);
108
138
  const P = A(
109
- G((n, b) => W(n, b), v),
110
- [l]
111
- ), W = (n, b) => {
112
- l && (l == null || l(n, b));
139
+ G((n, y) => W(n, y), S),
140
+ [o]
141
+ ), W = (n, y) => {
142
+ o && (o == null || o(n, y));
113
143
  };
114
144
  return /* @__PURE__ */ U(
115
145
  M,
@@ -117,58 +147,58 @@ const M = c.div`
117
147
  style: N,
118
148
  className: F,
119
149
  theme: u,
120
- color: o,
121
- size: I,
122
- focused: i,
123
- disabled: p,
124
- readOnly: x,
150
+ color: d,
151
+ size: O,
152
+ focused: c,
153
+ disabled: $,
154
+ readOnly: p,
125
155
  children: [
126
- m && /* @__PURE__ */ y(
156
+ f && /* @__PURE__ */ x(
127
157
  z,
128
158
  {
129
159
  theme: u,
130
- color: o,
131
- focused: i,
160
+ color: d,
161
+ focused: c,
132
162
  className: "lnc-input-prefix",
133
- children: m
163
+ children: f
134
164
  }
135
165
  ),
136
- /* @__PURE__ */ y(
166
+ /* @__PURE__ */ x(
137
167
  X,
138
168
  {
139
- ref: S,
140
- type: k,
169
+ ref: l,
170
+ type: v,
141
171
  theme: u,
142
- color: o,
143
- size: I,
172
+ color: d,
173
+ size: O,
144
174
  placeholder: R,
145
- prefix: m,
146
- suffix: f,
147
- disabled: p,
148
- readOnly: x,
149
- focused: i,
175
+ prefix: f,
176
+ suffix: h,
177
+ disabled: $,
178
+ readOnly: p,
179
+ focused: c,
150
180
  onFocus: (n) => {
151
- O(!0), g == null || g(n);
181
+ C(!0), g == null || g(n);
152
182
  },
153
183
  onBlur: (n) => {
154
- O(!1), h == null || h(n);
184
+ C(!1), b == null || b(n);
155
185
  },
156
186
  onChange: (n) => {
157
- d.current = n.target.value, C(d.current), P(n, n.target.value);
187
+ i.current = n.target.value, k(i.current), P(n, n.target.value);
158
188
  },
159
189
  tabIndex: B,
160
190
  value: w,
161
191
  ...j
162
192
  }
163
193
  ),
164
- f && /* @__PURE__ */ y(
194
+ h && /* @__PURE__ */ x(
165
195
  Q,
166
196
  {
167
197
  theme: u,
168
- color: o,
169
- focused: i,
198
+ color: d,
199
+ focused: c,
170
200
  className: "lnc-input-suffix",
171
- children: f
201
+ children: h
172
202
  }
173
203
  )
174
204
  ]
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react/jsx-runtime"),s=require("react"),t=require("./utils-BWzf4vLl.cjs"),d=require("./index-BPVoEhTF.cjs"),m=require("./styled-components.browser.esm-CMTEDJ_5.cjs"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f=e=>{const r=e.palette.disabled.color,o=e.palette[r][e.palette.disabled.background],a=e.palette.opacity[e.palette.disabled.opacity];return t.hexToRgba(o,a??"100%")},h=e=>{const r=e.palette.disabled.color;return e.palette[r][e.palette.disabled.text]},x=m.$e`
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react/jsx-runtime"),s=require("react"),t=require("./utils-CZynEOC_.cjs"),d=require("./index-BPVoEhTF.cjs"),m=require("./styled-components.browser.esm-CMTEDJ_5.cjs"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f=e=>{const r=e.palette.disabled.color,o=e.palette[r][e.palette.disabled.background],a=e.palette.opacity[e.palette.disabled.opacity];return t.hexToRgba(o,a??"100%")},h=e=>{const r=e.palette.disabled.color;return e.palette[r][e.palette.disabled.text]},x=m.$e`
2
2
  * {
3
3
  --size-small: ${e=>t.getSizeValueWithUnits(e.theme,"small")};
4
4
  --size-medium: ${e=>t.getSizeValueWithUnits(e.theme,"medium")};
@@ -1,6 +1,6 @@
1
1
  import { jsx as b, jsxs as u } from "react/jsx-runtime";
2
2
  import { createContext as g, useContext as f, useState as h, useEffect as x } from "react";
3
- import { m as $, d, b as a, n as s } from "./utils-BXCGNjIy.js";
3
+ import { m as $, d, b as a, n as s } from "./utils-BbgAIA9N.js";
4
4
  import { P as i } from "./index-S5Cd7WrG.js";
5
5
  import { $ as y } from "./styled-components.browser.esm-C9FYANiy.js";
6
6
  import { b as T } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
@@ -1,8 +1,8 @@
1
- "use strict";const u=require("react/jsx-runtime"),l=require("react"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./index-BPVoEhTF.cjs"),q=require("./index-DaiUAQVF.cjs"),t=require("./utils-BWzf4vLl.cjs"),v=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),O=({theme:e,size:i})=>{var s=t.getSizeValueWithUnits(e,i);return`
1
+ "use strict";const u=require("react/jsx-runtime"),d=require("react"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./index-BPVoEhTF.cjs"),O=require("./index-DaiUAQVF.cjs"),t=require("./utils-CZynEOC_.cjs"),k=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=({theme:e,size:n})=>{var s=t.getSizeValueWithUnits(e,n);return`
2
2
  min-height: ${s};
3
3
  max-height: ${s};
4
- `},w=R.styled.input`
5
- ${e=>O(e)}
4
+ `},v=R.styled.input`
5
+ ${e=>q(e)}
6
6
  ${e=>t.getComponentTypographyCss(e.theme,"Input",e.size,"enabled")}
7
7
  padding: 0.625rem 0.75rem 0.62rem 0.75rem;
8
8
  line-height: inherit;
@@ -18,7 +18,9 @@
18
18
  border-radius: ${e=>t.getBorderRadiusValueWithUnits(e.theme,"regular")};
19
19
  color: ${e=>t.getColorRgbaValue(e.theme,"Input",e.color,"enabled","text")};
20
20
  &:disabled {
21
- ${e=>t.getDisabledStateCss(e.theme)};
21
+ /* ${e=>t.getDisabledStateCss(e.theme)}; */
22
+ ${e=>`background-color: ${t.getColorRgbaValue(e.theme,"Input",e.color,"disabled","background","backgroundOpacity")};
23
+ color: ${n=>t.getColorRgbaValue(n.theme,"Input",n.color,"disabled","text")};`}
22
24
  cursor: default;
23
25
  }
24
26
  &:focus:enabled {
@@ -28,4 +30,4 @@
28
30
  border: 1px solid
29
31
  ${e=>t.getColorRgbaValue(e.theme,"Input","primary",e.disabled===!0?"disabled":"enabled","border")};
30
32
  }
31
- `,c=l.forwardRef((e,i)=>{const{disabled:s,readOnly:m,defaultValue:g,value:o,debounceTime:p=0,onChange:a,className:y="",style:h={},size:T="small",color:C="primary",...f}=e,x=v.useTheme(),[$,b]=l.useState(o||g||"");l.useEffect(()=>{o!=null&&b(o)},[o]);const P=l.useCallback(q.debounce((n,d)=>V(n,d),p),[a]),V=(n,d)=>{a&&(a==null||a(n,d))},I=n=>{b(n.target.value),P(n,n.target.value)};return u.jsx(u.Fragment,{children:u.jsx(w,{type:"time",ref:i,onChange:I,disabled:s,readOnly:m,theme:x,color:C,size:T,className:y,style:h,value:$,...f})})});c.propTypes={id:r.PropTypes.any,defaultValue:r.PropTypes.string,value:r.PropTypes.string,disabled:r.PropTypes.bool,readOnly:r.PropTypes.bool,debounceTime:r.PropTypes.number,tabIndex:r.PropTypes.number,onChange:r.PropTypes.func,className:r.PropTypes.string,style:r.PropTypes.object,size:r.PropTypes.oneOf(["small","medium","large"]),color:r.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=c;
33
+ `,b=d.forwardRef((e,n)=>{const{disabled:s,readOnly:g,defaultValue:m,value:a,debounceTime:p=0,onChange:l,className:y="",style:h={},size:T="small",color:C="primary",...$}=e,x=k.useTheme(),[f,c]=d.useState(a||m||"");d.useEffect(()=>{a!=null&&c(a)},[a]);const V=d.useCallback(O.debounce((o,i)=>I(o,i),p),[l]),I=(o,i)=>{l&&(l==null||l(o,i))},P=o=>{c(o.target.value),V(o,o.target.value)};return u.jsx(u.Fragment,{children:u.jsx(v,{type:"time",ref:n,onChange:P,disabled:s,readOnly:g,theme:x,color:C,size:T,className:y,style:h,value:f,...$})})});b.propTypes={id:r.PropTypes.any,defaultValue:r.PropTypes.string,value:r.PropTypes.string,disabled:r.PropTypes.bool,readOnly:r.PropTypes.bool,debounceTime:r.PropTypes.number,tabIndex:r.PropTypes.number,onChange:r.PropTypes.func,className:r.PropTypes.string,style:r.PropTypes.object,size:r.PropTypes.oneOf(["small","medium","large"]),color:r.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=b;
package/dist/TimeInput.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { jsx as u, Fragment as V } from "react/jsx-runtime";
2
- import { forwardRef as v, useState as O, useEffect as T, useCallback as z } from "react";
3
- import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
2
+ import { forwardRef as O, useState as k, useEffect as v, useCallback as T } from "react";
3
+ import { s as z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { P as a } from "./index-S5Cd7WrG.js";
5
5
  import { d as S } from "./index-CkWvbrVT.js";
6
- import { c as w, b as o, a as R, h as j, e as F, d as N } from "./utils-BXCGNjIy.js";
6
+ import { c as w, b as r, a as R, h as j, e as F, d as N } from "./utils-BbgAIA9N.js";
7
7
  import { u as P } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- const U = ({ theme: e, size: s }) => {
9
- var l = N(e, s);
8
+ const U = ({ theme: e, size: n }) => {
9
+ var d = N(e, n);
10
10
  return `
11
- min-height: ${l};
12
- max-height: ${l};
11
+ min-height: ${d};
12
+ max-height: ${d};
13
13
  `;
14
- }, W = k.input`
14
+ }, W = z.input`
15
15
  ${(e) => U(e)}
16
16
  ${(e) => w(e.theme, "Input", e.size, "enabled")}
17
17
  padding: 0.625rem 0.75rem 0.62rem 0.75rem;
@@ -22,7 +22,7 @@ const U = ({ theme: e, size: s }) => {
22
22
  border-radius: 0.25rem;
23
23
  width: 100%;
24
24
  box-sizing: border-box;
25
- background-color: ${(e) => o(
25
+ background-color: ${(e) => r(
26
26
  e.theme,
27
27
  "Input",
28
28
  e.color,
@@ -30,7 +30,7 @@ const U = ({ theme: e, size: s }) => {
30
30
  "background"
31
31
  )};
32
32
  border: 1px solid
33
- ${(e) => o(
33
+ ${(e) => r(
34
34
  e.theme,
35
35
  "Input",
36
36
  e.color,
@@ -38,17 +38,32 @@ const U = ({ theme: e, size: s }) => {
38
38
  "border"
39
39
  )};
40
40
  border-radius: ${(e) => R(e.theme, "regular")};
41
- color: ${(e) => o(e.theme, "Input", e.color, "enabled", "text")};
41
+ color: ${(e) => r(e.theme, "Input", e.color, "enabled", "text")};
42
42
  &:disabled {
43
- ${(e) => j(e.theme)};
43
+ /* ${(e) => j(e.theme)}; */
44
+ ${(e) => `background-color: ${r(
45
+ e.theme,
46
+ "Input",
47
+ e.color,
48
+ "disabled",
49
+ "background",
50
+ "backgroundOpacity"
51
+ )};
52
+ color: ${(n) => r(
53
+ n.theme,
54
+ "Input",
55
+ n.color,
56
+ "disabled",
57
+ "text"
58
+ )};`}
44
59
  cursor: default;
45
60
  }
46
61
  &:focus:enabled {
47
62
  border: none;
48
63
  ${(e) => e.readOnly !== !0 ? F(e.theme) : ""};
49
- color: ${(e) => o(e.theme, "Input", "primary", "enabled", "text")};
64
+ color: ${(e) => r(e.theme, "Input", "primary", "enabled", "text")};
50
65
  border: 1px solid
51
- ${(e) => o(
66
+ ${(e) => r(
52
67
  e.theme,
53
68
  "Input",
54
69
  "primary",
@@ -56,49 +71,49 @@ const U = ({ theme: e, size: s }) => {
56
71
  "border"
57
72
  )};
58
73
  }
59
- `, B = v((e, s) => {
74
+ `, B = O((e, n) => {
60
75
  const {
61
76
  // id,
62
- disabled: l,
77
+ disabled: d,
63
78
  readOnly: m,
64
79
  defaultValue: b,
65
- value: r,
80
+ value: o,
66
81
  debounceTime: c = 0,
67
82
  // tabIndex,
68
83
  //----------------
69
- onChange: n,
84
+ onChange: l,
70
85
  //----------------
71
86
  className: g = "",
72
87
  style: h = {},
73
88
  size: p = "small",
74
89
  color: f = "primary",
75
90
  ...y
76
- } = e, C = P(), [$, i] = O(r || b || "");
77
- T(() => {
78
- r != null && i(r);
79
- }, [r]);
80
- const x = z(
81
- S((t, d) => I(t, d), c),
82
- [n]
83
- ), I = (t, d) => {
84
- n && (n == null || n(t, d));
91
+ } = e, $ = P(), [C, s] = k(o || b || "");
92
+ v(() => {
93
+ o != null && s(o);
94
+ }, [o]);
95
+ const I = T(
96
+ S((t, i) => x(t, i), c),
97
+ [l]
98
+ ), x = (t, i) => {
99
+ l && (l == null || l(t, i));
85
100
  };
86
101
  return /* @__PURE__ */ u(V, { children: /* @__PURE__ */ u(
87
102
  W,
88
103
  {
89
104
  type: "time",
90
- ref: s,
105
+ ref: n,
91
106
  onChange: (t) => {
92
- i(t.target.value), x(t, t.target.value);
107
+ s(t.target.value), I(t, t.target.value);
93
108
  },
94
- disabled: l,
109
+ disabled: d,
95
110
  readOnly: m,
96
- theme: C,
111
+ theme: $,
97
112
  color: f,
98
113
  size: p,
99
114
  className: g,
100
115
  style: h,
101
- value: $,
116
+ value: C,
102
117
  ...y
103
118
  }
104
119
  ) });
package/dist/Toggle.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime"),I=require("react"),o=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-BWzf4vLl.cjs"),v=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),n={containerWidth:{small:"2.5rem",medium:"3rem",large:"3.5rem"},containerHeight:{small:"1.5rem",medium:"1.75rem",large:"2rem"},slider:{small:"1rem",medium:"1.25rem",large:"1.5rem"},icon:{small:"0.75rem",medium:"0.875rem",large:"1rem"},iconOff:{small:"0.625rem",medium:"0.6875rem",large:"0.75rem"}},V={checked:{left:{small:"1.25rem",medium:"1.5rem",large:"1.75rem"}}},l={on:{top:{small:"0.25rem",medium:"0.25rem",large:"0.25rem"},left:{small:"1.375rem",medium:"1.6875rem",large:"2rem"},right:{small:"0.5rem",medium:"0.5rem",large:"0.5rem"}},off:{top:{small:"0.375rem",medium:"0.4375rem",large:"0.5rem"},left:{small:"1.375rem",medium:"1.75rem",large:"2.125rem"},right:{small:"0.5rem",medium:"0.5rem",large:"0.5rem"}}},j=e=>e=="left"?"row-reverse":"row",q=f.styled.label`
1
+ "use strict";const s=require("react/jsx-runtime"),I=require("react"),o=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CZynEOC_.cjs"),v=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),n={containerWidth:{small:"2.5rem",medium:"3rem",large:"3.5rem"},containerHeight:{small:"1.5rem",medium:"1.75rem",large:"2rem"},slider:{small:"1rem",medium:"1.25rem",large:"1.5rem"},icon:{small:"0.75rem",medium:"0.875rem",large:"1rem"},iconOff:{small:"0.625rem",medium:"0.6875rem",large:"0.75rem"}},V={checked:{left:{small:"1.25rem",medium:"1.5rem",large:"1.75rem"}}},l={on:{top:{small:"0.25rem",medium:"0.25rem",large:"0.25rem"},left:{small:"1.375rem",medium:"1.6875rem",large:"2rem"},right:{small:"0.5rem",medium:"0.5rem",large:"0.5rem"}},off:{top:{small:"0.375rem",medium:"0.4375rem",large:"0.5rem"},left:{small:"1.375rem",medium:"1.75rem",large:"2.125rem"},right:{small:"0.5rem",medium:"0.5rem",large:"0.5rem"}}},j=e=>e=="left"?"row-reverse":"row",q=f.styled.label`
2
2
  box-sizing: content-box !important;
3
3
  width: 100%;
4
4
  text-align: left;
package/dist/Toggle.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as P, jsx as m } from "react/jsx-runtime";
2
2
  import { useState as S } from "react";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
4
  import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { e as j, b as i, c as f } from "./utils-BXCGNjIy.js";
5
+ import { e as j, b as i, c as f } from "./utils-BbgAIA9N.js";
6
6
  import { u as B } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const o = {
8
8
  containerWidth: {
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),r=require("./index-BPVoEhTF.cjs"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./utils-BWzf4vLl.cjs"),u=require("react"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),d=l.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),r=require("./index-BPVoEhTF.cjs"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./utils-CZynEOC_.cjs"),u=require("react"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),d=l.styled.div`
2
2
  height: 1px;
3
3
  background-color: ${e=>m.getColorRgbaValue(e.theme,"MenuItem","default","enabled","separator")};
4
4
  margin-left: -0.25rem;
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import { P as r } from "./index-S5Cd7WrG.js";
3
3
  import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { b as i } from "./utils-BXCGNjIy.js";
4
+ import { b as i } from "./utils-BbgAIA9N.js";
5
5
  import { forwardRef as n } from "react";
6
6
  import { u as c } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const f = l.div`
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),S=require("react"),s=require("./index-BPVoEhTF.cjs"),t=require("./emotion-styled.browser.esm-BtEseadx.cjs"),h=require("./Icon.cjs"),U=require("./ProgressBar.cjs"),m=require("./utils-BWzf4vLl.cjs"),M=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),P={small:"1.5rem",medium:"1.75rem",large:"2rem"},x={small:"2.25rem",medium:"2.5rem",large:"2.75rem"},O=t.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),S=require("react"),s=require("./index-BPVoEhTF.cjs"),t=require("./emotion-styled.browser.esm-BtEseadx.cjs"),h=require("./Icon.cjs"),U=require("./ProgressBar.cjs"),m=require("./utils-CZynEOC_.cjs"),M=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),P={small:"1.5rem",medium:"1.75rem",large:"2rem"},x={small:"2.25rem",medium:"2.5rem",large:"2.75rem"},O=t.styled.div`
2
2
  display: inline-flex;
3
3
  gap: 0.5rem;
4
4
  align-items: center;
@@ -4,7 +4,7 @@ import { P as i } from "./index-S5Cd7WrG.js";
4
4
  import { s as t } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import y from "./Icon.js";
6
6
  import O from "./ProgressBar.js";
7
- import { b as S, c as C } from "./utils-BXCGNjIy.js";
7
+ import { b as S, c as C } from "./utils-BbgAIA9N.js";
8
8
  import { u as R } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
9
  const z = {
10
10
  small: "1.5rem",
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),n=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),v=require("./useDetectMobile-zkbzoOGV.cjs"),q=require("./Button.cjs"),b=require("./suspense-product-card-detailed-BNOhu3Z4.cjs"),C=P.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),n=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),v=require("./useDetectMobile-zkbzoOGV.cjs"),q=require("./Button.cjs"),b=require("./suspense-product-card-detailed-DXwya4fQ.cjs"),C=P.styled.div`
2
2
  padding: 1.75rem 3rem;
3
3
  display: grid;
4
4
  grid-template-columns: ${t=>`repeat(${t.limit||5}, minmax(0, 1fr))`};
@@ -4,7 +4,7 @@ import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as L, S as F } from "./consts-BuFChS64.js";
5
5
  import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import T from "./Button.js";
7
- import { D as _, S as D } from "./suspense-product-card-detailed-BDkww9pS.js";
7
+ import { D as _, S as D } from "./suspense-product-card-detailed-bYBpLiXc.js";
8
8
  const E = C.div`
9
9
  padding: 1.75rem 3rem;
10
10
  display: grid;
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),g=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-BWzf4vLl.cjs"),f=require("./index-BRgZcjpI.cjs"),b=d.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),g=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-CZynEOC_.cjs"),f=require("./index-BvSNRLNa.cjs"),b=d.styled.div`
2
2
  background-color: var(--gray-200, #dddfe4);
3
3
  border-radius: 0.75rem;
4
4
  min-width: 11.625rem;
@@ -2,7 +2,7 @@ import { jsxs as u, jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as Z, useState as h } from "react";
3
3
  import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as w } from "./consts-BuFChS64.js";
5
- import { t as C, l as D } from "./utils-BXCGNjIy.js";
5
+ import { t as C, l as D } from "./utils-BbgAIA9N.js";
6
6
  import { u as V } from "./useDetectMobile-Bkvj0VMa.js";
7
7
  import E from "./Button.js";
8
8
  const I = d.div`