@lanaco/lnc-react-ui 4.0.199 → 4.0.201

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 (270) hide show
  1. package/dist/Accordion.cjs +5 -5
  2. package/dist/Accordion.js +45 -56
  3. package/dist/AccordionDetails.cjs +3 -3
  4. package/dist/AccordionDetails.js +11 -25
  5. package/dist/AccordionSummary.cjs +4 -4
  6. package/dist/AccordionSummary.js +34 -44
  7. package/dist/ActionsToolbar.cjs +2 -3
  8. package/dist/ActionsToolbar.js +83 -135
  9. package/dist/Alert.cjs +10 -10
  10. package/dist/Alert.js +32 -64
  11. package/dist/Avatar.cjs +9 -9
  12. package/dist/Avatar.js +33 -72
  13. package/dist/Badge.cjs +6 -6
  14. package/dist/Badge.js +22 -47
  15. package/dist/BannerSectionCarousel.cjs +4 -4
  16. package/dist/BannerSectionCarousel.js +51 -542
  17. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  18. package/dist/BlogCardsSponsoredSection.js +1 -1
  19. package/dist/BlogCategoryCardsSection.cjs +1 -1
  20. package/dist/BlogCategoryCardsSection.js +12 -14
  21. package/dist/BlogExploreSection.cjs +1 -1
  22. package/dist/BlogExploreSection.js +1 -1
  23. package/dist/BlogListSection.cjs +1 -1
  24. package/dist/BlogListSection.js +1 -1
  25. package/dist/BlogsSectionDetailed.cjs +1 -1
  26. package/dist/BlogsSectionDetailed.js +1 -1
  27. package/dist/BlogsSectionSimple.cjs +1 -1
  28. package/dist/BlogsSectionSimple.js +1 -1
  29. package/dist/BlogsSectionWithFilters.cjs +1 -1
  30. package/dist/BlogsSectionWithFilters.js +2 -2
  31. package/dist/Breadcrumbs.cjs +5 -5
  32. package/dist/Breadcrumbs.js +57 -87
  33. package/dist/Button.cjs +11 -11
  34. package/dist/Button.js +126 -173
  35. package/dist/ButtonGroup.cjs +8 -8
  36. package/dist/ButtonGroup.js +37 -49
  37. package/dist/CalorieCalculatorSection.cjs +8 -8
  38. package/dist/CalorieCalculatorSection.js +90 -97
  39. package/dist/CheckBoxInput.cjs +1 -1
  40. package/dist/CheckBoxInput.js +2 -5
  41. package/dist/Chip.cjs +14 -14
  42. package/dist/Chip.js +73 -111
  43. package/dist/ConfirmationForm.cjs +6 -6
  44. package/dist/ConfirmationForm.js +67 -109
  45. package/dist/ContactSection.cjs +1 -0
  46. package/dist/ContactSection.js +1 -0
  47. package/dist/Content.cjs +1 -1
  48. package/dist/Content.js +7 -15
  49. package/dist/{DailyMotion-ByXblnua.js → DailyMotion-BBcJkMo_.js} +1 -1
  50. package/dist/{DailyMotion-BaFUcQKQ.cjs → DailyMotion-CpZExcrg.cjs} +1 -1
  51. package/dist/DataView.cjs +1 -1
  52. package/dist/DataView.js +30 -50
  53. package/dist/DateInput.cjs +4 -4
  54. package/dist/DateInput.js +1347 -1383
  55. package/dist/DecimalInput.cjs +6 -6
  56. package/dist/DecimalInput.js +210 -263
  57. package/dist/DecimalInputV2.cjs +23 -23
  58. package/dist/DecimalInputV2.js +119 -176
  59. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  60. package/dist/DetailedProductsInfinitiveSection.js +1 -1
  61. package/dist/DetailedProductsSection.cjs +1 -1
  62. package/dist/DetailedProductsSection.js +2 -2
  63. package/dist/DetailsView.cjs +9 -9
  64. package/dist/DetailsView.js +111 -162
  65. package/dist/DoubleRangeSlider.cjs +22 -22
  66. package/dist/DoubleRangeSlider.js +70 -95
  67. package/dist/DragAndDropFile.cjs +10 -10
  68. package/dist/DragAndDropFile.js +347 -402
  69. package/dist/DragDropFiles.cjs +4 -4
  70. package/dist/DragDropFiles.js +70 -124
  71. package/dist/Drawer.cjs +5 -5
  72. package/dist/Drawer.js +97 -135
  73. package/dist/Dropdown.cjs +1 -1
  74. package/dist/Dropdown.js +44 -213
  75. package/dist/DropdownItem.cjs +14 -14
  76. package/dist/DropdownItem.js +106 -142
  77. package/dist/DropdownLookup.cjs +1 -1
  78. package/dist/DropdownLookup.js +61 -242
  79. package/dist/DropdownMenu.cjs +4 -4
  80. package/dist/DropdownMenu.js +87 -149
  81. package/dist/EditableTable.cjs +10 -10
  82. package/dist/EditableTable.js +165 -331
  83. package/dist/{Facebook-BCqiOWZO.js → Facebook-BSWPEXjA.js} +1 -1
  84. package/dist/{Facebook-D9wwecSW.cjs → Facebook-DoKw-XxT.cjs} +1 -1
  85. package/dist/FaqSection.cjs +3 -3
  86. package/dist/FaqSection.js +119 -153
  87. package/dist/FileInput.cjs +7 -7
  88. package/dist/FileInput.js +66 -94
  89. package/dist/{FilePlayer-ktaNhf3p.js → FilePlayer-BtGpIWnK.js} +1 -1
  90. package/dist/{FilePlayer-DB6jnpeC.cjs → FilePlayer-D9az_lc_.cjs} +1 -1
  91. package/dist/FlexBox.cjs +6 -6
  92. package/dist/FlexBox.js +28 -63
  93. package/dist/FlexGrid.cjs +1 -1
  94. package/dist/FlexGrid.js +27 -67
  95. package/dist/FlexGridItem.cjs +6 -6
  96. package/dist/FlexGridItem.js +34 -62
  97. package/dist/Footer.cjs +1 -1
  98. package/dist/Footer.js +7 -15
  99. package/dist/FormField.cjs +7 -7
  100. package/dist/FormField.js +22 -47
  101. package/dist/FormView.cjs +6 -6
  102. package/dist/FormView.js +148 -195
  103. package/dist/GiftCardsSection.cjs +1 -1
  104. package/dist/GiftCardsSection.js +1 -1
  105. package/dist/Grid.cjs +2 -2
  106. package/dist/Grid.js +40 -65
  107. package/dist/GridItem.cjs +2 -2
  108. package/dist/GridItem.js +47 -80
  109. package/dist/Header.cjs +1 -1
  110. package/dist/Header.js +7 -15
  111. package/dist/HelpBannerSection.cjs +3 -3
  112. package/dist/HelpBannerSection.js +9 -15
  113. package/dist/Icon.cjs +4 -4
  114. package/dist/Icon.js +29 -55
  115. package/dist/IconButton.cjs +9 -9
  116. package/dist/IconButton.js +89 -127
  117. package/dist/{Kaltura-CvlN0HDg.js → Kaltura-BDqlEQpd.js} +1 -1
  118. package/dist/{Kaltura-CCdXLzOa.cjs → Kaltura-CK6JHUZC.cjs} +1 -1
  119. package/dist/Kanban.cjs +7 -7
  120. package/dist/Kanban.js +2033 -2098
  121. package/dist/KanbanActionsToolbar.cjs +4 -5
  122. package/dist/KanbanActionsToolbar.js +61 -96
  123. package/dist/KanbanCard-B9V9EjVE.js +137 -0
  124. package/dist/KanbanCard-DihrKn-I.cjs +30 -0
  125. package/dist/KanbanCard.cjs +1 -1
  126. package/dist/KanbanCard.js +2 -3
  127. package/dist/KanbanFooter.cjs +3 -3
  128. package/dist/KanbanFooter.js +37 -55
  129. package/dist/KanbanHeader.cjs +4 -4
  130. package/dist/KanbanHeader.js +49 -81
  131. package/dist/KanbanView.cjs +2 -2
  132. package/dist/KanbanView.js +106 -173
  133. package/dist/Link.cjs +7 -7
  134. package/dist/Link.js +20 -37
  135. package/dist/LocationSearchSection.cjs +1 -1
  136. package/dist/LocationSearchSection.js +1 -1
  137. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  138. package/dist/MasonryGeneralCardsSection.js +1 -1
  139. package/dist/MenuItem.cjs +13 -13
  140. package/dist/MenuItem.js +101 -139
  141. package/dist/{Mixcloud-nG_VyBNt.cjs → Mixcloud-C1Boh2Bm.cjs} +1 -1
  142. package/dist/{Mixcloud-Bb8MTclI.js → Mixcloud-zAh6j7Ha.js} +1 -1
  143. package/dist/Modal.cjs +18 -19
  144. package/dist/Modal.js +131 -166
  145. package/dist/MultiSelectDropdown.cjs +1 -1
  146. package/dist/MultiSelectDropdown.js +25 -196
  147. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  148. package/dist/MultiSelectDropdownLookup.js +27 -209
  149. package/dist/{Mux-DfYpGTiP.js → Mux-BGTG_Tvc.js} +1 -1
  150. package/dist/{Mux-BgB2a8kM.cjs → Mux-C6TwZeaq.cjs} +1 -1
  151. package/dist/NestedDropdownItem.cjs +3 -3
  152. package/dist/NestedDropdownItem.js +45 -67
  153. package/dist/NestedMenuItem.cjs +5 -5
  154. package/dist/NestedMenuItem.js +51 -78
  155. package/dist/NotificationContainer.cjs +10 -10
  156. package/dist/NotificationContainer.js +46 -79
  157. package/dist/NotificationMessage.cjs +2 -2
  158. package/dist/NotificationMessage.js +47 -64
  159. package/dist/NumberInput.cjs +23 -23
  160. package/dist/NumberInput.js +89 -149
  161. package/dist/PageLayout.cjs +2 -2
  162. package/dist/PageLayout.js +20 -28
  163. package/dist/Pagination.cjs +3 -3
  164. package/dist/Pagination.js +102 -185
  165. package/dist/PartnerBrandsSection.cjs +62 -0
  166. package/dist/PartnerBrandsSection.js +154 -0
  167. package/dist/PartnerStatsSection.cjs +100 -0
  168. package/dist/PartnerStatsSection.js +124 -0
  169. package/dist/PasswordInput.cjs +23 -23
  170. package/dist/PasswordInput.js +108 -137
  171. package/dist/Popover.cjs +1 -1
  172. package/dist/Popover.js +7 -32
  173. package/dist/PopoverContent.cjs +5 -5
  174. package/dist/PopoverContent.js +22 -28
  175. package/dist/PopoverTrigger.cjs +1 -1
  176. package/dist/PopoverTrigger.js +7 -12
  177. package/dist/ProductsWithBannerSection.cjs +1 -1
  178. package/dist/ProductsWithBannerSection.js +1 -1
  179. package/dist/ProgressBar.cjs +8 -8
  180. package/dist/ProgressBar.js +32 -59
  181. package/dist/RadioGroup.cjs +3 -3
  182. package/dist/RadioGroup.js +41 -72
  183. package/dist/RadioInput.cjs +28 -28
  184. package/dist/RadioInput.js +78 -123
  185. package/dist/RangeSlider.cjs +19 -19
  186. package/dist/RangeSlider.js +92 -119
  187. package/dist/ReviewsSection.cjs +13 -13
  188. package/dist/ReviewsSection.js +81 -101
  189. package/dist/SalesCampaignsSection.cjs +38 -28
  190. package/dist/SalesCampaignsSection.js +297 -325
  191. package/dist/SearchBar.cjs +10 -10
  192. package/dist/SearchBar.js +168 -188
  193. package/dist/SearchSection-B94YN_6P.cjs +161 -0
  194. package/dist/{SearchSection-DDQ_K98T.js → SearchSection-DAaMecR4.js} +337 -359
  195. package/dist/SearchSection.cjs +1 -1
  196. package/dist/SearchSection.js +2 -3
  197. package/dist/Separator.cjs +3 -3
  198. package/dist/Separator.js +14 -19
  199. package/dist/Sidebar.cjs +4 -5
  200. package/dist/Sidebar.js +33 -56
  201. package/dist/SimpleCategoriesSection.cjs +2 -2
  202. package/dist/SimpleCategoriesSection.js +2 -2
  203. package/dist/{SoundCloud-C86xwUG6.cjs → SoundCloud-C6R6E6Zc.cjs} +1 -1
  204. package/dist/{SoundCloud-DG91z39R.js → SoundCloud-lO8wg_0s.js} +1 -1
  205. package/dist/Spinner.cjs +18 -18
  206. package/dist/Spinner.js +37 -54
  207. package/dist/StatsSection.cjs +6 -6
  208. package/dist/StatsSection.js +15 -25
  209. package/dist/{Streamable-4uAnb3WN.cjs → Streamable-DZO95CiT.cjs} +1 -1
  210. package/dist/{Streamable-BAIWLgyD.js → Streamable-Dwa5ZEK4.js} +1 -1
  211. package/dist/Surface.cjs +4 -4
  212. package/dist/Surface.js +19 -34
  213. package/dist/SwipeableDrawer.cjs +8 -8
  214. package/dist/SwipeableDrawer.js +84 -136
  215. package/dist/TabItem.cjs +11 -11
  216. package/dist/TabItem.js +83 -118
  217. package/dist/Table.cjs +65 -65
  218. package/dist/Table.js +786 -1167
  219. package/dist/TableView.cjs +2 -2
  220. package/dist/TableView.js +113 -197
  221. package/dist/Tabs.cjs +4 -4
  222. package/dist/Tabs.js +41 -60
  223. package/dist/TextAreaInput.cjs +14 -14
  224. package/dist/TextAreaInput.js +131 -181
  225. package/dist/TextInput.cjs +23 -23
  226. package/dist/TextInput.js +78 -126
  227. package/dist/ThemeProvider.cjs +5 -5
  228. package/dist/ThemeProvider.js +35 -39
  229. package/dist/TimeInput.cjs +7 -7
  230. package/dist/TimeInput.js +46 -72
  231. package/dist/Toggle.cjs +20 -20
  232. package/dist/Toggle.js +78 -109
  233. package/dist/ToggleSection.cjs +5 -5
  234. package/dist/ToggleSection.js +48 -55
  235. package/dist/TreeMenu.cjs +5 -5
  236. package/dist/TreeMenu.js +43 -67
  237. package/dist/TreeMenuSeparator.cjs +3 -3
  238. package/dist/TreeMenuSeparator.js +12 -20
  239. package/dist/{Twitch-CVAj24ti.cjs → Twitch-B17oKtD0.cjs} +1 -1
  240. package/dist/{Twitch-DfXeW5Xs.js → Twitch-C73-dwWo.js} +1 -1
  241. package/dist/UploadedFile.cjs +11 -11
  242. package/dist/UploadedFile.js +73 -99
  243. package/dist/{Vidyard-De3pges0.js → Vidyard-B6GdBHsM.js} +1 -1
  244. package/dist/{Vidyard-DaCcaaH4.cjs → Vidyard-s1MMcaRm.cjs} +1 -1
  245. package/dist/{Vimeo-8wXdCXGs.cjs → Vimeo-J1l_SU2E.cjs} +1 -1
  246. package/dist/{Vimeo-N6I2qi_h.js → Vimeo-kzHz4Gco.js} +1 -1
  247. package/dist/{Wistia-BrUzHQoq.cjs → Wistia-CudQyDHM.cjs} +1 -1
  248. package/dist/{Wistia-dlV6n6tO.js → Wistia-w4jnqd7y.js} +1 -1
  249. package/dist/{YouTube-Cfsj4ZaP.cjs → YouTube-BAYKouHS.cjs} +1 -1
  250. package/dist/{YouTube-DNJxWqRm.js → YouTube-BKyipPZx.js} +1 -1
  251. package/dist/index-BdKi2ogu.js +39 -0
  252. package/dist/index-BppfjY8h.js +497 -0
  253. package/dist/index-CRk3vcd4.cjs +95 -0
  254. package/dist/index-CX2A-q39.cjs +4 -0
  255. package/dist/{index-CWALXP1T.js → index-CwMCk9wV.js} +118 -145
  256. package/dist/index-DeS-oqJB.cjs +1 -0
  257. package/dist/index.cjs +1 -1
  258. package/dist/index.js +25 -21
  259. package/dist/{style-CkcozOY6.cjs → style-B4kAj6YU.cjs} +38 -8
  260. package/dist/{style-Cmlod7oq.js → style-neMbLWE6.js} +42 -11
  261. package/dist/{tag-BtS5lWJ0.js → tag-Dm8CW4TM.js} +21 -27
  262. package/dist/{tag-CmeZsPQt.cjs → tag-UQjq2_Ba.cjs} +7 -7
  263. package/package.json +4 -2
  264. package/vite.config.js +8 -0
  265. package/dist/KanbanCard-68kSAXL6.js +0 -175
  266. package/dist/KanbanCard-BDvoqTDS.cjs +0 -30
  267. package/dist/SearchSection-BcbHP6QF.cjs +0 -161
  268. package/dist/index-Be-_NM9Q.cjs +0 -4
  269. package/dist/index-C0LcDEqa.js +0 -47
  270. package/dist/index-CSNxZFTX.cjs +0 -95
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),P=require("react"),e=require("./index-BpbMKBf_.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./DropdownMenu.cjs"),w=require("./DropdownItem.cjs"),c=require("./Button.cjs"),p=require("./utils-RnrgDDZP.cjs"),A=require("./ThemeProvider.cjs"),j=f.styled.div`
1
+ "use strict";const o=require("react/jsx-runtime"),w=require("react"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./DropdownMenu.cjs"),C=require("./DropdownItem.cjs"),i=require("./Button.cjs"),a=require("./utils-RnrgDDZP.cjs"),q=require("./ThemeProvider.cjs"),A=f.styled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  border-radius: 8px;
@@ -7,13 +7,12 @@
7
7
  font-weight: 700;
8
8
  font-size: 0.875rem;
9
9
  color: rgba(15, 23, 42, 100%);
10
- background-color: ${r=>p.getColorRgbaValue(r.theme,"Toolbar",r.color,"enabled","background","backgroundOpacity")};
11
- border: ${r=>`1px solid ${p.getColorRgbaValue(r.theme,"Toolbar",r.color,"enabled","border","borderOpacity")}`};
10
+ background-color: ${e=>a.getColorRgbaValue(e.theme,"Toolbar",e.color,"enabled","background","backgroundOpacity")};
11
+ border: ${e=>`1px solid ${a.getColorRgbaValue(e.theme,"Toolbar",e.color,"enabled","border","borderOpacity")}`};
12
12
  gap: 6px;
13
13
  justify-content: space-between;
14
14
  & > div {
15
15
  display: flex;
16
16
  gap: 0.5rem;
17
17
  }
18
- }
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:s=[],onCreate:T=()=>{},className:m="",style:g={},color:n="primary",size:l="small",...x}=r,{theme:_}=A.useTheme();return t.jsxs(j,{ref:d,theme:_,color:n,className:m,style:g,...x,children:[t.jsx("div",{children:u&&t.jsx(c,{leadingIcon:"plus",btnType:"outline",color:n,size:l,title:i,disabled:!b,onClick:T,text:i})}),(s==null?void 0:s.length)>0&&t.jsx("div",{children:t.jsx(C,{color:n,size:l,control:t.jsx(c,{text:y,btnType:"outline",trailingIcon:"angle-down",color:n,size:l}),children:s==null?void 0:s.map((o,h)=>{if((o==null?void 0:o.show)!=!1)return t.jsx(w,{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;
18
+ `,d=w.forwardRef((e,c)=>{const{showCreate:u=!0,enableCreate:b=!0,createText:s="Create New item",actionsText:m="Actions",actions:t=[],onCreate:x=()=>{},className:g="",style:p={},color:n="primary",size:l="small",...h}=e,{theme:y}=q.useTheme();return o.jsxs(A,{ref:c,theme:y,color:n,className:g,style:p,...h,children:[o.jsx("div",{children:u&&o.jsx(i,{leadingIcon:"plus",btnType:"outline",color:n,size:l,title:s,disabled:!b,onClick:x,text:s})}),(t==null?void 0:t.length)>0&&o.jsx("div",{children:o.jsx(j,{color:n,size:l,control:o.jsx(i,{text:m,btnType:"outline",trailingIcon:"angle-down",color:n,size:l}),children:t==null?void 0:t.map((r,T)=>{if((r==null?void 0:r.show)!=!1)return o.jsx(C,{icon:r.icon,disabled:!r.enable,onClick:r.onAction,children:r.name},T)})})})]})});d.displayName="KANBAN_VIEW_ACTIONS_TOOLBAR";module.exports=d;
@@ -1,13 +1,12 @@
1
- import { jsxs as _, jsx as n } from "react/jsx-runtime";
2
- import { forwardRef as C } from "react";
3
- import { P as e } from "./index-CblbdqjE.js";
1
+ import { jsxs as y, jsx as t } from "react/jsx-runtime";
2
+ import { forwardRef as T } from "react";
4
3
  import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import A from "./DropdownMenu.js";
6
- import N from "./DropdownItem.js";
7
- import s from "./Button.js";
8
- import { b as m } from "./utils-DtEfC-TX.js";
9
- import { useTheme as O } from "./ThemeProvider.js";
10
- const I = w.div`
4
+ import C from "./DropdownMenu.js";
5
+ import A from "./DropdownItem.js";
6
+ import i from "./Button.js";
7
+ import { b as d } from "./utils-DtEfC-TX.js";
8
+ import { useTheme as N } from "./ThemeProvider.js";
9
+ const k = w.div`
11
10
  display: flex;
12
11
  align-items: center;
13
12
  border-radius: 8px;
@@ -16,18 +15,18 @@ const I = w.div`
16
15
  font-weight: 700;
17
16
  font-size: 0.875rem;
18
17
  color: rgba(15, 23, 42, 100%);
19
- background-color: ${(r) => m(
20
- r.theme,
18
+ background-color: ${(e) => d(
19
+ e.theme,
21
20
  "Toolbar",
22
- r.color,
21
+ e.color,
23
22
  "enabled",
24
23
  "background",
25
24
  "backgroundOpacity"
26
25
  )};
27
- border: ${(r) => `1px solid ${m(
28
- r.theme,
26
+ border: ${(e) => `1px solid ${d(
27
+ e.theme,
29
28
  "Toolbar",
30
- r.color,
29
+ e.color,
31
30
  "enabled",
32
31
  "border",
33
32
  "borderOpacity"
@@ -38,72 +37,70 @@ const I = w.div`
38
37
  display: flex;
39
38
  gap: 0.5rem;
40
39
  }
41
- }
42
- `, d = C((r, c) => {
40
+ `, I = T((e, m) => {
43
41
  const {
44
- __TYPE__: k = "KANBAN_VIEW_ACTIONS_TOOLBAR",
45
- showCreate: p = !0,
46
- enableCreate: b = !0,
47
- createText: i = "Create New item",
48
- actionsText: g = "Actions",
49
- actions: t = [],
42
+ showCreate: s = !0,
43
+ enableCreate: p = !0,
44
+ createText: a = "Create New item",
45
+ actionsText: b = "Actions",
46
+ actions: o = [],
50
47
  //----------------
51
- onCreate: f = () => {
48
+ onCreate: c = () => {
52
49
  },
53
50
  //-------------------
54
- className: u = "",
55
- style: y = {},
56
- color: a = "primary",
57
- size: l = "small",
58
- ...T
59
- } = r, { theme: x } = O();
60
- return /* @__PURE__ */ _(
61
- I,
51
+ className: f = "",
52
+ style: u = {},
53
+ color: l = "primary",
54
+ size: n = "small",
55
+ ...g
56
+ } = e, { theme: x } = N();
57
+ return /* @__PURE__ */ y(
58
+ k,
62
59
  {
63
- ref: c,
60
+ ref: m,
64
61
  theme: x,
65
- color: a,
66
- className: u,
67
- style: y,
68
- ...T,
62
+ color: l,
63
+ className: f,
64
+ style: u,
65
+ ...g,
69
66
  children: [
70
- /* @__PURE__ */ n("div", { children: p && /* @__PURE__ */ n(
71
- s,
67
+ /* @__PURE__ */ t("div", { children: s && /* @__PURE__ */ t(
68
+ i,
72
69
  {
73
70
  leadingIcon: "plus",
74
71
  btnType: "outline",
75
- color: a,
76
- size: l,
77
- title: i,
78
- disabled: !b,
79
- onClick: f,
80
- text: i
72
+ color: l,
73
+ size: n,
74
+ title: a,
75
+ disabled: !p,
76
+ onClick: c,
77
+ text: a
81
78
  }
82
79
  ) }),
83
- (t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
84
- A,
80
+ (o == null ? void 0 : o.length) > 0 && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
81
+ C,
85
82
  {
86
- color: a,
87
- size: l,
88
- control: /* @__PURE__ */ n(
89
- s,
83
+ color: l,
84
+ size: n,
85
+ control: /* @__PURE__ */ t(
86
+ i,
90
87
  {
91
- text: g,
88
+ text: b,
92
89
  btnType: "outline",
93
90
  trailingIcon: "angle-down",
94
- color: a,
95
- size: l
91
+ color: l,
92
+ size: n
96
93
  }
97
94
  ),
98
- children: t == null ? void 0 : t.map((o, h) => {
99
- if ((o == null ? void 0 : o.show) != !1)
100
- return /* @__PURE__ */ n(
101
- N,
95
+ children: o == null ? void 0 : o.map((r, h) => {
96
+ if ((r == null ? void 0 : r.show) != !1)
97
+ return /* @__PURE__ */ t(
98
+ A,
102
99
  {
103
- icon: o.icon,
104
- disabled: !o.enable,
105
- onClick: o.onAction,
106
- children: o.name
100
+ icon: r.icon,
101
+ disabled: !r.enable,
102
+ onClick: r.onAction,
103
+ children: r.name
107
104
  },
108
105
  h
109
106
  );
@@ -114,39 +111,7 @@ const I = w.div`
114
111
  }
115
112
  );
116
113
  });
117
- d.propTypes = {
118
- /**
119
- * This property determines where the component is rendered.
120
- * Should not be overridden!
121
- */
122
- __TYPE__: e.string,
123
- showCreate: e.bool,
124
- enableCreate: e.bool,
125
- createText: e.string,
126
- actionsText: e.string,
127
- /**
128
- * Actions that will be shown in toolbar with existing actions
129
- * actions=[{name: `<string>`, show: `<bool>`, enable: `<bool>`, onAction: `PropTypes.func`}, ...]
130
- */
131
- actions: e.array,
132
- //-------------------------------------------------------------
133
- onCreate: e.func,
134
- //------------------------------------------------------------
135
- className: e.string,
136
- style: e.object,
137
- size: e.oneOf(["small", "medium", "large"]),
138
- color: e.oneOf([
139
- "primary",
140
- "secondary",
141
- "success",
142
- "danger",
143
- "warning",
144
- "information",
145
- "neutral",
146
- "gray"
147
- ])
148
- };
149
- d.displayName = "KANBAN_VIEW_ACTIONS_TOOLBAR";
114
+ I.displayName = "KANBAN_VIEW_ACTIONS_TOOLBAR";
150
115
  export {
151
- d as default
116
+ I as default
152
117
  };
@@ -0,0 +1,137 @@
1
+ import { jsx as o, jsxs as g } from "react/jsx-runtime";
2
+ import { forwardRef as c, memo as k } from "react";
3
+ import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import N from "./Icon.js";
5
+ import z from "./DropdownMenu.js";
6
+ import C from "./DropdownItem.js";
7
+ import { c as _ } from "./index-fN7hCOo3.js";
8
+ import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
9
+ const K = "_Action_bw0a9_5", j = {
10
+ Action: K
11
+ }, B = c(
12
+ ({ active: r, className: a, cursor: s, style: l, ...t }, n) => /* @__PURE__ */ o(
13
+ "button",
14
+ {
15
+ ref: n,
16
+ ...t,
17
+ className: _(j.Action, a),
18
+ tabIndex: 0,
19
+ style: {
20
+ ...l,
21
+ cursor: s,
22
+ "--fill": r == null ? void 0 : r.fill,
23
+ "--background": r == null ? void 0 : r.background
24
+ }
25
+ }
26
+ )
27
+ ), H = c((r, a) => /* @__PURE__ */ o(B, { ref: a, cursor: "grab", "data-cypress": "draggable-handle", ...r, children: /* @__PURE__ */ o("svg", { viewBox: "0 0 20 20", width: "12", children: /* @__PURE__ */ o("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 = p.div`
28
+ height: 100%;
29
+ width: 100%;
30
+ padding: ${(r) => `18px 20px 18px ${r.handle == !0 ? "10px" : "20px"}`};
31
+ position: relative;
32
+ word-wrap: break-word;
33
+ white-space: pre-wrap;
34
+ word-break: break-word;
35
+ display: flex;
36
+ gap: 8px;
37
+ & .card-action-lnc {
38
+ position: absolute;
39
+ right: 10px;
40
+ cursor: pointer;
41
+ }
42
+
43
+ & > .kanban-card-content {
44
+ ${(r) => r.clickable && "cursor: pointer;"}
45
+ }
46
+ `, M = p.div`
47
+ display: flex;
48
+
49
+ & > *:first-of-type:not(:last-of-type) {
50
+ opacity: 0;
51
+ }
52
+
53
+ & > *:first-of-type:not(:last-of-type):focus-visible {
54
+ opacity: 1;
55
+ }
56
+ `, R = k(
57
+ c(
58
+ ({
59
+ containerId: r,
60
+ item: a,
61
+ handle: s = !0,
62
+ handleProps: l,
63
+ actionsMenu: t = !1,
64
+ actions: n = [],
65
+ onDetails: i,
66
+ color: d = "primary",
67
+ size: m = "small",
68
+ className: f = "",
69
+ style: b = {},
70
+ children: h,
71
+ ...u
72
+ }, A) => {
73
+ const w = $();
74
+ return /* @__PURE__ */ g(
75
+ I,
76
+ {
77
+ ref: A,
78
+ handle: s,
79
+ theme: w,
80
+ className: f,
81
+ style: b,
82
+ clickable: !!i,
83
+ ...u,
84
+ children: [
85
+ s && /* @__PURE__ */ o(M, { className: "Actions", children: /* @__PURE__ */ o(H, { ...l }) }),
86
+ t && /* @__PURE__ */ o(
87
+ z,
88
+ {
89
+ className: "card-action-lnc",
90
+ horizontalAlignment: "right",
91
+ verticalAlignment: "bottom",
92
+ color: d,
93
+ size: m,
94
+ control: /* @__PURE__ */ o(
95
+ N,
96
+ {
97
+ color: "neutral",
98
+ className: "card-action-lnc",
99
+ icon: "ellipsis-v"
100
+ }
101
+ ),
102
+ children: n == null ? void 0 : n.map((e, y) => {
103
+ if ((e == null ? void 0 : e.show) != !1)
104
+ return /* @__PURE__ */ o(
105
+ C,
106
+ {
107
+ icon: e.icon,
108
+ disabled: e.enable == !1,
109
+ onClick: (x) => e.onAction(x, a, r),
110
+ children: e.name
111
+ },
112
+ y
113
+ );
114
+ })
115
+ }
116
+ ),
117
+ /* @__PURE__ */ o(
118
+ "div",
119
+ {
120
+ className: "kanban-card-content-lnc",
121
+ onClick: (e) => {
122
+ i && i(e, a, r);
123
+ },
124
+ children: h
125
+ }
126
+ )
127
+ ]
128
+ }
129
+ );
130
+ }
131
+ )
132
+ );
133
+ R.displayName = "KANBAN_CARD";
134
+ export {
135
+ H,
136
+ R as K
137
+ };
@@ -0,0 +1,30 @@
1
+ "use strict";const r=require("react/jsx-runtime"),a=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./Icon.cjs"),N=require("./DropdownMenu.cjs"),q=require("./DropdownItem.cjs"),_=require("./index-Bg5OOQN0.cjs"),z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),C="_Action_bw0a9_5",R={Action:C},$=a.forwardRef(({active:e,className:n,cursor:t,style:l,...c},o)=>r.jsx("button",{ref:o,...c,className:_.classNames(R.Action,n),tabIndex:0,style:{...l,cursor:t,"--fill":e==null?void 0:e.fill,"--background":e==null?void 0:e.background}})),p=a.forwardRef((e,n)=>r.jsx($,{ref:n,cursor:"grab","data-cypress":"draggable-handle",...e,children:r.jsx("svg",{viewBox:"0 0 20 20",width:"12",children:r.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"})})})),K=d.styled.div`
2
+ height: 100%;
3
+ width: 100%;
4
+ padding: ${e=>`18px 20px 18px ${e.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
+ ${e=>e.clickable&&"cursor: pointer;"}
19
+ }
20
+ `,B=d.styled.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
+ `,m=a.memo(a.forwardRef(({containerId:e,item:n,handle:t=!0,handleProps:l,actionsMenu:c=!1,actions:o=[],onDetails:i,color:u="primary",size:x="small",className:b="",style:f={},children:h,...w},A)=>{const y=z.useTheme();return r.jsxs(K,{ref:A,handle:t,theme:y,className:b,style:f,clickable:!!i,...w,children:[t&&r.jsx(B,{className:"Actions",children:r.jsx(p,{...l})}),c&&r.jsx(N,{className:"card-action-lnc",horizontalAlignment:"right",verticalAlignment:"bottom",color:u,size:x,control:r.jsx(k,{color:"neutral",className:"card-action-lnc",icon:"ellipsis-v"}),children:o==null?void 0:o.map((s,g)=>{if((s==null?void 0:s.show)!=!1)return r.jsx(q,{icon:s.icon,disabled:s.enable==!1,onClick:j=>s.onAction(j,n,e),children:s.name},g)})}),r.jsx("div",{className:"kanban-card-content-lnc",onClick:s=>{i&&i(s,n,e)},children:h})]})}));m.displayName="KANBAN_CARD";exports.Handle=p;exports.KanbanCard=m;
@@ -1 +1 @@
1
- "use strict";require("react/jsx-runtime");require("react");require("./emotion-styled.browser.esm-BtEseadx.cjs");require("./index-BpbMKBf_.cjs");require("./Icon.cjs");require("./DropdownMenu.cjs");require("./DropdownItem.cjs");const r=require("./KanbanCard-BDvoqTDS.cjs");require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");module.exports=r.KanbanCard;
1
+ "use strict";require("react/jsx-runtime");require("react");require("./emotion-styled.browser.esm-BtEseadx.cjs");require("./Icon.cjs");require("./DropdownMenu.cjs");require("./DropdownItem.cjs");const r=require("./KanbanCard-DihrKn-I.cjs");require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");module.exports=r.KanbanCard;
@@ -1,12 +1,11 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import "./index-CblbdqjE.js";
5
4
  import "./Icon.js";
6
5
  import "./DropdownMenu.js";
7
6
  import "./DropdownItem.js";
8
- import { K as l } from "./KanbanCard-68kSAXL6.js";
7
+ import { K as d } from "./KanbanCard-B9V9EjVE.js";
9
8
  import "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
10
9
  export {
11
- l as default
10
+ d as default
12
11
  };
@@ -1,5 +1,5 @@
1
- "use strict";const s=require("react/jsx-runtime"),i=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),e=require("./index-BpbMKBf_.cjs"),d=require("./IconButton.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),h=w.styled.div`
2
- font-family: ${p=>{var o,r;return(r=(o=p.theme)==null?void 0:o.typography)==null?void 0:r.fontFamily}};
1
+ "use strict";const r=require("react/jsx-runtime"),s=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./IconButton.cjs"),f=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),w=h.styled.div`
2
+ font-family: ${e=>{var t,o;return(o=(t=e.theme)==null?void 0:t.typography)==null?void 0:o.fontFamily}};
3
3
  padding: 5px 8px;
4
4
  margin-top: auto;
5
- `,n=i.memo(i.forwardRef(({__TYPE__:p="KANBAN_FOOTER",id:o,showAddNewCard:r=!1,showLoadMoreCards:a=!1,addNewCardText:N="Add New Card",onAddNewCard:c=()=>{},onLoadMoreCards:y=()=>{},className:l="",style:m={},color:f="primary",children:T,...u},x)=>{const _=P.useTheme();return s.jsxs(h,{ref:x,theme:_,className:l,style:m,...u,children:[T,a&&s.jsx(d,{onClick:t=>y(t,o),icon:"chevron-circle-down",btnType:"outline",style:{maxWidth:"unset",width:"100%",marginBottom:"8px"}}),r&&s.jsx(d,{onClick:t=>c(t,o),icon:"plus-circle",btnType:"outline",style:{maxWidth:"unset",width:"100%",marginBottom:"8px"}})]})}));n.propTypes={__TYPE__:e.PropTypes.string,id:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]),showLoadMoreCards:e.PropTypes.bool,showAddNewCard:e.PropTypes.bool,addNewCardText:e.PropTypes.string,onAddNewCard:e.PropTypes.func,onLoadMoreCards:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object};n.displayName="KANBAN_FOOTER";module.exports=n;
5
+ `,c=s.memo(s.forwardRef(({id:e,showAddNewCard:t=!1,showLoadMoreCards:o=!1,onAddNewCard:m=()=>{},onLoadMoreCards:l=()=>{},className:a="",style:u={},children:d,...p},y)=>{const x=f.useTheme();return r.jsxs(w,{ref:y,theme:x,className:a,style:u,...p,children:[d,o&&r.jsx(i,{onClick:n=>l(n,e),icon:"chevron-circle-down",btnType:"outline",style:{maxWidth:"unset",width:"100%",marginBottom:"8px"}}),t&&r.jsx(i,{onClick:n=>m(n,e),icon:"plus-circle",btnType:"outline",style:{maxWidth:"unset",width:"100%",marginBottom:"8px"}})]})}));c.displayName="KANBAN_FOOTER";module.exports=c;
@@ -1,58 +1,54 @@
1
- import { jsxs as T, jsx as n } from "react/jsx-runtime";
2
- import { memo as w, forwardRef as x } from "react";
3
- import { s as N } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { P as o } from "./index-CblbdqjE.js";
5
- import s from "./IconButton.js";
6
- import { u as _ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
- const g = N.div`
8
- font-family: ${(a) => {
9
- var t, e;
10
- return (e = (t = a.theme) == null ? void 0 : t.typography) == null ? void 0 : e.fontFamily;
1
+ import { jsxs as u, jsx as i } from "react/jsx-runtime";
2
+ import { memo as y, forwardRef as h } from "react";
3
+ import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import m from "./IconButton.js";
5
+ import { u as g } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
+ const w = x.div`
7
+ font-family: ${(t) => {
8
+ var o, e;
9
+ return (e = (o = t.theme) == null ? void 0 : o.typography) == null ? void 0 : e.fontFamily;
11
10
  }};
12
11
  padding: 5px 8px;
13
12
  margin-top: auto;
14
- `, d = w(
15
- x(
13
+ `, B = y(
14
+ h(
16
15
  ({
17
- __TYPE__: a = "KANBAN_FOOTER",
18
16
  id: t,
19
- showAddNewCard: e = !1,
20
- showLoadMoreCards: i = !1,
21
- addNewCardText: C = "Add New Card",
22
- onAddNewCard: m = () => {
17
+ showAddNewCard: o = !1,
18
+ showLoadMoreCards: e = !1,
19
+ onAddNewCard: r = () => {
23
20
  },
24
- onLoadMoreCards: p = () => {
21
+ onLoadMoreCards: a = () => {
25
22
  },
26
- className: l = "",
27
- style: c = {},
28
- color: b = "primary",
29
- children: f,
30
- ...y
31
- }, u) => {
32
- const h = _();
33
- return /* @__PURE__ */ T(
34
- g,
23
+ className: s = "",
24
+ style: l = {},
25
+ children: p,
26
+ ...c
27
+ }, d) => {
28
+ const f = g();
29
+ return /* @__PURE__ */ u(
30
+ w,
35
31
  {
36
- ref: u,
37
- theme: h,
38
- className: l,
39
- style: c,
40
- ...y,
32
+ ref: d,
33
+ theme: f,
34
+ className: s,
35
+ style: l,
36
+ ...c,
41
37
  children: [
42
- f,
43
- i && /* @__PURE__ */ n(
44
- s,
38
+ p,
39
+ e && /* @__PURE__ */ i(
40
+ m,
45
41
  {
46
- onClick: (r) => p(r, t),
42
+ onClick: (n) => a(n, t),
47
43
  icon: "chevron-circle-down",
48
44
  btnType: "outline",
49
45
  style: { maxWidth: "unset", width: "100%", marginBottom: "8px" }
50
46
  }
51
47
  ),
52
- e && /* @__PURE__ */ n(
53
- s,
48
+ o && /* @__PURE__ */ i(
49
+ m,
54
50
  {
55
- onClick: (r) => m(r, t),
51
+ onClick: (n) => r(n, t),
56
52
  icon: "plus-circle",
57
53
  btnType: "outline",
58
54
  style: { maxWidth: "unset", width: "100%", marginBottom: "8px" }
@@ -64,21 +60,7 @@ const g = N.div`
64
60
  }
65
61
  )
66
62
  );
67
- d.propTypes = {
68
- __TYPE__: o.string,
69
- id: o.oneOfType([o.string, o.number]),
70
- //---------------------------------------------------------
71
- showLoadMoreCards: o.bool,
72
- showAddNewCard: o.bool,
73
- addNewCardText: o.string,
74
- //---------------------------------------------------------
75
- onAddNewCard: o.func,
76
- onLoadMoreCards: o.func,
77
- //---------------------------------------------------------
78
- className: o.string,
79
- style: o.object
80
- };
81
- d.displayName = "KANBAN_FOOTER";
63
+ B.displayName = "KANBAN_FOOTER";
82
64
  export {
83
- d as default
65
+ B as default
84
66
  };
@@ -1,5 +1,5 @@
1
- "use strict";const s=require("react/jsx-runtime"),c=require("react"),A=require("./emotion-styled.browser.esm-BtEseadx.cjs"),e=require("./index-BpbMKBf_.cjs"),q=require("./DropdownMenu.cjs"),w=require("./DropdownItem.cjs"),x=require("./Icon.cjs"),N=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),j=A.styled.div`
2
- font-family: ${n=>{var i,o;return(o=(i=n.theme)==null?void 0:i.typography)==null?void 0:o.fontFamily}};
1
+ "use strict";const n=require("react/jsx-runtime"),i=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),x=require("./DropdownMenu.cjs"),j=require("./DropdownItem.cjs"),A=require("./Icon.cjs"),g=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=w.styled.div`
2
+ font-family: ${r=>{var o,s;return(s=(o=r.theme)==null?void 0:o.typography)==null?void 0:s.fontFamily}};
3
3
  position: relative;
4
4
  width: 100%;
5
5
  & .column-action-lnc {
@@ -10,6 +10,6 @@
10
10
  }
11
11
 
12
12
  & > span {
13
- ${n=>n.clickable&&"cursor: pointer;"}
13
+ ${r=>r.clickable&&"cursor: pointer;"}
14
14
  }
15
- `,t=c.memo(c.forwardRef(({__TYPE__:n="KANBAN_HEADER",id:i,item:o,column:p,actionsMenu:m=!1,actions:l=[],onDetails:a=()=>{},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:!!a,..._,children:[s.jsx("span",{onClick:r=>a(r,o,p),children:f}),m&&s.jsx(q,{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(w,{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
+ `,c=i.memo(i.forwardRef(({item:r,column:o,actionsMenu:s=!1,actions:l=[],onDetails:t=()=>{},color:m="primary",size:a="small",className:u="",style:d={},children:p,...h},f)=>{const b=g.useTheme();return n.jsxs(N,{ref:f,theme:b,className:u,style:d,clickable:!!t,...h,children:[n.jsx("span",{onClick:e=>t(e,r,o),children:p}),s&&n.jsx(x,{className:"column-action-lnc",horizontalAlignment:"right",verticalAlignment:"bottom",color:m,size:a,control:n.jsx(A,{color:"neutral",className:"column-action-lnc",icon:"ellipsis-v"}),children:l==null?void 0:l.map((e,y)=>{if((e==null?void 0:e.show)!=!1)return n.jsx(j,{icon:e.icon,disabled:e.enable==!1,onClick:q=>{e.onAction(q,r,o)},children:e.name},y)})})]})}));c.displayName="KANBAN_HEADER";module.exports=c;