@lanaco/lnc-react-ui 4.0.2 → 4.0.3

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