@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/FlexGrid.js CHANGED
@@ -1,40 +1,40 @@
1
- import { jsx as d } from "react/jsx-runtime";
2
- import n from "react";
3
- import { P as e } from "./index-Ds9PUTwb.js";
4
- import S from "./FlexBox.js";
5
- import y from "./FlexGridItem.js";
6
- const g = n.forwardRef((t, o) => {
1
+ import { jsx as u } from "react/jsx-runtime";
2
+ import { forwardRef as S, Children as d, isValidElement as y, cloneElement as g } from "react";
3
+ import { P as e } from "./index-BYnWp42a.js";
4
+ import b from "./FlexBox.js";
5
+ import j from "./FlexGridItem.js";
6
+ const x = S((r, t) => {
7
7
  const {
8
- columns: p = 12,
9
- spacing: a,
10
- rowSpacing: c,
11
- columnSpacing: m,
12
- justifyContent: i = "Start",
13
- alignItems: l = "Stretch",
14
- children: s,
15
- rest: f
16
- } = t, u = n.Children.map(s, (r) => {
17
- if (!(!n.isValidElement(r) || r.type != y))
18
- return n.cloneElement(r, {
19
- columns: p,
20
- spacing: a,
21
- rowSpacing: c,
22
- columnSpacing: m
8
+ columns: o = 12,
9
+ spacing: p,
10
+ rowSpacing: m,
11
+ columnSpacing: a,
12
+ justifyContent: c = "Start",
13
+ alignItems: i = "Stretch",
14
+ children: l,
15
+ rest: s
16
+ } = r, f = d.map(l, (n) => {
17
+ if (!(!y(n) || n.type != j))
18
+ return g(n, {
19
+ columns: o,
20
+ spacing: p,
21
+ rowSpacing: m,
22
+ columnSpacing: a
23
23
  });
24
24
  });
25
- return /* @__PURE__ */ d(
26
- S,
25
+ return /* @__PURE__ */ u(
26
+ b,
27
27
  {
28
- ref: o,
28
+ ref: t,
29
29
  wrap: "Wrap",
30
- justifyContent: i,
31
- alignItems: l,
32
- ...f,
33
- children: u
30
+ justifyContent: c,
31
+ alignItems: i,
32
+ ...s,
33
+ children: f
34
34
  }
35
35
  );
36
36
  });
37
- g.propTypes = {
37
+ x.propTypes = {
38
38
  /**
39
39
  * Number of available grid columns.
40
40
  */
@@ -74,5 +74,5 @@ g.propTypes = {
74
74
  ])
75
75
  };
76
76
  export {
77
- g as default
77
+ x as default
78
78
  };
@@ -1,4 +1,4 @@
1
- "use strict";const X=require("react/jsx-runtime"),i=require("react"),n=require("./index-DXnSjbfJ.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),q=require("./utils-hdRGTsQ7.cjs"),$=g.newStyled.div`
1
+ "use strict";const X=require("react/jsx-runtime"),i=require("react"),n=require("./index-BIlhCoy2.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),q=require("./utils-DTAPpJXU.cjs"),$=g.newStyled.div`
2
2
  ${s=>s.width>0?"":"flex: 1;"}
3
3
  min-width: ${s=>100/s.columns}%;
4
4
  width: ${s=>s.width}%;
@@ -1,35 +1,35 @@
1
1
  import { jsx as y } from "react/jsx-runtime";
2
- import N, { useState as S, useEffect as b } from "react";
3
- import { P as i } from "./index-Ds9PUTwb.js";
4
- import { n as I } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { u as M } from "./utils-DEke8iwo.js";
6
- const R = I.div`
2
+ import { forwardRef as N, useState as S, useEffect as b } from "react";
3
+ import { P as i } from "./index-BYnWp42a.js";
4
+ import { n as I } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { u as M } from "./utils-C52T57HO.js";
6
+ const W = I.div`
7
7
  ${(t) => t.width > 0 ? "" : "flex: 1;"}
8
8
  min-width: ${(t) => 100 / t.columns}%;
9
9
  width: ${(t) => t.width}%;
10
10
  padding: ${(t) => t.rowGap}px ${(t) => t.columnGap}px;
11
11
  overflow-wrap: break-word;
12
- `, W = N.forwardRef((t, x) => {
12
+ `, j = N((t, x) => {
13
13
  const {
14
14
  XS: r,
15
15
  S: s,
16
16
  M: a,
17
- L: c,
17
+ L: n,
18
18
  XL: d,
19
19
  col: u,
20
20
  columns: e,
21
21
  spacing: p,
22
- rowSpacing: n,
22
+ rowSpacing: c,
23
23
  columnSpacing: m,
24
24
  children: k
25
25
  } = t, l = M(), [L, X] = S(0), [g, f] = S(0), [$, w] = S(0);
26
26
  b(() => {
27
27
  h();
28
- }, [e, r, s, a, c, d, u]), b(() => {
28
+ }, [e, r, s, a, n, d, u]), b(() => {
29
29
  h(), G();
30
30
  }, [l]), b(() => {
31
31
  G();
32
- }, [p, n, m]);
32
+ }, [p, c, m]);
33
33
  const h = () => {
34
34
  let o = u ? 100 / (e / u) : 0;
35
35
  switch (l) {
@@ -43,18 +43,18 @@ const R = I.div`
43
43
  o = a ? 100 / (e / a) : s ? 100 / (e / s) : r ? 100 / (e / r) : o;
44
44
  break;
45
45
  case "L":
46
- o = c ? 100 / (e / c) : a ? 100 / (e / a) : s ? 100 / (e / s) : r ? 100 / (e / r) : o;
46
+ o = n ? 100 / (e / n) : a ? 100 / (e / a) : s ? 100 / (e / s) : r ? 100 / (e / r) : o;
47
47
  break;
48
48
  case "XL":
49
- o = d ? 100 / (e / d) : c ? 100 / (e / c) : a ? 100 / (e / a) : s ? 100 / (e / s) : r ? 100 / (e / r) : o;
49
+ o = d ? 100 / (e / d) : n ? 100 / (e / n) : a ? 100 / (e / a) : s ? 100 / (e / s) : r ? 100 / (e / r) : o;
50
50
  break;
51
51
  }
52
52
  X(o);
53
53
  }, G = () => {
54
- p ? (f(p), w(p)) : (n && (isNaN(n) ? f(n[l] ?? 0) : f(n)), m && (isNaN(m) ? w(m[l] ?? 0) : w(m)));
54
+ p ? (f(p), w(p)) : (c && (isNaN(c) ? f(c[l] ?? 0) : f(c)), m && (isNaN(m) ? w(m[l] ?? 0) : w(m)));
55
55
  };
56
56
  return /* @__PURE__ */ y(
57
- R,
57
+ W,
58
58
  {
59
59
  ref: x,
60
60
  columns: e,
@@ -65,7 +65,7 @@ const R = I.div`
65
65
  }
66
66
  );
67
67
  });
68
- W.propTypes = {
68
+ j.propTypes = {
69
69
  /**
70
70
  * Number of columns to take up on XS screens.
71
71
  */
@@ -93,5 +93,5 @@ W.propTypes = {
93
93
  col: i.number
94
94
  };
95
95
  export {
96
- W as default
96
+ j as default
97
97
  };
package/dist/Footer.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const n=require("react/jsx-runtime"),i=require("react"),c=require("./index-DXnSjbfJ.cjs"),e=i.forwardRef((r,o)=>{const{children:t,__TYPE__:_="Footer",...s}=r;return n.jsx("footer",{ref:o,...s,children:t})});e.propTypes={__TYPE__:c.PropTypes.string};e.displayName="Footer";module.exports=e;
1
+ "use strict";const n=require("react/jsx-runtime"),i=require("react"),c=require("./index-BIlhCoy2.cjs"),e=i.forwardRef((r,o)=>{const{children:t,__TYPE__:_="Footer",...s}=r;return n.jsx("footer",{ref:o,...s,children:t})});e.propTypes={__TYPE__:c.PropTypes.string};e.displayName="Footer";module.exports=e;
package/dist/Footer.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import _ from "react";
3
- import { P as a } from "./index-Ds9PUTwb.js";
4
- const o = _.forwardRef((r, t) => {
5
- const { children: e, __TYPE__: f = "Footer", ...p } = r;
2
+ import { forwardRef as _ } from "react";
3
+ import { P as f } from "./index-BYnWp42a.js";
4
+ const o = _((r, t) => {
5
+ const { children: e, __TYPE__: m = "Footer", ...p } = r;
6
6
  return /* @__PURE__ */ s("footer", { ref: t, ...p, children: e });
7
7
  });
8
8
  o.propTypes = {
@@ -10,7 +10,7 @@ o.propTypes = {
10
10
  * Do not override this property.
11
11
  * Should only be used as indicator for type if you are passing custom component.
12
12
  */
13
- __TYPE__: a.string
13
+ __TYPE__: f.string
14
14
  };
15
15
  o.displayName = "Footer";
16
16
  export {
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime");require("react");const r=require("./index-DXnSjbfJ.cjs"),a=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-hdRGTsQ7.cjs"),b=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),g=a.newStyled.label`
1
+ "use strict";const s=require("react/jsx-runtime"),r=require("./index-BIlhCoy2.cjs"),a=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-DTAPpJXU.cjs"),b=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),g=a.newStyled.label`
2
2
  display: block;
3
3
  margin-bottom: 4px;
4
4
  ${e=>o.getComponentTypographyCss(e.theme,"FormField",e.size,"enabled")}
package/dist/FormField.js CHANGED
@@ -1,9 +1,8 @@
1
1
  import { jsxs as b, jsx as s } from "react/jsx-runtime";
2
- import "react";
3
- import { P as l } from "./index-Ds9PUTwb.js";
4
- import { n as m } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { a as i, b as n } from "./utils-DEke8iwo.js";
6
- import { u as g } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
2
+ import { P as l } from "./index-BYnWp42a.js";
3
+ import { n as m } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
+ import { g as i, a as n } from "./utils-C52T57HO.js";
5
+ import { u as g } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
6
  const f = m.label`
8
7
  display: block;
9
8
  margin-bottom: 4px;
@@ -27,14 +26,14 @@ const f = m.label`
27
26
  className: d = "",
28
27
  style: p = {},
29
28
  text: o = "",
30
- label: t = "",
29
+ label: a = "",
31
30
  children: y,
32
31
  ...u
33
- } = e, a = g();
32
+ } = e, t = g();
34
33
  return /* @__PURE__ */ b("div", { style: p, className: "lnc-ui-form-field " + d, children: [
35
- t && /* @__PURE__ */ s(f, { theme: a, size: r, children: t }),
34
+ a && /* @__PURE__ */ s(f, { theme: t, size: r, children: a }),
36
35
  y,
37
- o && /* @__PURE__ */ s(h, { size: r, theme: a, color: c, children: o })
36
+ o && /* @__PURE__ */ s(h, { size: r, theme: t, color: c, children: o })
38
37
  ] });
39
38
  };
40
39
  F.propTypes = {
package/dist/FormView.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),W=require("react"),r=require("./index-DXnSjbfJ.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),$=require("./FlexGrid.cjs"),M=require("./FlexGridItem.cjs"),b=require("./Button.cjs"),m=require("./IconButton.cjs"),Y=require("./TextInput.cjs"),U=require("./CheckBoxInput.cjs"),H=require("./RadioGroup.cjs"),J=require("./NumberInput.cjs"),K=require("./DecimalInput.cjs"),L=require("./PasswordInput.cjs"),Q=require("./TextAreaInput.cjs"),X=require("./TimeInput.cjs"),Z=require("./ColorInput.cjs"),z=require("./FileInput.cjs"),ee=require("./RangeSlider.cjs"),x=require("./utils-hdRGTsQ7.cjs"),re=require("./FormField.cjs"),te=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),oe=g.newStyled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),W=require("react"),r=require("./index-BIlhCoy2.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),$=require("./FlexGrid.cjs"),M=require("./FlexGridItem.cjs"),b=require("./Button.cjs"),m=require("./IconButton.cjs"),Y=require("./TextInput.cjs"),U=require("./CheckBoxInput.cjs"),H=require("./RadioGroup.cjs"),J=require("./NumberInput.cjs"),K=require("./DecimalInput.cjs"),L=require("./PasswordInput.cjs"),Q=require("./TextAreaInput.cjs"),X=require("./TimeInput.cjs"),Z=require("./ColorInput.cjs"),z=require("./FileInput.cjs"),ee=require("./RangeSlider.cjs"),x=require("./utils-DTAPpJXU.cjs"),re=require("./FormField.cjs"),te=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),oe=g.newStyled.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  `,se=g.newStyled.form`
package/dist/FormView.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsxs as c, jsx as r, Fragment as g } from "react/jsx-runtime";
2
- import W from "react";
3
- import { P as e } from "./index-Ds9PUTwb.js";
4
- import { n as y } from "./emotion-styled.browser.esm-BZSYYThs.js";
2
+ import { forwardRef as W } from "react";
3
+ import { P as e } from "./index-BYnWp42a.js";
4
+ import { n as y } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
5
  import M from "./FlexGrid.js";
6
6
  import Y from "./FlexGridItem.js";
7
- import b from "./Button.js";
7
+ import f from "./Button.js";
8
8
  import x from "./IconButton.js";
9
9
  import U from "./TextInput.js";
10
10
  import q from "./CheckBoxInput.js";
@@ -17,9 +17,9 @@ import X from "./TimeInput.js";
17
17
  import Z from "./ColorInput.js";
18
18
  import z from "./FileInput.js";
19
19
  import ee from "./RangeSlider.js";
20
- import { d as re, c as te, b as oe } from "./utils-DEke8iwo.js";
20
+ import { c as re, b as te, a as oe } from "./utils-C52T57HO.js";
21
21
  import ae from "./FormField.js";
22
- import { u as ne } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
22
+ import { u as ne } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
23
23
  const ie = y.div`
24
24
  display: flex;
25
25
  justify-content: space-between;
@@ -166,7 +166,7 @@ const ie = y.div`
166
166
  default:
167
167
  return n;
168
168
  }
169
- }, h = W.forwardRef((d, a) => {
169
+ }, h = W((d, a) => {
170
170
  const {
171
171
  __TYPE__: l = "FORM_VIEW",
172
172
  goToPreviousView: n,
@@ -181,17 +181,17 @@ const ie = y.div`
181
181
  previousActive: V = !0,
182
182
  editActive: se,
183
183
  disableGoBack: w = !1,
184
- disableNext: _ = !1,
185
- disablePrevious: B = !1,
184
+ disableNext: B = !1,
185
+ disablePrevious: C = !1,
186
186
  disableEdit: ce,
187
- disableDiscard: C = !1,
188
- disableSave: A = !1,
189
- discardText: F = "Discard",
190
- saveText: G = "Save",
187
+ disableDiscard: A = !1,
188
+ disableSave: F = !1,
189
+ discardText: G = "Discard",
190
+ saveText: S = "Save",
191
191
  //------------------
192
- goToNext: R = () => {
192
+ goToNext: _ = () => {
193
193
  },
194
- goToPrevious: S = () => {
194
+ goToPrevious: R = () => {
195
195
  },
196
196
  onEdit: me = () => {
197
197
  },
@@ -203,8 +203,8 @@ const ie = y.div`
203
203
  },
204
204
  //------------------
205
205
  className: ue = "",
206
- style: fe = {},
207
- color: f = "primary",
206
+ style: be = {},
207
+ color: b = "primary",
208
208
  size: p = "small",
209
209
  children: j,
210
210
  ...D
@@ -216,12 +216,12 @@ const ie = y.div`
216
216
  {
217
217
  ref: a,
218
218
  theme: O,
219
- color: f,
219
+ color: b,
220
220
  borderRadius: "regular",
221
221
  ...D,
222
222
  children: [
223
223
  v && /* @__PURE__ */ r(
224
- b,
224
+ f,
225
225
  {
226
226
  leadingIcon: "arrow-circle-left",
227
227
  text: k,
@@ -238,14 +238,14 @@ const ie = y.div`
238
238
  {
239
239
  label: t.label,
240
240
  text: s[t.accessor],
241
- color: s[t.accessor] ? "danger" : f,
241
+ color: s[t.accessor] ? "danger" : b,
242
242
  size: p,
243
243
  children: t.type == "custom" ? t.element : de(
244
244
  t.type,
245
245
  t.inputProps,
246
246
  t.accessor,
247
247
  o[t.accessor],
248
- s[t.accessor] ? "danger" : f,
248
+ s[t.accessor] ? "danger" : b,
249
249
  p
250
250
  )
251
251
  },
@@ -259,8 +259,8 @@ const ie = y.div`
259
259
  {
260
260
  btnType: "outline",
261
261
  icon: "angle-left",
262
- disabled: B,
263
- onClick: (t) => S(o, t),
262
+ disabled: C,
263
+ onClick: (t) => R(o, t),
264
264
  type: "button"
265
265
  }
266
266
  ),
@@ -271,34 +271,34 @@ const ie = y.div`
271
271
  {
272
272
  btnType: "outline",
273
273
  icon: "angle-right",
274
- disabled: _,
275
- onClick: (t) => R(o, t),
274
+ disabled: B,
275
+ onClick: (t) => _(o, t),
276
276
  type: "button"
277
277
  }
278
278
  )
279
279
  ] }),
280
280
  /* @__PURE__ */ c("div", { children: [
281
281
  /* @__PURE__ */ r(
282
- b,
282
+ f,
283
283
  {
284
284
  leadingIcon: "eraser",
285
285
  btnType: "outline",
286
286
  color: "warning",
287
- text: F,
288
- disabled: C,
287
+ text: G,
288
+ disabled: A,
289
289
  onClick: P,
290
290
  type: "button"
291
291
  }
292
292
  ),
293
293
  "  ",
294
294
  /* @__PURE__ */ r(
295
- b,
295
+ f,
296
296
  {
297
297
  leadingIcon: "floppy-disk",
298
298
  btnType: "tinted",
299
299
  color: "success",
300
- text: G,
301
- disabled: A,
300
+ text: S,
301
+ disabled: F,
302
302
  onClick: E
303
303
  }
304
304
  )
package/dist/Grid.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const w=require("react/jsx-runtime"),j=require("react"),t=require("./index-DXnSjbfJ.cjs"),G=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),I=G.newStyled.div`
1
+ "use strict";const w=require("react/jsx-runtime"),j=require("react"),t=require("./index-BIlhCoy2.cjs"),G=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),I=G.newStyled.div`
2
2
  display: ${e=>e.inline?"inline-grid":"grid"};
3
3
  row-gap: ${e=>e.rowGap?e.rowGap:e.gap?e.gap:0};
4
4
  column-gap: ${e=>e.columnGap?e.columnGap:e.gap?e.gap:0};
@@ -8,6 +8,5 @@
8
8
  ${e=>e.justifyItems&&`justify-items: ${e.justifyItems};`}
9
9
  ${e=>e.alignItems&&`align-items: ${e.alignItems};`}
10
10
  ${e=>e.justifyContent&&`justify-content: ${e.justifyContent};`}
11
- ${e=>e.templateAreas&&`grid-template-areas: ${e.templateAreas};`}
12
-
11
+ ${e=>e.templateAreas&&`grid-template-areas: ${e.templateAreas};`}
13
12
  `,s=j.forwardRef((e,n)=>{const{inline:a=!1,template:r,templateColumns:i,templateRows:l,gap:o,rowGap:p,columnGap:m,justifyItems:y,alignItems:c,justifyContent:g,templateAreas:u,children:d,className:f="",style:T={},...$}=e;var P={inline:a,template:r,templateColumns:i,templateRows:l,gap:o,rowGap:p,columnGap:m,justifyItems:y,alignItems:c,justifyContent:g,templateAreas:u};return w.jsx(I,{ref:n,...P,className:f,style:T,...$,children:d})});s.defaultProps={inline:!1,style:{},className:""};s.propTypes={inline:t.PropTypes.bool,template:t.PropTypes.string,templateColumns:t.PropTypes.string,templateRows:t.PropTypes.string,gap:t.PropTypes.string,rowGap:t.PropTypes.string,columnGap:t.PropTypes.string,justifyItems:t.PropTypes.oneOf(["start","end","center","stretch"]),alignItems:t.PropTypes.oneOf(["start","end","center","stretch"]),placeItems:t.PropTypes.oneOf(["start","end","center","stretch"]),justifyContent:t.PropTypes.oneOf(["start","end","center","stretch","space-between","space-evenly"]),templateAreas:t.PropTypes.string,style:t.PropTypes.object,className:t.PropTypes.string};module.exports=s;
package/dist/Grid.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsx as G } from "react/jsx-runtime";
2
- import I from "react";
3
- import { P as e } from "./index-Ds9PUTwb.js";
4
- import { n as C } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- const R = C.div`
2
+ import { forwardRef as I } from "react";
3
+ import { P as e } from "./index-BYnWp42a.js";
4
+ import { n as C } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ const h = C.div`
6
6
  display: ${(t) => t.inline ? "inline-grid" : "grid"};
7
7
  row-gap: ${(t) => t.rowGap ? t.rowGap : t.gap ? t.gap : 0};
8
8
  column-gap: ${(t) => t.columnGap ? t.columnGap : t.gap ? t.gap : 0};
@@ -12,9 +12,8 @@ const R = C.div`
12
12
  ${(t) => t.justifyItems && `justify-items: ${t.justifyItems};`}
13
13
  ${(t) => t.alignItems && `align-items: ${t.alignItems};`}
14
14
  ${(t) => t.justifyContent && `justify-content: ${t.justifyContent};`}
15
- ${(t) => t.templateAreas && `grid-template-areas: ${t.templateAreas};`}
16
-
17
- `, a = I.forwardRef((t, s) => {
15
+ ${(t) => t.templateAreas && `grid-template-areas: ${t.templateAreas};`}
16
+ `, a = I((t, s) => {
18
17
  const {
19
18
  inline: n = !1,
20
19
  template: l,
@@ -32,8 +31,30 @@ const R = C.div`
32
31
  style: $ = {},
33
32
  ...w
34
33
  } = t;
35
- var j = { inline: n, template: l, templateColumns: i, templateRows: m, gap: r, rowGap: o, columnGap: g, justifyItems: c, alignItems: p, justifyContent: f, templateAreas: d };
36
- return /* @__PURE__ */ G(R, { ref: s, ...j, className: y, style: $, ...w, children: u });
34
+ var j = {
35
+ inline: n,
36
+ template: l,
37
+ templateColumns: i,
38
+ templateRows: m,
39
+ gap: r,
40
+ rowGap: o,
41
+ columnGap: g,
42
+ justifyItems: c,
43
+ alignItems: p,
44
+ justifyContent: f,
45
+ templateAreas: d
46
+ };
47
+ return /* @__PURE__ */ G(
48
+ h,
49
+ {
50
+ ref: s,
51
+ ...j,
52
+ className: y,
53
+ style: $,
54
+ ...w,
55
+ children: u
56
+ }
57
+ );
37
58
  });
38
59
  a.defaultProps = {
39
60
  inline: !1,
@@ -51,7 +72,14 @@ a.propTypes = {
51
72
  justifyItems: e.oneOf(["start", "end", "center", "stretch"]),
52
73
  alignItems: e.oneOf(["start", "end", "center", "stretch"]),
53
74
  placeItems: e.oneOf(["start", "end", "center", "stretch"]),
54
- justifyContent: e.oneOf(["start", "end", "center", "stretch", "space-between", "space-evenly"]),
75
+ justifyContent: e.oneOf([
76
+ "start",
77
+ "end",
78
+ "center",
79
+ "stretch",
80
+ "space-between",
81
+ "space-evenly"
82
+ ]),
55
83
  templateAreas: e.string,
56
84
  //-------------
57
85
  style: e.object,
package/dist/GridItem.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const f=require("react/jsx-runtime"),p=require("react"),t=require("./index-DXnSjbfJ.cjs"),T=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),P=T.newStyled.div`
1
+ "use strict";const f=require("react/jsx-runtime"),p=require("react"),t=require("./index-BIlhCoy2.cjs"),T=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),P=T.newStyled.div`
2
2
  display: ${e=>e.inline?"inline-grid":"grid"};
3
3
  row-gap: ${e=>e.rowGap?e.rowGap:e.gap?e.gap:0};
4
4
  column-gap: ${e=>e.columnGap?e.columnGap:e.gap?e.gap:0};
@@ -11,5 +11,5 @@
11
11
  ${e=>e.colStart&&`grid-column-start: ${e.colStart};`}
12
12
  ${e=>(e.colEnd||e.colSpan)&&`grid-column-end: span ${e.colEnd||e.colSpan};`}
13
13
  ${e=>e.rowStart&&`grid-row-start: ${e.rowStart};`}
14
- ${e=>(e.rowEnd||e.rowSpan)&&`grid-row-end: span ${e.rowEnd||e.rowSpan};`}
14
+ ${e=>(e.rowEnd||e.rowSpan)&&`grid-row-end: span ${e.rowEnd||e.rowSpan};`}
15
15
  `,r=p.forwardRef((e,a)=>{const{colStart:n,colEnd:l,rowStart:o,rowEnd:i,colSpan:s,rowSpan:c,justifySelf:d,alignSelf:m,area:S,className:g="",style:u={},children:w,...y}=e;var $={colStart:n,colEnd:l,rowStart:o,rowEnd:i,colSpan:s,rowSpan:c,justifySelf:d,alignSelf:m,area:S};return f.jsx(P,{ref:a,...$,className:g,style:u,...y,children:w})});r.propTypes={colStart:t.PropTypes.number,colEnd:t.PropTypes.number,rowStart:t.PropTypes.number,rowEnd:t.PropTypes.number,colSpan:t.PropTypes.number,rowSpan:t.PropTypes.number,justifySelf:t.PropTypes.oneOf(["start","end","center","stretch"]),alignSelf:t.PropTypes.oneOf(["start","end","center","stretch"]),area:t.PropTypes.string,style:t.PropTypes.object,className:t.PropTypes.string};module.exports=r;
package/dist/GridItem.js CHANGED
@@ -1,7 +1,7 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import y from "react";
3
- import { P as t } from "./index-Ds9PUTwb.js";
4
- import { n as E } from "./emotion-styled.browser.esm-BZSYYThs.js";
1
+ import { jsx as u } from "react/jsx-runtime";
2
+ import { forwardRef as y } from "react";
3
+ import { P as t } from "./index-BYnWp42a.js";
4
+ import { n as E } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
5
  const b = E.div`
6
6
  display: ${(e) => e.inline ? "inline-grid" : "grid"};
7
7
  row-gap: ${(e) => e.rowGap ? e.rowGap : e.gap ? e.gap : 0};
@@ -15,8 +15,8 @@ const b = E.div`
15
15
  ${(e) => e.colStart && `grid-column-start: ${e.colStart};`}
16
16
  ${(e) => (e.colEnd || e.colSpan) && `grid-column-end: span ${e.colEnd || e.colSpan};`}
17
17
  ${(e) => e.rowStart && `grid-row-start: ${e.rowStart};`}
18
- ${(e) => (e.rowEnd || e.rowSpan) && `grid-row-end: span ${e.rowEnd || e.rowSpan};`}
19
- `, j = y.forwardRef((e, a) => {
18
+ ${(e) => (e.rowEnd || e.rowSpan) && `grid-row-end: span ${e.rowEnd || e.rowSpan};`}
19
+ `, j = y((e, a) => {
20
20
  const {
21
21
  colStart: r,
22
22
  colEnd: n,
@@ -30,10 +30,30 @@ const b = E.div`
30
30
  className: S = "",
31
31
  style: f = {},
32
32
  children: $,
33
- ...u
33
+ ...w
34
34
  } = e;
35
- var w = { colStart: r, colEnd: n, rowStart: l, rowEnd: o, colSpan: i, rowSpan: m, justifySelf: d, alignSelf: c, area: g };
36
- return /* @__PURE__ */ s(b, { ref: a, ...w, className: S, style: f, ...u, children: $ });
35
+ var s = {
36
+ colStart: r,
37
+ colEnd: n,
38
+ rowStart: l,
39
+ rowEnd: o,
40
+ colSpan: i,
41
+ rowSpan: m,
42
+ justifySelf: d,
43
+ alignSelf: c,
44
+ area: g
45
+ };
46
+ return /* @__PURE__ */ u(
47
+ b,
48
+ {
49
+ ref: a,
50
+ ...s,
51
+ className: S,
52
+ style: f,
53
+ ...w,
54
+ children: $
55
+ }
56
+ );
37
57
  });
38
58
  j.propTypes = {
39
59
  /**
package/dist/Header.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),o=require("react"),a=require("./index-DXnSjbfJ.cjs"),e=o.forwardRef((r,s)=>{const{children:t,__TYPE__:c="Header",...n}=r;return i.jsx("header",{ref:s,...n,children:t})});e.propTypes={__TYPE__:a.PropTypes.string};e.displayName="Header";module.exports=e;
1
+ "use strict";const i=require("react/jsx-runtime"),o=require("react"),a=require("./index-BIlhCoy2.cjs"),e=o.forwardRef((r,s)=>{const{children:t,__TYPE__:c="Header",...n}=r;return i.jsx("header",{ref:s,...n,children:t})});e.propTypes={__TYPE__:a.PropTypes.string};e.displayName="Header";module.exports=e;
package/dist/Header.js CHANGED
@@ -1,16 +1,16 @@
1
- import { jsx as p } from "react/jsx-runtime";
2
- import s from "react";
3
- import { P as _ } from "./index-Ds9PUTwb.js";
4
- const r = s.forwardRef((e, a) => {
5
- const { children: o, __TYPE__: d = "Header", ...t } = e;
6
- return /* @__PURE__ */ p("header", { ref: a, ...t, children: o });
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as t } from "react";
3
+ import { P as d } from "./index-BYnWp42a.js";
4
+ const r = t((e, o) => {
5
+ const { children: a, __TYPE__: _ = "Header", ...p } = e;
6
+ return /* @__PURE__ */ s("header", { ref: o, ...p, children: a });
7
7
  });
8
8
  r.propTypes = {
9
9
  /**
10
10
  * Do not override this property.
11
11
  * Should only be used as indicator for type if you are passing custom component.
12
12
  */
13
- __TYPE__: _.string
13
+ __TYPE__: d.string
14
14
  };
15
15
  r.displayName = "Header";
16
16
  export {
package/dist/Icon.cjs CHANGED
@@ -1,8 +1,8 @@
1
- "use strict";const n=require("react/jsx-runtime"),z=require("react");;/* empty css */const s=require("./index-DXnSjbfJ.cjs"),P=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-hdRGTsQ7.cjs"),b=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),I=P.newStyled.span`
1
+ "use strict";const n=require("react/jsx-runtime"),z=require("react"),s=require("./index-BIlhCoy2.cjs"),P=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-DTAPpJXU.cjs"),b=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),I=P.newStyled.span`
2
2
  box-sizing: border-box;
3
3
  ${e=>e.sizeInUnits&&e.sizeInUnits!=""?`font-size: ${e.sizeInUnits}`:o.getComponentTypographyCss(e.theme,"Icon",e.size,"enabled")};
4
4
  ${e=>e.color&&`color: ${o.getColorRgbaValue(e.theme,"Icon",e.color,"enabled","icon")}`};
5
5
  display: inline-flex;
6
6
  justify-content: center;
7
7
  align-items: center;
8
- `,t=z.forwardRef((e,r)=>{const{id:h="",icon:i="",iconStyle:c="solid",tooltip:l="",sizeInUnits:a="",size:y="small",color:m,className:u="",style:d={},...p}=e,g={theme:b.useTheme(),size:y,color:m,sizeInUnits:a},f=()=>{var T=c==="solid"?"fas":"far";return`${T} fa-${i} fa-fw`};return n.jsx(I,{ref:r,...g,tooltip:l,className:u,style:d,...p,children:n.jsx("i",{"data-control":!!e["data-control"],className:f()})})});t.propTypes={id:s.PropTypes.string,icon:s.PropTypes.string,iconStyle:s.PropTypes.oneOf(["solid","regular"]),tooltip:s.PropTypes.string,className:s.PropTypes.string,style:s.PropTypes.object,size:s.PropTypes.oneOf(["small","medium","large"]),sizeInUnits:s.PropTypes.string,color:s.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=t;
8
+ `,t=z.forwardRef((e,r)=>{const{id:h="",icon:i="",iconStyle:c="solid",tooltip:l="",sizeInUnits:a="",size:y="small",color:m,className:d="",style:u={},...p}=e,g={theme:b.useTheme(),size:y,color:m,sizeInUnits:a},f=()=>{var T=c==="solid"?"fas":"far";return`${T} fa-${i} fa-fw`};return n.jsx(I,{ref:r,...g,tooltip:l,className:d,style:u,...p,children:n.jsx("i",{"data-control":!!e["data-control"],className:f()})})});t.propTypes={id:s.PropTypes.string,icon:s.PropTypes.string,iconStyle:s.PropTypes.oneOf(["solid","regular"]),tooltip:s.PropTypes.string,className:s.PropTypes.string,style:s.PropTypes.object,size:s.PropTypes.oneOf(["small","medium","large"]),sizeInUnits:s.PropTypes.string,color:s.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};module.exports=t;