@lanaco/lnc-react-ui 4.0.2 → 4.0.5

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 (233) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +55 -50
  3. package/dist/AccordionDetails.cjs +1 -1
  4. package/dist/AccordionDetails.js +15 -15
  5. package/dist/AccordionSummary.cjs +1 -1
  6. package/dist/AccordionSummary.js +11 -11
  7. package/dist/ActionsToolbar.cjs +2 -2
  8. package/dist/ActionsToolbar.js +16 -16
  9. package/dist/Alert.cjs +1 -1
  10. package/dist/Alert.js +23 -23
  11. package/dist/Avatar.cjs +2 -2
  12. package/dist/Avatar.js +18 -21
  13. package/dist/Badge.cjs +1 -1
  14. package/dist/Badge.js +21 -14
  15. package/dist/Breadcrumbs.cjs +1 -1
  16. package/dist/Breadcrumbs.js +28 -28
  17. package/dist/Button.cjs +2 -2
  18. package/dist/Button.js +21 -22
  19. package/dist/ButtonGroup.cjs +1 -1
  20. package/dist/ButtonGroup.js +10 -6
  21. package/dist/CheckBoxInput.cjs +1 -1
  22. package/dist/CheckBoxInput.js +6 -6
  23. package/dist/Chip.cjs +1 -1
  24. package/dist/Chip.js +9 -9
  25. package/dist/ColorInput.cjs +1 -1
  26. package/dist/ColorInput.js +20 -20
  27. package/dist/ConfirmationForm.cjs +1 -1
  28. package/dist/ConfirmationForm.js +58 -58
  29. package/dist/Content.cjs +1 -1
  30. package/dist/Content.js +8 -8
  31. package/dist/{CustomStyles-nfD3J1mi.js → CustomStyles-BUSJ8bZt.js} +5 -5
  32. package/dist/{CustomStyles-CqlCjTgU.cjs → CustomStyles-Dlqxic2X.cjs} +1 -1
  33. package/dist/DataView.cjs +1 -1
  34. package/dist/DataView.js +35 -35
  35. package/dist/DateInput.cjs +4 -4
  36. package/dist/DateInput.js +491 -491
  37. package/dist/DecimalInput.cjs +1 -1
  38. package/dist/DecimalInput.js +43 -43
  39. package/dist/DetailsView.cjs +4 -4
  40. package/dist/DetailsView.js +40 -40
  41. package/dist/DoubleRangeSlider.cjs +1 -1
  42. package/dist/DoubleRangeSlider.js +33 -33
  43. package/dist/DragAndDropFile.cjs +1 -1
  44. package/dist/DragAndDropFile.js +165 -165
  45. package/dist/DragDropFiles.cjs +1 -1
  46. package/dist/DragDropFiles.js +31 -31
  47. package/dist/Drawer.cjs +1 -1
  48. package/dist/Drawer.js +47 -47
  49. package/dist/Dropdown.cjs +1 -1
  50. package/dist/Dropdown.js +39 -39
  51. package/dist/DropdownItem.cjs +1 -1
  52. package/dist/DropdownItem.js +23 -23
  53. package/dist/DropdownLookup.cjs +1 -1
  54. package/dist/DropdownLookup.js +36 -36
  55. package/dist/DropdownMenu.cjs +7 -1
  56. package/dist/DropdownMenu.js +192 -10
  57. package/dist/EditableTable.cjs +1 -1
  58. package/dist/EditableTable.js +4 -4
  59. package/dist/FileInput.cjs +1 -1
  60. package/dist/FileInput.js +24 -24
  61. package/dist/FlexBox.cjs +1 -1
  62. package/dist/FlexBox.js +14 -14
  63. package/dist/FlexGrid.cjs +1 -1
  64. package/dist/FlexGrid.js +30 -30
  65. package/dist/FlexGridItem.cjs +1 -1
  66. package/dist/FlexGridItem.js +16 -16
  67. package/dist/Footer.cjs +1 -1
  68. package/dist/Footer.js +5 -5
  69. package/dist/FormField.cjs +1 -1
  70. package/dist/FormField.js +8 -9
  71. package/dist/FormView.cjs +1 -1
  72. package/dist/FormView.js +31 -31
  73. package/dist/Grid.cjs +2 -3
  74. package/dist/Grid.js +38 -10
  75. package/dist/GridItem.cjs +2 -2
  76. package/dist/GridItem.js +29 -9
  77. package/dist/Header.cjs +1 -1
  78. package/dist/Header.js +7 -7
  79. package/dist/Icon.cjs +2 -2
  80. package/dist/Icon.js +35 -13
  81. package/dist/IconButton.cjs +1 -1
  82. package/dist/IconButton.js +51 -52
  83. package/dist/Kanban.cjs +12 -12
  84. package/dist/Kanban.js +891 -879
  85. package/dist/KanbanActionsToolbar.cjs +2 -2
  86. package/dist/KanbanActionsToolbar.js +28 -28
  87. package/dist/{KanbanCard-D9OhU8C6.js → KanbanCard-CHZ_C9kk.js} +50 -50
  88. package/dist/KanbanCard-DV3VnSUi.cjs +30 -0
  89. package/dist/KanbanCard.cjs +1 -1
  90. package/dist/KanbanCard.js +5 -5
  91. package/dist/KanbanFooter.cjs +1 -1
  92. package/dist/KanbanFooter.js +40 -40
  93. package/dist/KanbanHeader.cjs +2 -2
  94. package/dist/KanbanHeader.js +46 -46
  95. package/dist/KanbanView.cjs +1 -1
  96. package/dist/KanbanView.js +27 -27
  97. package/dist/Link.cjs +1 -1
  98. package/dist/Link.js +9 -9
  99. package/dist/MenuItem.cjs +1 -1
  100. package/dist/MenuItem.js +39 -39
  101. package/dist/Modal.cjs +1 -1
  102. package/dist/Modal.js +42 -42
  103. package/dist/MultiSelectDropdown.cjs +1 -1
  104. package/dist/MultiSelectDropdown.js +6 -6
  105. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  106. package/dist/MultiSelectDropdownLookup.js +6 -6
  107. package/dist/NestedDropdownItem.cjs +1 -1
  108. package/dist/NestedDropdownItem.js +40 -40
  109. package/dist/NestedMenuItem.cjs +1 -1
  110. package/dist/NestedMenuItem.js +45 -45
  111. package/dist/Notification.cjs +1 -83
  112. package/dist/Notification.js +3 -1077
  113. package/dist/NotificationContainer.cjs +37 -0
  114. package/dist/NotificationContainer.js +162 -0
  115. package/dist/NotificationMessage.cjs +47 -0
  116. package/dist/NotificationMessage.js +133 -0
  117. package/dist/NumberInput.cjs +1 -1
  118. package/dist/NumberInput.js +17 -17
  119. package/dist/PageLayout.cjs +1 -1
  120. package/dist/PageLayout.js +32 -32
  121. package/dist/Pagination.cjs +12 -0
  122. package/dist/Pagination.js +248 -0
  123. package/dist/PasswordInput.cjs +1 -1
  124. package/dist/PasswordInput.js +33 -33
  125. package/dist/Popover.cjs +1 -0
  126. package/dist/Popover.js +36 -0
  127. package/dist/PopoverClose.cjs +1 -0
  128. package/dist/PopoverClose.js +15 -0
  129. package/dist/PopoverContent.cjs +10 -0
  130. package/dist/PopoverContent.js +68 -0
  131. package/dist/PopoverContext.cjs +1 -0
  132. package/dist/PopoverContext.js +5 -0
  133. package/dist/PopoverDescription.cjs +1 -0
  134. package/dist/PopoverDescription.js +16 -0
  135. package/dist/PopoverHeading.cjs +1 -0
  136. package/dist/PopoverHeading.js +16 -0
  137. package/dist/PopoverTrigger.cjs +1 -0
  138. package/dist/PopoverTrigger.js +38 -0
  139. package/dist/ProgressBar.cjs +1 -1
  140. package/dist/ProgressBar.js +35 -24
  141. package/dist/RadioGroup.cjs +1 -1
  142. package/dist/RadioGroup.js +13 -13
  143. package/dist/RadioInput.cjs +1 -1
  144. package/dist/RadioInput.js +10 -10
  145. package/dist/RangeSlider.cjs +1 -1
  146. package/dist/RangeSlider.js +27 -27
  147. package/dist/SearchBar.cjs +1 -1
  148. package/dist/SearchBar.js +77 -77
  149. package/dist/Separator.cjs +1 -1
  150. package/dist/Separator.js +9 -9
  151. package/dist/Sidebar.cjs +1 -1
  152. package/dist/Sidebar.js +13 -13
  153. package/dist/Spinner.cjs +1 -1
  154. package/dist/Spinner.js +25 -20
  155. package/dist/Surface.cjs +2 -2
  156. package/dist/Surface.js +14 -15
  157. package/dist/SwipeableDrawer.cjs +1 -1
  158. package/dist/SwipeableDrawer.js +18 -18
  159. package/dist/TabItem.cjs +26 -0
  160. package/dist/TabItem.js +210 -0
  161. package/dist/Table.cjs +20 -20
  162. package/dist/Table.js +13 -12
  163. package/dist/TableView.cjs +8 -1
  164. package/dist/TableView.js +238 -9
  165. package/dist/Tabs.cjs +1 -1
  166. package/dist/Tabs.js +33 -27
  167. package/dist/TextAreaInput.cjs +1 -1
  168. package/dist/TextAreaInput.js +35 -35
  169. package/dist/TextInput.cjs +1 -1
  170. package/dist/TextInput.js +24 -24
  171. package/dist/ThemeProvider.cjs +1 -1
  172. package/dist/ThemeProvider.js +85 -85
  173. package/dist/TimeInput.cjs +1 -1
  174. package/dist/TimeInput.js +13 -13
  175. package/dist/Toggle.cjs +1 -1
  176. package/dist/Toggle.js +4 -5
  177. package/dist/TreeMenu.cjs +1 -1
  178. package/dist/TreeMenu.js +57 -57
  179. package/dist/TreeMenuSeparator.cjs +3 -3
  180. package/dist/TreeMenuSeparator.js +11 -11
  181. package/dist/UploadedFile.cjs +1 -1
  182. package/dist/UploadedFile.js +29 -29
  183. package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
  184. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  185. package/dist/{defineProperty-BHpTtkhC.js → defineProperty-B5pLF6px.js} +8 -8
  186. package/dist/{emotion-element-5486c51c.browser.esm-CSejtOeT.js → emotion-element-5486c51c.browser.esm-Bb4VkP8U.js} +4 -4
  187. package/dist/{emotion-is-prop-valid.esm-BzFBwmJz.js → emotion-is-prop-valid.esm-DkbeH1Xy.js} +1 -1
  188. package/dist/{emotion-react.browser.esm-OWM-uG8Q.js → emotion-react.browser.esm-CN-s34fZ.js} +6 -6
  189. package/dist/{emotion-react.browser.esm-DQBL7Wls.cjs → emotion-react.browser.esm-D7h2t2Bz.cjs} +1 -1
  190. package/dist/{emotion-styled.browser.esm-BZSYYThs.js → emotion-styled.browser.esm-BiK8DcgW.js} +12 -12
  191. package/dist/floating-ui.react.esm-72DKnou_.js +1198 -0
  192. package/dist/floating-ui.react.esm-C4vrBVJU.cjs +4 -0
  193. package/dist/{hoist-non-react-statics.cjs-Drf1aBlk.js → hoist-non-react-statics.cjs-CAHiRNzQ.js} +1 -1
  194. package/dist/{hoist-non-react-statics.cjs-B8r9S_ak.cjs → hoist-non-react-statics.cjs-Dr-ytKVG.cjs} +3 -3
  195. package/dist/{index-CZJEA84h.js → index--Kmch3aI.js} +1 -1
  196. package/dist/index-BIlhCoy2.cjs +20 -0
  197. package/dist/{index-BLQWNy78.js → index-BUChtubz.js} +4 -4
  198. package/dist/{index-Ds9PUTwb.js → index-BYnWp42a.js} +208 -213
  199. package/dist/{index-D5vEbKUT.js → index-CNBqQrtK.js} +1 -1
  200. package/dist/{index-IO9v6o0I.cjs → index-CSXL784P.cjs} +2 -2
  201. package/dist/{index-C29T0m2a.cjs → index-Ct1N7fF4.cjs} +1 -1
  202. package/dist/{index-BklgDeu4.js → index-Cu0xwYjD.js} +1 -1
  203. package/dist/{index-Cdkz-XH-.js → index-CvebWhtp.js} +1 -1
  204. package/dist/index-DAOBjHnD.cjs +1 -0
  205. package/dist/index-DBXXH_TD.cjs +1 -0
  206. package/dist/{index-B_da1uvD.js → index-DLVVKJXD.js} +1 -1
  207. package/dist/index-DaiUAQVF.cjs +1 -0
  208. package/dist/index.cjs +1 -26
  209. package/dist/index.js +180 -376
  210. package/dist/{motion-CtkUpWEn.js → motion-ecIGZGwI.js} +1 -1
  211. package/dist/react-toastify.esm-CkXGwKXL.js +798 -0
  212. package/dist/react-toastify.esm-Dqcb4SQT.cjs +1 -0
  213. package/dist/{setPrototypeOf-a891FLQJ.js → setPrototypeOf-CttqfWo1.js} +2 -2
  214. package/dist/style.css +1 -5
  215. package/dist/{tslib.es6-ZNVz5r_T.js → tslib.es6-DQ-SzcmG.js} +5 -5
  216. package/dist/usePopover.cjs +1 -0
  217. package/dist/usePopover.js +44 -0
  218. package/dist/{utils-DEke8iwo.js → utils-C52T57HO.js} +73 -73
  219. package/dist/{utils-hdRGTsQ7.cjs → utils-DTAPpJXU.cjs} +1 -1
  220. package/package.json +17 -5
  221. package/vite.config.js +16 -0
  222. package/custom-addons/ThemeSelector.js +0 -111
  223. package/custom-addons/register.js +0 -16
  224. package/custom-addons/theme-selector.css +0 -17
  225. package/dist/DropdownMenu-B6qr13ik.cjs +0 -19
  226. package/dist/DropdownMenu-DZi3TJ8Q.js +0 -1547
  227. package/dist/KanbanCard-ConTmu3w.cjs +0 -30
  228. package/dist/TableView-Cj5_fbSR.js +0 -481
  229. package/dist/TableView-D8ex512p.cjs +0 -19
  230. package/dist/index-BjdOz5Ok.cjs +0 -1
  231. package/dist/index-DXnSjbfJ.cjs +0 -20
  232. package/dist/index-Dzkd2i4n.cjs +0 -1
  233. package/dist/index-P-naJISQ.cjs +0 -1
package/dist/Icon.js CHANGED
@@ -1,18 +1,23 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import z from "react";
3
- /* empty css */
4
- import { P as o } from "./index-Ds9PUTwb.js";
5
- import { n as p } from "./emotion-styled.browser.esm-BZSYYThs.js";
6
- import { a as I, b } from "./utils-DEke8iwo.js";
7
- import { u as h } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
8
- const $ = p.span`
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as z } from "react";
3
+ import { P as o } from "./index-BYnWp42a.js";
4
+ import { n as I } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { g as h, a as p } from "./utils-C52T57HO.js";
6
+ import { u as b } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
+ const $ = I.span`
9
8
  box-sizing: border-box;
10
- ${(e) => e.sizeInUnits && e.sizeInUnits != "" ? `font-size: ${e.sizeInUnits}` : I(e.theme, "Icon", e.size, "enabled")};
11
- ${(e) => e.color && `color: ${b(e.theme, "Icon", e.color, "enabled", "icon")}`};
9
+ ${(e) => e.sizeInUnits && e.sizeInUnits != "" ? `font-size: ${e.sizeInUnits}` : h(e.theme, "Icon", e.size, "enabled")};
10
+ ${(e) => e.color && `color: ${p(
11
+ e.theme,
12
+ "Icon",
13
+ e.color,
14
+ "enabled",
15
+ "icon"
16
+ )}`};
12
17
  display: inline-flex;
13
18
  justify-content: center;
14
19
  align-items: center;
15
- `, x = z.forwardRef((e, n) => {
20
+ `, x = z((e, t) => {
16
21
  const {
17
22
  id: U = "",
18
23
  icon: s = "",
@@ -24,11 +29,28 @@ const $ = p.span`
24
29
  className: m = "",
25
30
  style: f = {},
26
31
  ...d
27
- } = e, g = { theme: h(), size: l, color: c, sizeInUnits: a }, y = () => {
32
+ } = e, g = { theme: b(), size: l, color: c, sizeInUnits: a }, y = () => {
28
33
  var u = i === "solid" ? "fas" : "far";
29
34
  return `${u} fa-${s} fa-fw`;
30
35
  };
31
- return /* @__PURE__ */ t($, { ref: n, ...g, tooltip: r, className: m, style: f, ...d, children: /* @__PURE__ */ t("i", { "data-control": !!e["data-control"], className: y() }) });
36
+ return /* @__PURE__ */ n(
37
+ $,
38
+ {
39
+ ref: t,
40
+ ...g,
41
+ tooltip: r,
42
+ className: m,
43
+ style: f,
44
+ ...d,
45
+ children: /* @__PURE__ */ n(
46
+ "i",
47
+ {
48
+ "data-control": !!e["data-control"],
49
+ className: y()
50
+ }
51
+ )
52
+ }
53
+ );
32
54
  });
33
55
  x.propTypes = {
34
56
  id: o.string,
@@ -1,4 +1,4 @@
1
- "use strict";const a=require("react/jsx-runtime"),$=require("react"),o=require("./index-DXnSjbfJ.cjs");;/* empty css */const b=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./utils-hdRGTsQ7.cjs"),S=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),m=e=>`
1
+ "use strict";const a=require("react/jsx-runtime"),$=require("react"),o=require("./index-BIlhCoy2.cjs"),b=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./utils-DTAPpJXU.cjs"),S=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),m=e=>`
2
2
  outline: none;
3
3
  display: inline-flex;
4
4
  flex-direction: row;
@@ -1,10 +1,9 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import x from "react";
3
- import { P as o } from "./index-Ds9PUTwb.js";
4
- /* empty css */
5
- import { n as h } from "./emotion-styled.browser.esm-BZSYYThs.js";
6
- import { a as $, b as t, f as n, h as f, g as B, c as N } from "./utils-DEke8iwo.js";
7
- import { u as V } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { forwardRef as I, isValidElement as N } from "react";
3
+ import { P as o } from "./index-BYnWp42a.js";
4
+ import { n as h } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { g as $, a as t, d as n, e as B, h as f, b as V } from "./utils-C52T57HO.js";
6
+ import { u as j } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
7
  const k = (e) => `
9
8
  outline: none;
10
9
  display: inline-flex;
@@ -16,16 +15,16 @@ const k = (e) => `
16
15
  cursor: pointer;
17
16
  color: ${!e.disabled && "white"};
18
17
 
19
- border-radius: ${N(
18
+ border-radius: ${V(
20
19
  e.theme,
21
20
  e.borderRadius
22
21
  )};
23
22
 
24
23
  min-width: ${n(e.theme, e.size)};
25
24
  max-width: ${n(e.theme, e.size)};
26
- `, j = h.i`
25
+ `, D = h.i`
27
26
  font-size: 1.125rem;
28
- `, v = h.button`
27
+ `, x = h.button`
29
28
  ${(e) => k(e)}
30
29
 
31
30
  ${(e) => $(
@@ -86,7 +85,7 @@ const k = (e) => `
86
85
  "text"
87
86
  )};
88
87
 
89
- ${(e) => e.disabled === !1 && f(e.theme)};
88
+ ${(e) => e.disabled === !1 && B(e.theme)};
90
89
  }
91
90
 
92
91
  &:active {
@@ -107,7 +106,7 @@ const k = (e) => `
107
106
  }
108
107
 
109
108
  &:disabled {
110
- ${(e) => e.disabled === !0 && B(e.theme)};
109
+ ${(e) => e.disabled === !0 && f(e.theme)};
111
110
  cursor: default;
112
111
  background-color: ${(e) => t(
113
112
  e.theme,
@@ -124,7 +123,7 @@ const k = (e) => `
124
123
  "text"
125
124
  )};
126
125
  }
127
- `, D = h.button`
126
+ `, P = h.button`
128
127
  ${(e) => k(e)}
129
128
 
130
129
  ${(e) => $(
@@ -189,7 +188,7 @@ const k = (e) => `
189
188
  "focus",
190
189
  "text"
191
190
  )};
192
- ${(e) => e.disabled === !1 && f(e.theme)};
191
+ ${(e) => e.disabled === !1 && B(e.theme)};
193
192
  }
194
193
 
195
194
  &:active {
@@ -210,7 +209,7 @@ const k = (e) => `
210
209
  )};
211
210
  }
212
211
  &:disabled {
213
- ${(e) => e.disabled === !0 && B(e.theme)};
212
+ ${(e) => e.disabled === !0 && f(e.theme)};
214
213
  cursor: default;
215
214
  background-color: ${(e) => t(
216
215
  e.theme,
@@ -228,7 +227,7 @@ const k = (e) => `
228
227
  "text"
229
228
  )};
230
229
  }
231
- `, T = h.button`
230
+ `, v = h.button`
232
231
  ${(e) => k(e)}
233
232
 
234
233
  ${(e) => $(
@@ -292,7 +291,7 @@ const k = (e) => `
292
291
  "hover",
293
292
  "text"
294
293
  )};
295
- ${(e) => e.disabled === !1 && f(e.theme)};
294
+ ${(e) => e.disabled === !1 && B(e.theme)};
296
295
  }
297
296
 
298
297
  &:active {
@@ -314,7 +313,7 @@ const k = (e) => `
314
313
  }
315
314
 
316
315
  &:disabled {
317
- ${(e) => e.disabled === !0 && B(e.theme)};
316
+ ${(e) => e.disabled === !0 && f(e.theme)};
318
317
  cursor: default;
319
318
  background-color: ${(e) => t(
320
319
  e.theme,
@@ -325,7 +324,7 @@ const k = (e) => `
325
324
  "backgroundOpacity"
326
325
  )};
327
326
  }
328
- `, P = h(T)`
327
+ `, K = h(v)`
329
328
  border: 1px solid
330
329
  ${(e) => t(
331
330
  e.theme,
@@ -335,14 +334,14 @@ const k = (e) => `
335
334
  "border",
336
335
  "borderOpacity"
337
336
  )};
338
- `, K = x.forwardRef((e, c) => {
337
+ `, U = I((e, c) => {
339
338
  const {
340
339
  icon: g = null,
341
- iconStyle: O = "solid",
342
- borderRadius: z = "regular",
343
- btnType: a = "filled",
344
- disabled: F = !1,
345
- tabIndex: U = 0,
340
+ iconStyle: T = "solid",
341
+ borderRadius: O = "regular",
342
+ btnType: l = "filled",
343
+ disabled: z = !1,
344
+ tabIndex: W = 0,
346
345
  //----------------
347
346
  onFocus: i = () => {
348
347
  },
@@ -354,25 +353,25 @@ const k = (e) => `
354
353
  },
355
354
  //----------------
356
355
  size: y = "small",
357
- color: w = "primary",
358
- className: C = "",
359
- style: R = {},
356
+ color: F = "primary",
357
+ className: w = "",
358
+ style: C = {},
360
359
  ...b
361
360
  } = e, s = {
362
- theme: V(),
363
- color: w,
361
+ theme: j(),
362
+ color: F,
364
363
  size: y,
365
- style: R,
366
- className: "lnc-ui-icon-button " + C,
367
- disabled: F,
368
- borderRadius: z,
369
- btnType: a
370
- }, S = () => {
371
- var I = O === "solid" ? "fas" : "far";
372
- return `${I} fa-${g} fa-fw`;
373
- }, m = () => x.isValidElement(g) ? g : /* @__PURE__ */ l(j, { className: S() });
374
- return a === "filled" ? /* @__PURE__ */ l(
375
- v,
364
+ style: C,
365
+ className: "lnc-ui-icon-button " + w,
366
+ disabled: z,
367
+ borderRadius: O,
368
+ btnType: l
369
+ }, R = () => {
370
+ var S = T === "solid" ? "fas" : "far";
371
+ return `${S} fa-${g} fa-fw`;
372
+ }, m = () => N(g) ? g : /* @__PURE__ */ a(D, { className: R() });
373
+ return l === "filled" ? /* @__PURE__ */ a(
374
+ x,
376
375
  {
377
376
  ref: c,
378
377
  "data-type": "filled",
@@ -381,12 +380,12 @@ const k = (e) => `
381
380
  onBlur: d,
382
381
  onClick: r,
383
382
  onKeyDown: u,
384
- type: a,
383
+ type: l,
385
384
  ...b,
386
385
  children: m()
387
386
  }
388
- ) : a === "tinted" ? /* @__PURE__ */ l(
389
- D,
387
+ ) : l === "tinted" ? /* @__PURE__ */ a(
388
+ P,
390
389
  {
391
390
  ref: c,
392
391
  "data-type": "tinted",
@@ -398,8 +397,8 @@ const k = (e) => `
398
397
  ...b,
399
398
  children: m()
400
399
  }
401
- ) : a === "outline" ? /* @__PURE__ */ l(
402
- P,
400
+ ) : l === "outline" ? /* @__PURE__ */ a(
401
+ K,
403
402
  {
404
403
  ref: c,
405
404
  "data-type": "outline",
@@ -411,8 +410,8 @@ const k = (e) => `
411
410
  ...b,
412
411
  children: m()
413
412
  }
414
- ) : a === "basic" ? /* @__PURE__ */ l(
415
- T,
413
+ ) : l === "basic" ? /* @__PURE__ */ a(
414
+ v,
416
415
  {
417
416
  ref: c,
418
417
  "data-type": "basic",
@@ -424,8 +423,8 @@ const k = (e) => `
424
423
  ...b,
425
424
  children: m()
426
425
  }
427
- ) : /* @__PURE__ */ l(
428
- v,
426
+ ) : /* @__PURE__ */ a(
427
+ x,
429
428
  {
430
429
  ref: c,
431
430
  "data-type": "filled",
@@ -440,7 +439,7 @@ const k = (e) => `
440
439
  }
441
440
  );
442
441
  });
443
- K.propTypes = {
442
+ U.propTypes = {
444
443
  icon: o.oneOfType([o.string, o.element]),
445
444
  iconStyle: o.oneOf(["regular", "solid"]),
446
445
  borderRadius: o.oneOf([
@@ -477,5 +476,5 @@ K.propTypes = {
477
476
  size: o.oneOf(["small", "medium", "large"])
478
477
  };
479
478
  export {
480
- K as default
479
+ U as default
481
480
  };