@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,6 +1,6 @@
1
1
  import { jsx as e, jsxs as h } from "react/jsx-runtime";
2
2
  import { forwardRef as o } from "react";
3
- import { o as c, l as s } from "./utils-BXCGNjIy.js";
3
+ import { o as c, l as s } from "./utils-BbgAIA9N.js";
4
4
  import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import { M as l } from "./consts-BuFChS64.js";
6
6
  const g = d.div`
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime"),i=require("react"),t=require("./index-BPVoEhTF.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./utils-BWzf4vLl.cjs"),S=require("./Icon.cjs"),_=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),z=u.styled.div`
1
+ "use strict";const s=require("react/jsx-runtime"),i=require("react"),t=require("./index-BPVoEhTF.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./utils-CZynEOC_.cjs"),S=require("./Icon.cjs"),_=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),z=u.styled.div`
2
2
  display: inline-flex;
3
3
  flex-wrap: wrap;
4
4
  ${o=>g.getComponentTypographyCss(o.theme,"Breadcrumbs",o.size,"enabled")};
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as u, Fragment as A } from "react/jsx-runtime";
2
2
  import { forwardRef as N, useState as O } from "react";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
4
  import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { c as P, b as S } from "./utils-BXCGNjIy.js";
5
+ import { c as P, b as S } from "./utils-BbgAIA9N.js";
6
6
  import v from "./Icon.js";
7
7
  import { u as R } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  const $ = c.div`
package/dist/Button.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("react/jsx-runtime"),w=require("react"),o=require("./index-BPVoEhTF.cjs"),C=require("./index-DAOBjHnD.cjs"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-BWzf4vLl.cjs"),z=require("./Icon.cjs"),W=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),B={small:{regular:"1rem",icon:"0.75rem",justIcon:"0.5rem"},medium:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"},large:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"}},f=e=>`
1
+ "use strict";const n=require("react/jsx-runtime"),w=require("react"),l=require("./index-BPVoEhTF.cjs"),k=require("./index-DAOBjHnD.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CZynEOC_.cjs"),I=require("./Icon.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f={small:{regular:"1rem",icon:"0.75rem",justIcon:"0.5rem"},medium:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"},large:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"}},T=e=>`
2
2
  outline: none;
3
3
  display: inline-flex;
4
4
  flex-direction: row;
@@ -11,14 +11,14 @@
11
11
 
12
12
  border-radius: ${t.getBorderRadiusValueWithUnits(e.theme,e.borderRadius)};
13
13
 
14
- padding-left: ${e.hasLeadingIcon?B[e.size].icon:B[e.size].regular};
15
- padding-right: ${e.hasTrailingIcon?B[e.size].icon:B[e.size].regular};
16
- `,D=c.styled.span`
14
+ padding-left: ${e.hasLeadingIcon?f[e.size].icon:f[e.size].regular};
15
+ padding-right: ${e.hasTrailingIcon?f[e.size].icon:f[e.size].regular};
16
+ `,W=d.styled.span`
17
17
  padding-right: ${e=>e.size==="small"?"0.25rem":"0.5rem"};
18
- `,N=c.styled.span`
18
+ `,D=d.styled.span`
19
19
  padding-left: ${e=>e.size==="small"?"0.25rem":"0.5rem"};
20
- `,I=c.styled.button`
21
- ${e=>f(e)}
20
+ `,O=d.styled.button`
21
+ ${e=>T(e)}
22
22
 
23
23
  ${e=>t.getComponentTypographyCss(e.theme,"ButtonFilled",e.size,"enabled")};
24
24
 
@@ -50,8 +50,8 @@
50
50
  background-color: ${e=>e.disabled===!1&&t.getColorRgbaValue(e.theme,"ButtonFilled",e.color,"active","background")};
51
51
  color: ${e=>e.disabled===!1&&t.getColorRgbaValue(e.theme,"ButtonFilled",e.color,"active","text")};
52
52
  }
53
- `,E=c.styled.button`
54
- ${e=>f(e)}
53
+ `,E=d.styled.button`
54
+ ${e=>T(e)}
55
55
 
56
56
  min-height: ${e=>t.getSizeValueWithUnits(e.theme,e.size)};
57
57
  max-height: ${e=>t.getSizeValueWithUnits(e.theme,e.size)};
@@ -82,12 +82,14 @@
82
82
  }
83
83
 
84
84
  &:disabled {
85
- ${e=>e.disabled===!0&&t.getDisabledStateCss(e.theme)};
85
+ /* ${e=>e.disabled===!0&&t.getDisabledStateCss(e.theme)};
86
+ */
87
+ color: ${e=>t.getColorRgbaValue(e.theme,"ButtonTinted",e.color,"disabled","text")};
86
88
  cursor: default;
87
- background-color: ${e=>t.getColorRgbaValue(e.theme,"ButtonTinted","gray","disabled","background")};
89
+ background-color: ${e=>t.getColorRgbaValue(e.theme,"ButtonTinted","gray","disabled","background","backgroundOpacity")};
88
90
  }
89
- `,O=c.styled.button`
90
- ${e=>f(e)}
91
+ `,v=d.styled.button`
92
+ ${e=>T(e)}
91
93
 
92
94
  ${e=>t.getComponentTypographyCss(e.theme,"ButtonTinted",e.size,"enabled")};
93
95
 
@@ -121,7 +123,7 @@
121
123
  cursor: default;
122
124
  background-color: ${e=>t.getColorRgbaValue(e.theme,"ButtonBasic","gray","disabled","background","backgroundOpacity")};
123
125
  }
124
- `,L=c.styled(O)`
126
+ `,L=d.styled(v)`
125
127
  border: 1px solid
126
128
  ${e=>t.getColorRgbaValue(e.theme,"ButtonBasic",e.color,"enabled","border","borderOpacity")};
127
- `,v=w.forwardRef((e,d)=>{const{text:k="",iconStyle:T="solid",leadingIcon:x=null,trailingIcon:R=null,borderRadius:j="regular",btnType:l="filled",disabled:F=!1,tabIndex:u=0,onFocus:s,onBlur:g,onClick:b,onKeyDown:m,onLeadingIconClick:_,onTrailingIconClick:K,size:$="small",color:V="primary",className:P="",style:S={},children:U,...h}=e,a={theme:W.useTheme(),color:V,size:$,style:S,disabled:F,borderRadius:j,btnType:l,className:"lnc-ui-button "},i=!C.isEmpty(x),r=!C.isEmpty(R),q=!C.isEmpty(k),y=()=>n.jsxs(n.Fragment,{children:[i&&n.jsx(D,{size:$,children:n.jsx(z,{icon:x,sizeInUnits:"1.125rem",iconStyle:T})}),k,U,r&&n.jsx(N,{size:$,children:n.jsx(z,{icon:R,sizeInUnits:"1.125rem",iconStyle:T})})]});return l==="filled"?n.jsx(I,{ref:d,"data-type":"filled",...a,className:`${a==null?void 0:a.className} ${V}-${l}-lnc-btn ${P}`,hasLeadingIcon:i,hasTrailingIcon:r,onFocus:s,onBlur:g,onClick:b,onKeyDown:m,tabIndex:u,btnType:l,...h,children:y()}):l==="tinted"?n.jsx(E,{ref:d,"data-type":"tinted",...a,hasLeadingIcon:i,hasTrailingIcon:r,onFocus:s,onBlur:g,onClick:b,onKeyDown:m,tabIndex:u,btnType:l,...h,children:y()}):l==="outline"?n.jsx(L,{ref:d,"data-type":"outline",...a,hasLeadingIcon:i,hasTrailingIcon:r,onFocus:s,onBlur:g,onClick:b,onKeyDown:m,tabIndex:u,btnType:l,...h,children:y()}):l==="basic"?n.jsx(O,{ref:d,"data-type":"basic",...a,hasLeadingIcon:i,hasTrailingIcon:r,onFocus:s,onBlur:g,onClick:b,onKeyDown:m,tabIndex:u,btnType:l,...h,children:y()}):n.jsx(I,{ref:d,"data-type":"filled",size:$,...a,hasLeadingIcon:i,hasTrailingIcon:r,onFocus:s,onBlur:g,onClick:b,onKeyDown:m,hasText:q,tabIndex:u,btnType:l,...h,children:y()})});v.propTypes={text:o.PropTypes.string,iconStyle:o.PropTypes.oneOf(["regular","solid"]),leadingIcon:o.PropTypes.string,trailingIcon:o.PropTypes.string,borderRadius:o.PropTypes.oneOf(["slight","regular","edged","curved","none"]),btnType:o.PropTypes.oneOf(["filled","tinted","outline","basic"]),disabled:o.PropTypes.bool,tabIndex:o.PropTypes.number,onBlur:o.PropTypes.func,onFocus:o.PropTypes.func,onClick:o.PropTypes.func,onKeyDown:o.PropTypes.func,className:o.PropTypes.string,style:o.PropTypes.object,color:o.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:o.PropTypes.oneOf(["small","medium","large"])};module.exports=v;
129
+ `,j=w.forwardRef((e,u)=>{const{text:x="",iconStyle:R="solid",leadingIcon:V=null,trailingIcon:z=null,borderRadius:F="regular",btnType:a="filled",disabled:N=!1,tabIndex:s=0,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,onLeadingIconClick:_,onTrailingIconClick:K,size:C="small",color:i="primary",className:$="",style:S={},children:U,...y}=e,o={theme:P.useTheme(),color:i,size:C,style:S,disabled:N,borderRadius:F,btnType:a,className:"lnc-ui-button "},c=!k.isEmpty(V),r=!k.isEmpty(z),q=!k.isEmpty(x),B=()=>n.jsxs(n.Fragment,{children:[c&&n.jsx(W,{size:C,children:n.jsx(I,{icon:V,sizeInUnits:"1.125rem",iconStyle:R})}),x,U,r&&n.jsx(D,{size:C,children:n.jsx(I,{icon:z,sizeInUnits:"1.125rem",iconStyle:R})})]});return a==="filled"?n.jsx(O,{ref:u,"data-type":"filled",...o,className:`${o==null?void 0:o.className} ${i}-${a}-lnc-btn ${$}`,hasLeadingIcon:c,hasTrailingIcon:r,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,tabIndex:s,btnType:a,...y,children:B()}):a==="tinted"?n.jsx(E,{ref:u,"data-type":"tinted",...o,className:`${o==null?void 0:o.className} ${i}-${a}-lnc-btn ${$}`,hasLeadingIcon:c,hasTrailingIcon:r,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,tabIndex:s,btnType:a,...y,children:B()}):a==="outline"?n.jsx(L,{ref:u,"data-type":"outline",...o,className:`${o==null?void 0:o.className} ${i}-${a}-lnc-btn ${$}`,hasLeadingIcon:c,hasTrailingIcon:r,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,tabIndex:s,btnType:a,...y,children:B()}):a==="basic"?n.jsx(v,{ref:u,"data-type":"basic",...o,className:`${o==null?void 0:o.className} ${i}-${a}-lnc-btn ${$}`,hasLeadingIcon:c,hasTrailingIcon:r,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,tabIndex:s,btnType:a,...y,children:B()}):n.jsx(O,{ref:u,"data-type":"filled",size:C,...o,className:`${o==null?void 0:o.className} ${i}-${a}-lnc-btn ${$}`,hasLeadingIcon:c,hasTrailingIcon:r,onFocus:g,onBlur:b,onClick:m,onKeyDown:h,hasText:q,tabIndex:s,btnType:a,...y,children:B()})});j.propTypes={text:l.PropTypes.string,iconStyle:l.PropTypes.oneOf(["regular","solid"]),leadingIcon:l.PropTypes.string,trailingIcon:l.PropTypes.string,borderRadius:l.PropTypes.oneOf(["slight","regular","edged","curved","none"]),btnType:l.PropTypes.oneOf(["filled","tinted","outline","basic"]),disabled:l.PropTypes.bool,tabIndex:l.PropTypes.number,onBlur:l.PropTypes.func,onFocus:l.PropTypes.func,onClick:l.PropTypes.func,onKeyDown:l.PropTypes.func,className:l.PropTypes.string,style:l.PropTypes.object,color:l.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:l.PropTypes.oneOf(["small","medium","large"])};module.exports=j;
package/dist/Button.js CHANGED
@@ -1,12 +1,12 @@
1
- import { jsx as i, jsxs as W, Fragment as E } from "react/jsx-runtime";
2
- import { forwardRef as P } from "react";
1
+ import { jsx as l, jsxs as W, Fragment as E } from "react/jsx-runtime";
2
+ import { forwardRef as q } from "react";
3
3
  import { P as o } from "./index-S5Cd7WrG.js";
4
- import { i as y } from "./index-BlxaTV-D.js";
5
- import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { c as x, b as t, d as r, h as T, e as z, a as q } from "./utils-BXCGNjIy.js";
4
+ import { i as T } from "./index-BlxaTV-D.js";
5
+ import { s as u } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
+ import { c as z, b as t, d as r, h as I, e as v, a as A } from "./utils-BbgAIA9N.js";
7
7
  import w from "./Icon.js";
8
- import { u as A } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
- const k = {
8
+ import { u as G } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
+ const x = {
10
10
  small: {
11
11
  regular: "1rem",
12
12
  icon: "0.75rem",
@@ -22,7 +22,7 @@ const k = {
22
22
  icon: "1rem",
23
23
  justIcon: "0.5rem"
24
24
  }
25
- }, I = (e) => `
25
+ }, O = (e) => `
26
26
  outline: none;
27
27
  display: inline-flex;
28
28
  flex-direction: row;
@@ -33,21 +33,21 @@ const k = {
33
33
  cursor: pointer;
34
34
  color: ${!e.disabled && "white"};
35
35
 
36
- border-radius: ${q(
36
+ border-radius: ${A(
37
37
  e.theme,
38
38
  e.borderRadius
39
39
  )};
40
40
 
41
- padding-left: ${e.hasLeadingIcon ? k[e.size].icon : k[e.size].regular};
42
- padding-right: ${e.hasTrailingIcon ? k[e.size].icon : k[e.size].regular};
43
- `, G = d.span`
41
+ padding-left: ${e.hasLeadingIcon ? x[e.size].icon : x[e.size].regular};
42
+ padding-right: ${e.hasTrailingIcon ? x[e.size].icon : x[e.size].regular};
43
+ `, H = u.span`
44
44
  padding-right: ${(e) => e.size === "small" ? "0.25rem" : "0.5rem"};
45
- `, H = d.span`
45
+ `, J = u.span`
46
46
  padding-left: ${(e) => e.size === "small" ? "0.25rem" : "0.5rem"};
47
- `, R = d.button`
48
- ${(e) => I(e)}
47
+ `, R = u.button`
48
+ ${(e) => O(e)}
49
49
 
50
- ${(e) => x(
50
+ ${(e) => z(
51
51
  e.theme,
52
52
  "ButtonFilled",
53
53
  e.size,
@@ -73,7 +73,7 @@ const k = {
73
73
  max-height: ${(e) => r(e.theme, e.size)};
74
74
 
75
75
  &:disabled {
76
- ${(e) => e.disabled === !0 && T(e.theme)};
76
+ ${(e) => e.disabled === !0 && I(e.theme)};
77
77
  cursor: default;
78
78
  background-color: ${(e) => t(
79
79
  e.theme,
@@ -123,7 +123,7 @@ const k = {
123
123
  "focus",
124
124
  "text"
125
125
  )};
126
- ${(e) => !e.disabled && z(e.theme)};
126
+ ${(e) => !e.disabled && v(e.theme)};
127
127
  }
128
128
 
129
129
  &:active {
@@ -142,12 +142,12 @@ const k = {
142
142
  "text"
143
143
  )};
144
144
  }
145
- `, J = d.button`
146
- ${(e) => I(e)}
145
+ `, M = u.button`
146
+ ${(e) => O(e)}
147
147
 
148
148
  min-height: ${(e) => r(e.theme, e.size)};
149
149
  max-height: ${(e) => r(e.theme, e.size)};
150
- ${(e) => x(
150
+ ${(e) => z(
151
151
  e.theme,
152
152
  "ButtonTinted",
153
153
  e.size,
@@ -208,7 +208,7 @@ const k = {
208
208
  "focus",
209
209
  "text"
210
210
  )};
211
- ${(e) => e.disabled === !1 && z(e.theme)};
211
+ ${(e) => e.disabled === !1 && v(e.theme)};
212
212
  }
213
213
 
214
214
  &:active {
@@ -231,20 +231,29 @@ const k = {
231
231
  }
232
232
 
233
233
  &:disabled {
234
- ${(e) => e.disabled === !0 && T(e.theme)};
234
+ /* ${(e) => e.disabled === !0 && I(e.theme)};
235
+ */
236
+ color: ${(e) => t(
237
+ e.theme,
238
+ "ButtonTinted",
239
+ e.color,
240
+ "disabled",
241
+ "text"
242
+ )};
235
243
  cursor: default;
236
244
  background-color: ${(e) => t(
237
245
  e.theme,
238
246
  "ButtonTinted",
239
247
  "gray",
240
248
  "disabled",
241
- "background"
249
+ "background",
250
+ "backgroundOpacity"
242
251
  )};
243
252
  }
244
- `, N = d.button`
245
- ${(e) => I(e)}
253
+ `, L = u.button`
254
+ ${(e) => O(e)}
246
255
 
247
- ${(e) => x(
256
+ ${(e) => z(
248
257
  e.theme,
249
258
  "ButtonTinted",
250
259
  e.size,
@@ -307,7 +316,7 @@ const k = {
307
316
  "text"
308
317
  )};
309
318
 
310
- ${(e) => !e.disabled && z(e.theme)};
319
+ ${(e) => !e.disabled && v(e.theme)};
311
320
  }
312
321
 
313
322
  &:active {
@@ -329,7 +338,7 @@ const k = {
329
338
  }
330
339
 
331
340
  &:disabled {
332
- ${(e) => e.disabled === !0 && T(e.theme)};
341
+ ${(e) => e.disabled === !0 && I(e.theme)};
333
342
  cursor: default;
334
343
  background-color: ${(e) => t(
335
344
  e.theme,
@@ -340,7 +349,7 @@ const k = {
340
349
  "backgroundOpacity"
341
350
  )};
342
351
  }
343
- `, M = d(N)`
352
+ `, Q = u(L)`
344
353
  border: 1px solid
345
354
  ${(e) => t(
346
355
  e.theme,
@@ -350,150 +359,154 @@ const k = {
350
359
  "border",
351
360
  "borderOpacity"
352
361
  )};
353
- `, Q = P((e, u) => {
362
+ `, X = q((e, s) => {
354
363
  const {
355
- text: v = "",
356
- iconStyle: O = "solid",
357
- leadingIcon: F = null,
358
- trailingIcon: C = null,
359
- borderRadius: L = "regular",
360
- btnType: n = "filled",
361
- disabled: S = !1,
362
- tabIndex: s = 0,
364
+ text: F = "",
365
+ iconStyle: C = "solid",
366
+ leadingIcon: N = null,
367
+ trailingIcon: j = null,
368
+ borderRadius: S = "regular",
369
+ btnType: a = "filled",
370
+ disabled: U = !1,
371
+ tabIndex: m = 0,
363
372
  //----------------
364
- onFocus: m,
365
- onBlur: b,
366
- onClick: g,
367
- onKeyDown: h,
368
- onLeadingIconClick: X,
369
- onTrailingIconClick: Y,
373
+ onFocus: b,
374
+ onBlur: g,
375
+ onClick: h,
376
+ onKeyDown: $,
377
+ onLeadingIconClick: Y,
378
+ onTrailingIconClick: Z,
370
379
  //----------------
371
- size: B = "small",
372
- color: j = "primary",
373
- className: U = "",
380
+ size: y = "small",
381
+ color: c = "primary",
382
+ className: f = "",
374
383
  style: D = {},
375
384
  children: V,
376
- ...$
377
- } = e, a = {
378
- theme: A(),
379
- color: j,
380
- size: B,
385
+ ...B
386
+ } = e, n = {
387
+ theme: G(),
388
+ color: c,
389
+ size: y,
381
390
  style: D,
382
- disabled: S,
383
- borderRadius: L,
384
- btnType: n,
391
+ disabled: U,
392
+ borderRadius: S,
393
+ btnType: a,
385
394
  className: "lnc-ui-button "
386
- }, l = !y(F), c = !y(C), K = !y(v), f = () => /* @__PURE__ */ W(E, { children: [
387
- l && /* @__PURE__ */ i(G, { size: B, children: /* @__PURE__ */ i(
395
+ }, i = !T(N), d = !T(j), K = !T(F), k = () => /* @__PURE__ */ W(E, { children: [
396
+ i && /* @__PURE__ */ l(H, { size: y, children: /* @__PURE__ */ l(
388
397
  w,
389
398
  {
390
- icon: F,
399
+ icon: N,
391
400
  sizeInUnits: "1.125rem",
392
- iconStyle: O
401
+ iconStyle: C
393
402
  }
394
403
  ) }),
395
- v,
404
+ F,
396
405
  V,
397
- c && /* @__PURE__ */ i(H, { size: B, children: /* @__PURE__ */ i(
406
+ d && /* @__PURE__ */ l(J, { size: y, children: /* @__PURE__ */ l(
398
407
  w,
399
408
  {
400
- icon: C,
409
+ icon: j,
401
410
  sizeInUnits: "1.125rem",
402
- iconStyle: O
411
+ iconStyle: C
403
412
  }
404
413
  ) })
405
414
  ] });
406
- return n === "filled" ? /* @__PURE__ */ i(
415
+ return a === "filled" ? /* @__PURE__ */ l(
407
416
  R,
408
417
  {
409
- ref: u,
418
+ ref: s,
410
419
  "data-type": "filled",
411
- ...a,
412
- className: `${a == null ? void 0 : a.className} ${j}-${n}-lnc-btn ${U}`,
413
- hasLeadingIcon: l,
414
- hasTrailingIcon: c,
415
- onFocus: m,
416
- onBlur: b,
417
- onClick: g,
418
- onKeyDown: h,
419
- tabIndex: s,
420
- btnType: n,
421
- ...$,
422
- children: f()
420
+ ...n,
421
+ className: `${n == null ? void 0 : n.className} ${c}-${a}-lnc-btn ${f}`,
422
+ hasLeadingIcon: i,
423
+ hasTrailingIcon: d,
424
+ onFocus: b,
425
+ onBlur: g,
426
+ onClick: h,
427
+ onKeyDown: $,
428
+ tabIndex: m,
429
+ btnType: a,
430
+ ...B,
431
+ children: k()
423
432
  }
424
- ) : n === "tinted" ? /* @__PURE__ */ i(
425
- J,
433
+ ) : a === "tinted" ? /* @__PURE__ */ l(
434
+ M,
426
435
  {
427
- ref: u,
436
+ ref: s,
428
437
  "data-type": "tinted",
429
- ...a,
430
- hasLeadingIcon: l,
431
- hasTrailingIcon: c,
432
- onFocus: m,
433
- onBlur: b,
434
- onClick: g,
435
- onKeyDown: h,
436
- tabIndex: s,
437
- btnType: n,
438
- ...$,
439
- children: f()
438
+ ...n,
439
+ className: `${n == null ? void 0 : n.className} ${c}-${a}-lnc-btn ${f}`,
440
+ hasLeadingIcon: i,
441
+ hasTrailingIcon: d,
442
+ onFocus: b,
443
+ onBlur: g,
444
+ onClick: h,
445
+ onKeyDown: $,
446
+ tabIndex: m,
447
+ btnType: a,
448
+ ...B,
449
+ children: k()
440
450
  }
441
- ) : n === "outline" ? /* @__PURE__ */ i(
442
- M,
451
+ ) : a === "outline" ? /* @__PURE__ */ l(
452
+ Q,
443
453
  {
444
- ref: u,
454
+ ref: s,
445
455
  "data-type": "outline",
446
- ...a,
447
- hasLeadingIcon: l,
448
- hasTrailingIcon: c,
449
- onFocus: m,
450
- onBlur: b,
451
- onClick: g,
452
- onKeyDown: h,
453
- tabIndex: s,
454
- btnType: n,
455
- ...$,
456
- children: f()
456
+ ...n,
457
+ className: `${n == null ? void 0 : n.className} ${c}-${a}-lnc-btn ${f}`,
458
+ hasLeadingIcon: i,
459
+ hasTrailingIcon: d,
460
+ onFocus: b,
461
+ onBlur: g,
462
+ onClick: h,
463
+ onKeyDown: $,
464
+ tabIndex: m,
465
+ btnType: a,
466
+ ...B,
467
+ children: k()
457
468
  }
458
- ) : n === "basic" ? /* @__PURE__ */ i(
459
- N,
469
+ ) : a === "basic" ? /* @__PURE__ */ l(
470
+ L,
460
471
  {
461
- ref: u,
472
+ ref: s,
462
473
  "data-type": "basic",
463
- ...a,
464
- hasLeadingIcon: l,
465
- hasTrailingIcon: c,
466
- onFocus: m,
467
- onBlur: b,
468
- onClick: g,
469
- onKeyDown: h,
470
- tabIndex: s,
471
- btnType: n,
472
- ...$,
473
- children: f()
474
+ ...n,
475
+ className: `${n == null ? void 0 : n.className} ${c}-${a}-lnc-btn ${f}`,
476
+ hasLeadingIcon: i,
477
+ hasTrailingIcon: d,
478
+ onFocus: b,
479
+ onBlur: g,
480
+ onClick: h,
481
+ onKeyDown: $,
482
+ tabIndex: m,
483
+ btnType: a,
484
+ ...B,
485
+ children: k()
474
486
  }
475
- ) : /* @__PURE__ */ i(
487
+ ) : /* @__PURE__ */ l(
476
488
  R,
477
489
  {
478
- ref: u,
490
+ ref: s,
479
491
  "data-type": "filled",
480
- size: B,
481
- ...a,
482
- hasLeadingIcon: l,
483
- hasTrailingIcon: c,
484
- onFocus: m,
485
- onBlur: b,
486
- onClick: g,
487
- onKeyDown: h,
492
+ size: y,
493
+ ...n,
494
+ className: `${n == null ? void 0 : n.className} ${c}-${a}-lnc-btn ${f}`,
495
+ hasLeadingIcon: i,
496
+ hasTrailingIcon: d,
497
+ onFocus: b,
498
+ onBlur: g,
499
+ onClick: h,
500
+ onKeyDown: $,
488
501
  hasText: K,
489
- tabIndex: s,
490
- btnType: n,
491
- ...$,
492
- children: f()
502
+ tabIndex: m,
503
+ btnType: a,
504
+ ...B,
505
+ children: k()
493
506
  }
494
507
  );
495
508
  });
496
- Q.propTypes = {
509
+ X.propTypes = {
497
510
  text: o.string,
498
511
  iconStyle: o.oneOf(["regular", "solid"]),
499
512
  /**
@@ -538,5 +551,5 @@ Q.propTypes = {
538
551
  size: o.oneOf(["small", "medium", "large"])
539
552
  };
540
553
  export {
541
- Q as default
554
+ X as default
542
555
  };
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),o=require("./utils-BWzf4vLl.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),s=a.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),o=require("./utils-CZynEOC_.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),s=a.styled.div`
2
2
  display: inline-flex;
3
3
  flex-wrap: wrap;
4
4
  width: fit-content;
@@ -1,7 +1,7 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
- import { b as o, a as b } from "./utils-BXCGNjIy.js";
4
+ import { b as o, a as b } from "./utils-BbgAIA9N.js";
5
5
  import { u as l } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  const s = i.div`
7
7
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),d=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),z=require("./Button.cjs"),I=require("./index-BPVoEhTF.cjs"),L=require("./RangeSlider.cjs"),F=require("./DropdownItem.cjs"),X=require("./DropdownMenu.cjs"),Z=require("./IconButton.cjs"),V=require("./BannerSectionWithList.cjs"),H=require("./utils-BWzf4vLl.cjs"),D=b.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),d=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),z=require("./Button.cjs"),I=require("./index-BPVoEhTF.cjs"),L=require("./RangeSlider.cjs"),F=require("./DropdownItem.cjs"),X=require("./DropdownMenu.cjs"),Z=require("./IconButton.cjs"),V=require("./BannerSectionWithList.cjs"),H=require("./utils-CZynEOC_.cjs"),D=b.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -9,7 +9,7 @@ import _ from "./DropdownItem.js";
9
9
  import K from "./DropdownMenu.js";
10
10
  import X from "./IconButton.js";
11
11
  import Z from "./BannerSectionWithList.js";
12
- import { y as q } from "./utils-BXCGNjIy.js";
12
+ import { y as q } from "./utils-BbgAIA9N.js";
13
13
  const J = y.div`
14
14
  display: flex;
15
15
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("react/jsx-runtime"),z=require("react"),t=require("./index-BPVoEhTF.cjs"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-BWzf4vLl.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),V=e=>e=="left"?"row-reverse":"row",i=(e,s)=>`calc(${e.components.Checkbox.default.enabled.sizes[s]} / 2)`,O=R.styled.label`
1
+ "use strict";const n=require("react/jsx-runtime"),z=require("react"),t=require("./index-BPVoEhTF.cjs"),R=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-CZynEOC_.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),V=e=>e=="left"?"row-reverse":"row",i=(e,s)=>`calc(${e.components.Checkbox.default.enabled.sizes[s]} / 2)`,O=R.styled.label`
2
2
  -webkit-user-select: none;
3
3
  -moz-user-select: none;
4
4
  -ms-user-select: none;
@@ -2,7 +2,7 @@ import { jsxs as k, jsx as i, Fragment as B } from "react/jsx-runtime";
2
2
  import { forwardRef as I } from "react";
3
3
  import { P as t } from "./index-S5Cd7WrG.js";
4
4
  import { s as j } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { d as g, c as L, b as n, a as N, e as x } from "./utils-BXCGNjIy.js";
5
+ import { d as g, c as L, b as n, a as N, e as x } from "./utils-BbgAIA9N.js";
6
6
  import { u as P } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  const R = (e) => e == "left" ? "row-reverse" : "row", o = (e, d) => `calc(${e.components.Checkbox.default.enabled.sizes[d]} / 2)`, T = j.label`
8
8
  -webkit-user-select: none;
package/dist/Chip.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),j=require("react"),r=require("./index-BPVoEhTF.cjs"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-BWzf4vLl.cjs"),O=require("./Avatar.cjs"),q=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),m=e=>{var o="fas";return`${o} fa-${e} fa-fw`},S=(e,o,l,a)=>e?`padding-right: ${a=="small"?"0.75rem":"0.625rem"}; padding-left: ${a=="small"?"0.25rem":"0.125rem"};`:o?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.5rem":"0.375rem"};`:l?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.75rem":"0.625rem"};`:`padding-right: ${a=="small"?"1rem":"0.75rem"}; padding-left: ${a=="small"?"1rem":"0.75rem"};`,F=w.styled.span`
1
+ "use strict";const t=require("react/jsx-runtime"),j=require("react"),r=require("./index-BPVoEhTF.cjs"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-CZynEOC_.cjs"),O=require("./Avatar.cjs"),q=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),m=e=>{var o="fas";return`${o} fa-${e} fa-fw`},S=(e,o,l,a)=>e?`padding-right: ${a=="small"?"0.75rem":"0.625rem"}; padding-left: ${a=="small"?"0.25rem":"0.125rem"};`:o?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.5rem":"0.375rem"};`:l?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.75rem":"0.625rem"};`:`padding-right: ${a=="small"?"1rem":"0.75rem"}; padding-left: ${a=="small"?"1rem":"0.75rem"};`,F=w.styled.span`
2
2
  cursor: pointer;
3
3
  display: inline-flex;
4
4
  height: ${e=>n.getSizeValueWithUnits(e.theme,e.size)};
package/dist/Chip.js CHANGED
@@ -2,7 +2,7 @@ import { jsxs as u, jsx as c, Fragment as N } from "react/jsx-runtime";
2
2
  import { forwardRef as j } from "react";
3
3
  import { P as a } from "./index-S5Cd7WrG.js";
4
4
  import { s as B } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { d as b, h as D, b as t, a as F, c as S, g as V, e as U } from "./utils-BXCGNjIy.js";
5
+ import { d as b, h as D, b as t, a as F, c as S, g as V, e as U } from "./utils-BbgAIA9N.js";
6
6
  import W from "./Avatar.js";
7
7
  import { u as A } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  const h = (e) => {