@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
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),w=require("react"),e=require("./index-DXnSjbfJ.cjs"),P=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),f=require("./DropdownMenu-B6qr13ik.cjs"),C=require("./DropdownItem.cjs"),c=require("./Button.cjs"),p=require("./utils-hdRGTsQ7.cjs"),A=require("./ThemeProvider.cjs"),j=P.newStyled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),P=require("react"),e=require("./index-BIlhCoy2.cjs"),f=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),w=require("./DropdownMenu.cjs"),C=require("./DropdownItem.cjs"),c=require("./Button.cjs"),p=require("./utils-DTAPpJXU.cjs"),A=require("./ThemeProvider.cjs"),j=f.newStyled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  border-radius: 8px;
@@ -16,4 +16,4 @@
16
16
  gap: 0.5rem;
17
17
  }
18
18
  }
19
- `,a=w.forwardRef((r,d)=>{const{__TYPE__:N="KANBAN_VIEW_ACTIONS_TOOLBAR",showCreate:u=!0,enableCreate:b=!0,createText:i="Create New item",actionsText:y="Actions",actions:n=[],onCreate:T=()=>{},className:m="",style:g={},color:s="primary",size:l="small",...x}=r,{theme:_}=A.useTheme();return t.jsxs(j,{ref:d,theme:_,color:s,className:m,style:g,...x,children:[t.jsx("div",{children:u&&t.jsx(c,{leadingIcon:"plus",btnType:"outline",color:s,size:l,title:i,disabled:!b,onClick:T,text:i})}),(n==null?void 0:n.length)>0&&t.jsx("div",{children:t.jsx(f.DropdownMenu,{color:s,size:l,control:t.jsx(c,{text:y,btnType:"outline",trailingIcon:"angle-down",color:s,size:l}),children:n==null?void 0:n.map((o,h)=>{if((o==null?void 0:o.show)!=!1)return t.jsx(C,{icon:o.icon,disabled:!o.enable,onClick:o.onAction,children:o.name},h)})})})]})});a.propTypes={__TYPE__:e.PropTypes.string,showCreate:e.PropTypes.bool,enableCreate:e.PropTypes.bool,createText:e.PropTypes.string,actionsText:e.PropTypes.string,actions:e.PropTypes.array,onCreate:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,size:e.PropTypes.oneOf(["small","medium","large"]),color:e.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};a.displayName="KANBAN_VIEW_ACTIONS_TOOLBAR";module.exports=a;
19
+ `,a=P.forwardRef((r,d)=>{const{__TYPE__:N="KANBAN_VIEW_ACTIONS_TOOLBAR",showCreate:u=!0,enableCreate:b=!0,createText:i="Create New item",actionsText:y="Actions",actions:n=[],onCreate:T=()=>{},className:m="",style:g={},color:s="primary",size:l="small",...x}=r,{theme:_}=A.useTheme();return t.jsxs(j,{ref:d,theme:_,color:s,className:m,style:g,...x,children:[t.jsx("div",{children:u&&t.jsx(c,{leadingIcon:"plus",btnType:"outline",color:s,size:l,title:i,disabled:!b,onClick:T,text:i})}),(n==null?void 0:n.length)>0&&t.jsx("div",{children:t.jsx(w,{color:s,size:l,control:t.jsx(c,{text:y,btnType:"outline",trailingIcon:"angle-down",color:s,size:l}),children:n==null?void 0:n.map((o,h)=>{if((o==null?void 0:o.show)!=!1)return t.jsx(C,{icon:o.icon,disabled:!o.enable,onClick:o.onAction,children:o.name},h)})})})]})});a.propTypes={__TYPE__:e.PropTypes.string,showCreate:e.PropTypes.bool,enableCreate:e.PropTypes.bool,createText:e.PropTypes.string,actionsText:e.PropTypes.string,actions:e.PropTypes.array,onCreate:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,size:e.PropTypes.oneOf(["small","medium","large"]),color:e.PropTypes.oneOf(["primary","secondary","success","danger","warning","information","neutral","gray"])};a.displayName="KANBAN_VIEW_ACTIONS_TOOLBAR";module.exports=a;
@@ -1,11 +1,11 @@
1
- import { jsxs as h, jsx as a } from "react/jsx-runtime";
2
- import w from "react";
3
- import { P as e } from "./index-Ds9PUTwb.js";
4
- import { n as C } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { D as A } from "./DropdownMenu-DZi3TJ8Q.js";
1
+ import { jsxs as _, jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as w } from "react";
3
+ import { P as e } from "./index-BYnWp42a.js";
4
+ import { n as C } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import A from "./DropdownMenu.js";
6
6
  import N from "./DropdownItem.js";
7
7
  import s from "./Button.js";
8
- import { b as d } from "./utils-DEke8iwo.js";
8
+ import { a as m } from "./utils-C52T57HO.js";
9
9
  import { useTheme as O } from "./ThemeProvider.js";
10
10
  const I = C.div`
11
11
  display: flex;
@@ -16,7 +16,7 @@ const I = C.div`
16
16
  font-weight: 700;
17
17
  font-size: 0.875rem;
18
18
  color: rgba(15, 23, 42, 100%);
19
- background-color: ${(r) => d(
19
+ background-color: ${(r) => m(
20
20
  r.theme,
21
21
  "Toolbar",
22
22
  r.color,
@@ -24,7 +24,7 @@ const I = C.div`
24
24
  "background",
25
25
  "backgroundOpacity"
26
26
  )};
27
- border: ${(r) => `1px solid ${d(
27
+ border: ${(r) => `1px solid ${m(
28
28
  r.theme,
29
29
  "Toolbar",
30
30
  r.color,
@@ -39,65 +39,65 @@ const I = C.div`
39
39
  gap: 0.5rem;
40
40
  }
41
41
  }
42
- `, m = w.forwardRef((r, c) => {
42
+ `, d = w((r, c) => {
43
43
  const {
44
44
  __TYPE__: k = "KANBAN_VIEW_ACTIONS_TOOLBAR",
45
45
  showCreate: p = !0,
46
46
  enableCreate: b = !0,
47
47
  createText: i = "Create New item",
48
- actionsText: f = "Actions",
48
+ actionsText: g = "Actions",
49
49
  actions: t = [],
50
50
  //----------------
51
- onCreate: g = () => {
51
+ onCreate: f = () => {
52
52
  },
53
53
  //-------------------
54
54
  className: u = "",
55
55
  style: y = {},
56
- color: n = "primary",
56
+ color: a = "primary",
57
57
  size: l = "small",
58
58
  ...T
59
59
  } = r, { theme: x } = O();
60
- return /* @__PURE__ */ h(
60
+ return /* @__PURE__ */ _(
61
61
  I,
62
62
  {
63
63
  ref: c,
64
64
  theme: x,
65
- color: n,
65
+ color: a,
66
66
  className: u,
67
67
  style: y,
68
68
  ...T,
69
69
  children: [
70
- /* @__PURE__ */ a("div", { children: p && /* @__PURE__ */ a(
70
+ /* @__PURE__ */ n("div", { children: p && /* @__PURE__ */ n(
71
71
  s,
72
72
  {
73
73
  leadingIcon: "plus",
74
74
  btnType: "outline",
75
- color: n,
75
+ color: a,
76
76
  size: l,
77
77
  title: i,
78
78
  disabled: !b,
79
- onClick: g,
79
+ onClick: f,
80
80
  text: i
81
81
  }
82
82
  ) }),
83
- (t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(
83
+ (t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
84
84
  A,
85
85
  {
86
- color: n,
86
+ color: a,
87
87
  size: l,
88
- control: /* @__PURE__ */ a(
88
+ control: /* @__PURE__ */ n(
89
89
  s,
90
90
  {
91
- text: f,
91
+ text: g,
92
92
  btnType: "outline",
93
93
  trailingIcon: "angle-down",
94
- color: n,
94
+ color: a,
95
95
  size: l
96
96
  }
97
97
  ),
98
- children: t == null ? void 0 : t.map((o, _) => {
98
+ children: t == null ? void 0 : t.map((o, h) => {
99
99
  if ((o == null ? void 0 : o.show) != !1)
100
- return /* @__PURE__ */ a(
100
+ return /* @__PURE__ */ n(
101
101
  N,
102
102
  {
103
103
  icon: o.icon,
@@ -105,7 +105,7 @@ const I = C.div`
105
105
  onClick: o.onAction,
106
106
  children: o.name
107
107
  },
108
- _
108
+ h
109
109
  );
110
110
  })
111
111
  }
@@ -114,7 +114,7 @@ const I = C.div`
114
114
  }
115
115
  );
116
116
  });
117
- m.propTypes = {
117
+ d.propTypes = {
118
118
  /**
119
119
  * This property determines where the component is rendered.
120
120
  * Should not be overridden!
@@ -146,7 +146,7 @@ m.propTypes = {
146
146
  "gray"
147
147
  ])
148
148
  };
149
- m.displayName = "KANBAN_VIEW_ACTIONS_TOOLBAR";
149
+ d.displayName = "KANBAN_VIEW_ACTIONS_TOOLBAR";
150
150
  export {
151
- m as default
151
+ d as default
152
152
  };
@@ -1,31 +1,31 @@
1
- import { jsx as e, jsxs as T } from "react/jsx-runtime";
2
- import d, { forwardRef as m } from "react";
3
- import { n as f } from "./emotion-styled.browser.esm-BZSYYThs.js";
4
- import { P as r } from "./index-Ds9PUTwb.js";
1
+ import { jsx as e, jsxs as z } from "react/jsx-runtime";
2
+ import { forwardRef as d, memo as T } from "react";
3
+ import { n as m } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
+ import { P as r } from "./index-BYnWp42a.js";
5
5
  import C from "./Icon.js";
6
- import { D as P } from "./DropdownMenu-DZi3TJ8Q.js";
7
- import R from "./DropdownItem.js";
8
- import { c as D } from "./index-BklgDeu4.js";
9
- import { u as K } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
10
- const O = "_Action_bw0a9_5", $ = {
11
- Action: O
12
- }, j = m(
13
- ({ active: o, className: a, cursor: s, style: t, ...l }, i) => /* @__PURE__ */ e(
6
+ import P from "./DropdownMenu.js";
7
+ import K from "./DropdownItem.js";
8
+ import { c as O } from "./index-Cu0xwYjD.js";
9
+ import { u as $ } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
10
+ const j = "_Action_bw0a9_5", B = {
11
+ Action: j
12
+ }, D = d(
13
+ ({ active: o, className: a, cursor: s, style: l, ...t }, i) => /* @__PURE__ */ e(
14
14
  "button",
15
15
  {
16
16
  ref: i,
17
- ...l,
18
- className: D($.Action, a),
17
+ ...t,
18
+ className: O(B.Action, a),
19
19
  tabIndex: 0,
20
20
  style: {
21
- ...t,
21
+ ...l,
22
22
  cursor: s,
23
23
  "--fill": o == null ? void 0 : o.fill,
24
24
  "--background": o == null ? void 0 : o.background
25
25
  }
26
26
  }
27
27
  )
28
- ), B = m((o, a) => /* @__PURE__ */ e(j, { ref: a, cursor: "grab", "data-cypress": "draggable-handle", ...o, children: /* @__PURE__ */ e("svg", { viewBox: "0 0 20 20", width: "12", children: /* @__PURE__ */ e("path", { d: "M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z" }) }) })), I = f.div`
28
+ ), I = d((o, a) => /* @__PURE__ */ e(D, { ref: a, cursor: "grab", "data-cypress": "draggable-handle", ...o, children: /* @__PURE__ */ e("svg", { viewBox: "0 0 20 20", width: "12", children: /* @__PURE__ */ e("path", { d: "M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z" }) }) })), M = m.div`
29
29
  height: 100%;
30
30
  width: 100%;
31
31
  padding: ${(o) => `18px 20px 18px ${o.handle == !0 ? "10px" : "20px"}`};
@@ -44,7 +44,7 @@ const O = "_Action_bw0a9_5", $ = {
44
44
  & > .kanban-card-content {
45
45
  ${(o) => o.clickable && "cursor: pointer;"}
46
46
  }
47
- `, M = f.div`
47
+ `, R = m.div`
48
48
  display: flex;
49
49
 
50
50
  & > *:first-of-type:not(:last-of-type) {
@@ -54,46 +54,46 @@ const O = "_Action_bw0a9_5", $ = {
54
54
  & > *:first-of-type:not(:last-of-type):focus-visible {
55
55
  opacity: 1;
56
56
  }
57
- `, u = d.memo(
58
- d.forwardRef(
57
+ `, f = T(
58
+ d(
59
59
  ({
60
60
  __TYPE__: o = "KANBAN_CARD",
61
61
  id: a,
62
62
  containerId: s,
63
- item: t,
64
- handle: l = !0,
63
+ item: l,
64
+ handle: t = !0,
65
65
  handleProps: i,
66
- actionsMenu: b = !1,
66
+ actionsMenu: u = !1,
67
67
  actions: c = [],
68
68
  onDetails: p,
69
- color: y = "primary",
70
- size: A = "small",
71
- className: g = "",
72
- style: h = {},
73
- children: w,
74
- ..._
69
+ color: b = "primary",
70
+ size: y = "small",
71
+ className: A = "",
72
+ style: g = {},
73
+ children: h,
74
+ ...w
75
75
  }, x) => {
76
- const N = K();
77
- return /* @__PURE__ */ T(
78
- I,
76
+ const _ = $();
77
+ return /* @__PURE__ */ z(
78
+ M,
79
79
  {
80
80
  ref: x,
81
- handle: l,
82
- theme: N,
83
- className: g,
84
- style: h,
81
+ handle: t,
82
+ theme: _,
83
+ className: A,
84
+ style: g,
85
85
  clickable: !!p,
86
- ..._,
86
+ ...w,
87
87
  children: [
88
- l && /* @__PURE__ */ e(M, { className: "Actions", children: /* @__PURE__ */ e(B, { ...i }) }),
89
- b && /* @__PURE__ */ e(
88
+ t && /* @__PURE__ */ e(R, { className: "Actions", children: /* @__PURE__ */ e(I, { ...i }) }),
89
+ u && /* @__PURE__ */ e(
90
90
  P,
91
91
  {
92
92
  className: "card-action-lnc",
93
93
  horizontalAlignment: "right",
94
94
  verticalAlignment: "bottom",
95
- color: y,
96
- size: A,
95
+ color: b,
96
+ size: y,
97
97
  control: /* @__PURE__ */ e(
98
98
  C,
99
99
  {
@@ -102,17 +102,17 @@ const O = "_Action_bw0a9_5", $ = {
102
102
  icon: "ellipsis-v"
103
103
  }
104
104
  ),
105
- children: c == null ? void 0 : c.map((n, k) => {
105
+ children: c == null ? void 0 : c.map((n, N) => {
106
106
  if ((n == null ? void 0 : n.show) != !1)
107
107
  return /* @__PURE__ */ e(
108
- R,
108
+ K,
109
109
  {
110
110
  icon: n.icon,
111
111
  disabled: n.enable == !1,
112
- onClick: (z) => n.onAction(z, t, s),
112
+ onClick: (k) => n.onAction(k, l, s),
113
113
  children: n.name
114
114
  },
115
- k
115
+ N
116
116
  );
117
117
  })
118
118
  }
@@ -122,9 +122,9 @@ const O = "_Action_bw0a9_5", $ = {
122
122
  {
123
123
  className: "kanban-card-content-lnc",
124
124
  onClick: (n) => {
125
- p && p(n, t, s);
125
+ p && p(n, l, s);
126
126
  },
127
- children: w
127
+ children: h
128
128
  }
129
129
  )
130
130
  ]
@@ -133,7 +133,7 @@ const O = "_Action_bw0a9_5", $ = {
133
133
  }
134
134
  )
135
135
  );
136
- u.propTypes = {
136
+ f.propTypes = {
137
137
  __TYPE__: r.string,
138
138
  id: r.oneOfType([r.string, r.number]),
139
139
  containerId: r.oneOfType([r.string, r.number]),
@@ -168,8 +168,8 @@ u.propTypes = {
168
168
  ]),
169
169
  size: r.oneOf(["small", "medium", "large"])
170
170
  };
171
- u.displayName = "KANBAN_CARD";
171
+ f.displayName = "KANBAN_CARD";
172
172
  export {
173
- B as H,
174
- u as K
173
+ I as H,
174
+ f as K
175
175
  };
@@ -0,0 +1,30 @@
1
+ "use strict";const s=require("react/jsx-runtime"),p=require("react"),m=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),e=require("./index-BIlhCoy2.cjs"),N=require("./Icon.cjs"),k=require("./DropdownMenu.cjs"),q=require("./DropdownItem.cjs"),z=require("./index-CSXL784P.cjs"),C=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),R="_Action_bw0a9_5",$={Action:R},K=p.forwardRef(({active:r,className:n,cursor:a,style:t,...l},i)=>s.jsx("button",{ref:i,...l,className:z.classNames($.Action,n),tabIndex:0,style:{...t,cursor:a,"--fill":r==null?void 0:r.fill,"--background":r==null?void 0:r.background}})),u=p.forwardRef((r,n)=>s.jsx(K,{ref:n,cursor:"grab","data-cypress":"draggable-handle",...r,children:s.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:s.jsx("path",{d:"M7 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 2zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 14zm6-8a2 2 0 1 0-.001-4.001A2 2 0 0 0 13 6zm0 2a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 8zm0 6a2 2 0 1 0 .001 4.001A2 2 0 0 0 13 14z"})})})),O=m.newStyled.div`
2
+ height: 100%;
3
+ width: 100%;
4
+ padding: ${r=>`18px 20px 18px ${r.handle==!0?"10px":"20px"}`};
5
+ position: relative;
6
+ word-wrap: break-word;
7
+ white-space: pre-wrap;
8
+ word-break: break-word;
9
+ display: flex;
10
+ gap: 8px;
11
+ & .card-action-lnc {
12
+ position: absolute;
13
+ right: 10px;
14
+ cursor: pointer;
15
+ }
16
+
17
+ & > .kanban-card-content {
18
+ ${r=>r.clickable&&"cursor: pointer;"}
19
+ }
20
+ `,S=m.newStyled.div`
21
+ display: flex;
22
+
23
+ & > *:first-of-type:not(:last-of-type) {
24
+ opacity: 0;
25
+ }
26
+
27
+ & > *:first-of-type:not(:last-of-type):focus-visible {
28
+ opacity: 1;
29
+ }
30
+ `,y=p.memo(p.forwardRef(({__TYPE__:r="KANBAN_CARD",id:n,containerId:a,item:t,handle:l=!0,handleProps:i,actionsMenu:b=!1,actions:c=[],onDetails:d,color:f="primary",size:x="small",className:w="",style:A={},children:T,...g},h)=>{const P=C.useTheme();return s.jsxs(O,{ref:h,handle:l,theme:P,className:w,style:A,clickable:!!d,...g,children:[l&&s.jsx(S,{className:"Actions",children:s.jsx(u,{...i})}),b&&s.jsx(k,{className:"card-action-lnc",horizontalAlignment:"right",verticalAlignment:"bottom",color:f,size:x,control:s.jsx(N,{color:"neutral",className:"card-action-lnc",icon:"ellipsis-v"}),children:c==null?void 0:c.map((o,_)=>{if((o==null?void 0:o.show)!=!1)return s.jsx(q,{icon:o.icon,disabled:o.enable==!1,onClick:j=>o.onAction(j,t,a),children:o.name},_)})}),s.jsx("div",{className:"kanban-card-content-lnc",onClick:o=>{d&&d(o,t,a)},children:T})]})}));y.propTypes={__TYPE__:e.PropTypes.string,id:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]),containerId:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]),className:e.PropTypes.string,style:e.PropTypes.object,handle:e.PropTypes.bool,handleProps:e.PropTypes.any,actionsMenu:e.PropTypes.bool,actions:e.PropTypes.array,onDetails:e.PropTypes.func,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};y.displayName="KANBAN_CARD";exports.Handle=u;exports.KanbanCard=y;
@@ -1 +1 @@
1
- "use strict";require("react/jsx-runtime");require("react");require("./emotion-styled.browser.esm-Cbp_XsK4.cjs");require("./index-DXnSjbfJ.cjs");require("./Icon.cjs");require("./DropdownMenu-B6qr13ik.cjs");require("./DropdownItem.cjs");const r=require("./KanbanCard-ConTmu3w.cjs");require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs");module.exports=r.KanbanCard;
1
+ "use strict";require("react/jsx-runtime");require("react");require("./emotion-styled.browser.esm-Cbp_XsK4.cjs");require("./index-BIlhCoy2.cjs");require("./Icon.cjs");require("./DropdownMenu.cjs");require("./DropdownItem.cjs");const r=require("./KanbanCard-DV3VnSUi.cjs");require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs");module.exports=r.KanbanCard;
@@ -1,12 +1,12 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "./emotion-styled.browser.esm-BZSYYThs.js";
4
- import "./index-Ds9PUTwb.js";
3
+ import "./emotion-styled.browser.esm-BiK8DcgW.js";
4
+ import "./index-BYnWp42a.js";
5
5
  import "./Icon.js";
6
- import "./DropdownMenu-DZi3TJ8Q.js";
6
+ import "./DropdownMenu.js";
7
7
  import "./DropdownItem.js";
8
- import { K as l } from "./KanbanCard-D9OhU8C6.js";
9
- import "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
8
+ import { K as l } from "./KanbanCard-CHZ_C9kk.js";
9
+ import "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
10
10
  export {
11
11
  l as default
12
12
  };
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime"),i=require("react"),_=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),e=require("./index-DXnSjbfJ.cjs"),d=require("./IconButton.cjs"),P=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),h=_.newStyled.div`
1
+ "use strict";const s=require("react/jsx-runtime"),i=require("react"),_=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),e=require("./index-BIlhCoy2.cjs"),d=require("./IconButton.cjs"),P=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),h=_.newStyled.div`
2
2
  font-family: ${p=>{var o,r;return(r=(o=p.theme)==null?void 0:o.typography)==null?void 0:r.fontFamily}};
3
3
  padding: 5px 8px;
4
4
  margin-top: auto;
@@ -1,58 +1,58 @@
1
- import { jsxs as T, jsx as n } from "react/jsx-runtime";
2
- import d from "react";
3
- import { n as _ } from "./emotion-styled.browser.esm-BZSYYThs.js";
4
- import { P as o } from "./index-Ds9PUTwb.js";
5
- import i from "./IconButton.js";
6
- import { u as x } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
7
- const N = _.div`
8
- font-family: ${(a) => {
1
+ import { jsxs as w, jsx as a } from "react/jsx-runtime";
2
+ import { memo as T, forwardRef as x } from "react";
3
+ import { n as N } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
+ import { P as o } from "./index-BYnWp42a.js";
5
+ import d from "./IconButton.js";
6
+ import { u as _ } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
+ const g = N.div`
8
+ font-family: ${(n) => {
9
9
  var e, t;
10
- return (t = (e = a.theme) == null ? void 0 : e.typography) == null ? void 0 : t.fontFamily;
10
+ return (t = (e = n.theme) == null ? void 0 : e.typography) == null ? void 0 : t.fontFamily;
11
11
  }};
12
12
  padding: 5px 8px;
13
13
  margin-top: auto;
14
- `, s = d.memo(
15
- d.forwardRef(
14
+ `, i = T(
15
+ x(
16
16
  ({
17
- __TYPE__: a = "KANBAN_FOOTER",
17
+ __TYPE__: n = "KANBAN_FOOTER",
18
18
  id: e,
19
19
  showAddNewCard: t = !1,
20
- showLoadMoreCards: m = !1,
21
- addNewCardText: g = "Add New Card",
22
- onAddNewCard: p = () => {
20
+ showLoadMoreCards: s = !1,
21
+ addNewCardText: C = "Add New Card",
22
+ onAddNewCard: m = () => {
23
23
  },
24
- onLoadMoreCards: l = () => {
24
+ onLoadMoreCards: p = () => {
25
25
  },
26
- className: c = "",
27
- style: f = {},
28
- color: C = "primary",
29
- children: y,
30
- ...u
31
- }, h) => {
32
- const w = x();
33
- return /* @__PURE__ */ T(
34
- N,
26
+ className: l = "",
27
+ style: c = {},
28
+ color: b = "primary",
29
+ children: f,
30
+ ...y
31
+ }, u) => {
32
+ const h = _();
33
+ return /* @__PURE__ */ w(
34
+ g,
35
35
  {
36
- ref: h,
37
- theme: w,
38
- className: c,
39
- style: f,
40
- ...u,
36
+ ref: u,
37
+ theme: h,
38
+ className: l,
39
+ style: c,
40
+ ...y,
41
41
  children: [
42
- y,
43
- m && /* @__PURE__ */ n(
44
- i,
42
+ f,
43
+ s && /* @__PURE__ */ a(
44
+ d,
45
45
  {
46
- onClick: (r) => l(r, e),
46
+ onClick: (r) => p(r, e),
47
47
  icon: "chevron-circle-down",
48
48
  btnType: "outline",
49
49
  style: { maxWidth: "unset", width: "100%", marginBottom: "8px" }
50
50
  }
51
51
  ),
52
- t && /* @__PURE__ */ n(
53
- i,
52
+ t && /* @__PURE__ */ a(
53
+ d,
54
54
  {
55
- onClick: (r) => p(r, e),
55
+ onClick: (r) => m(r, e),
56
56
  icon: "plus-circle",
57
57
  btnType: "outline",
58
58
  style: { maxWidth: "unset", width: "100%", marginBottom: "8px" }
@@ -64,7 +64,7 @@ const N = _.div`
64
64
  }
65
65
  )
66
66
  );
67
- s.propTypes = {
67
+ i.propTypes = {
68
68
  __TYPE__: o.string,
69
69
  id: o.oneOfType([o.string, o.number]),
70
70
  //---------------------------------------------------------
@@ -78,7 +78,7 @@ s.propTypes = {
78
78
  className: o.string,
79
79
  style: o.object
80
80
  };
81
- s.displayName = "KANBAN_FOOTER";
81
+ i.displayName = "KANBAN_FOOTER";
82
82
  export {
83
- s as default
83
+ i as default
84
84
  };
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("react/jsx-runtime"),a=require("react"),w=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),e=require("./index-DXnSjbfJ.cjs"),A=require("./DropdownMenu-B6qr13ik.cjs"),q=require("./DropdownItem.cjs"),x=require("./Icon.cjs"),N=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),j=w.newStyled.div`
1
+ "use strict";const s=require("react/jsx-runtime"),a=require("react"),w=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),e=require("./index-BIlhCoy2.cjs"),A=require("./DropdownMenu.cjs"),q=require("./DropdownItem.cjs"),x=require("./Icon.cjs"),N=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),j=w.newStyled.div`
2
2
  font-family: ${n=>{var i,o;return(o=(i=n.theme)==null?void 0:i.typography)==null?void 0:o.fontFamily}};
3
3
  position: relative;
4
4
  width: 100%;
@@ -12,4 +12,4 @@
12
12
  & > span {
13
13
  ${n=>n.clickable&&"cursor: pointer;"}
14
14
  }
15
- `,t=a.memo(a.forwardRef(({__TYPE__:n="KANBAN_HEADER",id:i,item:o,column:p,actionsMenu:m=!1,actions:l=[],onDetails:c=()=>{},color:u="primary",size:y="small",className:d="",style:T={},children:f,..._},P)=>{const b=N.useTheme();return s.jsxs(j,{ref:P,theme:b,className:d,style:T,clickable:!!c,..._,children:[s.jsx("span",{onClick:r=>c(r,o,p),children:f}),m&&s.jsx(A.DropdownMenu,{className:"column-action-lnc",horizontalAlignment:"right",verticalAlignment:"bottom",color:u,size:y,control:s.jsx(x,{color:"neutral",className:"column-action-lnc",icon:"ellipsis-v"}),children:l==null?void 0:l.map((r,g)=>{if((r==null?void 0:r.show)!=!1)return s.jsx(q,{icon:r.icon,disabled:r.enable==!1,onClick:h=>{r.onAction(h,o,p)},children:r.name},g)})})]})}));t.propTypes={__TYPE__:e.PropTypes.string,id:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]),actionsMenu:e.PropTypes.bool,actions:e.PropTypes.array,onDetails:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};t.displayName="KANBAN_HEADER";module.exports=t;
15
+ `,t=a.memo(a.forwardRef(({__TYPE__:n="KANBAN_HEADER",id:i,item:o,column:p,actionsMenu:m=!1,actions:l=[],onDetails:c=()=>{},color:u="primary",size:y="small",className:d="",style:T={},children:f,..._},P)=>{const b=N.useTheme();return s.jsxs(j,{ref:P,theme:b,className:d,style:T,clickable:!!c,..._,children:[s.jsx("span",{onClick:r=>c(r,o,p),children:f}),m&&s.jsx(A,{className:"column-action-lnc",horizontalAlignment:"right",verticalAlignment:"bottom",color:u,size:y,control:s.jsx(x,{color:"neutral",className:"column-action-lnc",icon:"ellipsis-v"}),children:l==null?void 0:l.map((r,g)=>{if((r==null?void 0:r.show)!=!1)return s.jsx(q,{icon:r.icon,disabled:r.enable==!1,onClick:h=>{r.onAction(h,o,p)},children:r.name},g)})})]})}));t.propTypes={__TYPE__:e.PropTypes.string,id:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]),actionsMenu:e.PropTypes.bool,actions:e.PropTypes.array,onDetails:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};t.displayName="KANBAN_HEADER";module.exports=t;