linear-react-components-ui 1.1.26-beta.6 → 1.1.26-beta.7

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 (601) hide show
  1. package/package.json +11 -10
  2. package/lib/@types/Align.d.ts +0 -2
  3. package/lib/@types/ButtonTypes.d.ts +0 -1
  4. package/lib/@types/ColorStyles.d.ts +0 -1
  5. package/lib/@types/DataCombo.d.ts +0 -1
  6. package/lib/@types/Icon.d.ts +0 -2
  7. package/lib/@types/LabelStyles.d.ts +0 -1
  8. package/lib/@types/Period.d.ts +0 -4
  9. package/lib/@types/PermissionAttr.d.ts +0 -12
  10. package/lib/@types/PointerEvents.d.ts +0 -1
  11. package/lib/@types/Position.d.ts +0 -1
  12. package/lib/@types/PositionAlert.d.ts +0 -1
  13. package/lib/@types/Size.d.ts +0 -1
  14. package/lib/@types/SizePixels.d.ts +0 -1
  15. package/lib/@types/StorageMock.d.ts +0 -3
  16. package/lib/alerts/AlertContainer.d.ts +0 -12
  17. package/lib/alerts/AlertContainer.js +0 -64
  18. package/lib/alerts/AlertProvider.d.ts +0 -3
  19. package/lib/alerts/AlertProvider.js +0 -40
  20. package/lib/alerts/BaseAlert.d.ts +0 -3
  21. package/lib/alerts/BaseAlert.js +0 -18
  22. package/lib/alerts/Message.d.ts +0 -3
  23. package/lib/alerts/Message.js +0 -67
  24. package/lib/alerts/alert.spec.d.ts +0 -0
  25. package/lib/alerts/helpers.d.ts +0 -3
  26. package/lib/alerts/helpers.js +0 -5
  27. package/lib/alerts/index.d.ts +0 -4
  28. package/lib/alerts/index.js +0 -6
  29. package/lib/alerts/types.d.ts +0 -47
  30. package/lib/alerts/withAlert.d.ts +0 -4
  31. package/lib/alerts/withAlert.js +0 -10
  32. package/lib/assets/BaseAlert.css +0 -1
  33. package/lib/assets/Content.css +0 -1
  34. package/lib/assets/DefaultFile.css +0 -1
  35. package/lib/assets/Drawer.css +0 -1
  36. package/lib/assets/InputTextBase.css +0 -1
  37. package/lib/assets/button.css +0 -1
  38. package/lib/assets/gridlayout.css +0 -1
  39. package/lib/assets/index.css +0 -1
  40. package/lib/assets/index10.css +0 -1
  41. package/lib/assets/index11.css +0 -1
  42. package/lib/assets/index12.css +0 -1
  43. package/lib/assets/index13.css +0 -1
  44. package/lib/assets/index14.css +0 -1
  45. package/lib/assets/index15.css +0 -1
  46. package/lib/assets/index16.css +0 -1
  47. package/lib/assets/index17.css +0 -1
  48. package/lib/assets/index18.css +0 -1
  49. package/lib/assets/index19.css +0 -1
  50. package/lib/assets/index2.css +0 -1
  51. package/lib/assets/index20.css +0 -1
  52. package/lib/assets/index21.css +0 -1
  53. package/lib/assets/index22.css +0 -1
  54. package/lib/assets/index23.css +0 -1
  55. package/lib/assets/index24.css +0 -1
  56. package/lib/assets/index25.css +0 -1
  57. package/lib/assets/index26.css +0 -1
  58. package/lib/assets/index27.css +0 -1
  59. package/lib/assets/index28.css +0 -1
  60. package/lib/assets/index3.css +0 -1
  61. package/lib/assets/index4.css +0 -1
  62. package/lib/assets/index5.css +0 -1
  63. package/lib/assets/index6.css +0 -1
  64. package/lib/assets/index7.css +0 -1
  65. package/lib/assets/index8.css +0 -1
  66. package/lib/assets/index9.css +0 -1
  67. package/lib/assets/label.css +0 -1
  68. package/lib/assets/noPermission.css +0 -1
  69. package/lib/assets/panel.css +0 -1
  70. package/lib/assets/progressbar.css +0 -1
  71. package/lib/assets/radio.css +0 -1
  72. package/lib/assets/skeleton.css +0 -1
  73. package/lib/assets/table.css +0 -1
  74. package/lib/assets/tabs.css +0 -1
  75. package/lib/assets/toolbar.css +0 -1
  76. package/lib/assets/withDropdown.css +0 -1
  77. package/lib/avatar/avatar.spec.d.ts +0 -1
  78. package/lib/avatar/index.d.ts +0 -6
  79. package/lib/avatar/index.js +0 -77
  80. package/lib/avatar/types.d.ts +0 -27
  81. package/lib/badge/badge.spec.d.ts +0 -1
  82. package/lib/badge/index.d.ts +0 -3
  83. package/lib/badge/index.js +0 -26
  84. package/lib/badge/types.d.ts +0 -10
  85. package/lib/buttons/ActivateButton.d.ts +0 -3
  86. package/lib/buttons/ActivateButton.js +0 -6
  87. package/lib/buttons/AddButton.d.ts +0 -3
  88. package/lib/buttons/AddButton.js +0 -7
  89. package/lib/buttons/Button.d.ts +0 -6
  90. package/lib/buttons/Button.js +0 -8
  91. package/lib/buttons/ButtonGroups.d.ts +0 -6
  92. package/lib/buttons/ButtonGroups.js +0 -5
  93. package/lib/buttons/CancelButton.d.ts +0 -3
  94. package/lib/buttons/CancelButton.js +0 -6
  95. package/lib/buttons/DangerButton.d.ts +0 -3
  96. package/lib/buttons/DangerButton.js +0 -6
  97. package/lib/buttons/DefaultButton.d.ts +0 -6
  98. package/lib/buttons/DefaultButton.js +0 -129
  99. package/lib/buttons/DestroyButton.d.ts +0 -3
  100. package/lib/buttons/DestroyButton.js +0 -7
  101. package/lib/buttons/EditButton.d.ts +0 -3
  102. package/lib/buttons/EditButton.js +0 -6
  103. package/lib/buttons/InactivateButton.d.ts +0 -3
  104. package/lib/buttons/InactivateButton.js +0 -6
  105. package/lib/buttons/InfoButton.d.ts +0 -3
  106. package/lib/buttons/InfoButton.js +0 -6
  107. package/lib/buttons/PrimaryButton.d.ts +0 -3
  108. package/lib/buttons/PrimaryButton.js +0 -6
  109. package/lib/buttons/RestoreButton.d.ts +0 -3
  110. package/lib/buttons/RestoreButton.js +0 -6
  111. package/lib/buttons/SaveButton.d.ts +0 -3
  112. package/lib/buttons/SaveButton.js +0 -6
  113. package/lib/buttons/SuccessButton.d.ts +0 -3
  114. package/lib/buttons/SuccessButton.js +0 -6
  115. package/lib/buttons/WarningButton.d.ts +0 -3
  116. package/lib/buttons/WarningButton.js +0 -6
  117. package/lib/buttons/button_container/index.d.ts +0 -10
  118. package/lib/buttons/button_container/index.js +0 -18
  119. package/lib/buttons/buttons.spec.d.ts +0 -0
  120. package/lib/buttons/index.d.ts +0 -17
  121. package/lib/buttons/index.js +0 -33
  122. package/lib/buttons/split_button/index.d.ts +0 -3
  123. package/lib/buttons/split_button/index.js +0 -60
  124. package/lib/buttons/types.d.ts +0 -46
  125. package/lib/calendar/DangerCalendar.d.ts +0 -3
  126. package/lib/calendar/DangerCalendar.js +0 -6
  127. package/lib/calendar/InfoCalendar.d.ts +0 -3
  128. package/lib/calendar/InfoCalendar.js +0 -6
  129. package/lib/calendar/PrimaryCalendar.d.ts +0 -3
  130. package/lib/calendar/PrimaryCalendar.js +0 -6
  131. package/lib/calendar/SuccessCalendar.d.ts +0 -3
  132. package/lib/calendar/SuccessCalendar.js +0 -6
  133. package/lib/calendar/WarningCalendar.d.ts +0 -3
  134. package/lib/calendar/WarningCalendar.js +0 -6
  135. package/lib/calendar/base/Day.d.ts +0 -3
  136. package/lib/calendar/base/Day.js +0 -27
  137. package/lib/calendar/base/Month.d.ts +0 -3
  138. package/lib/calendar/base/Month.js +0 -25
  139. package/lib/calendar/base/Week.d.ts +0 -3
  140. package/lib/calendar/base/Week.js +0 -23
  141. package/lib/calendar/base/helpers.d.ts +0 -59
  142. package/lib/calendar/base/helpers.js +0 -108
  143. package/lib/calendar/base/index.d.ts +0 -3
  144. package/lib/calendar/base/index.js +0 -103
  145. package/lib/calendar/calendar.spec.d.ts +0 -0
  146. package/lib/calendar/index.d.ts +0 -8
  147. package/lib/calendar/index.js +0 -14
  148. package/lib/calendar/types.d.ts +0 -27
  149. package/lib/checkbox/checkbox.spec.d.ts +0 -1
  150. package/lib/checkbox/index.d.ts +0 -9
  151. package/lib/checkbox/index.js +0 -31
  152. package/lib/checkbox/types.d.ts +0 -45
  153. package/lib/chunks/index.CM1aLH2W.js +0 -205
  154. package/lib/chunks/index.Df3kt2LQ.js +0 -667
  155. package/lib/chunks/jsx-runtime.C7wFtzyj.js +0 -284
  156. package/lib/chunks/lodash.CIAK_hAg.js +0 -3684
  157. package/lib/chunks/moment.DMLRxgRE.js +0 -2589
  158. package/lib/chunks/tabs.D0L_nVfP.js +0 -245
  159. package/lib/chunks/v1.Ds1rkxUj.js +0 -49
  160. package/lib/dialog/Alert.d.ts +0 -3
  161. package/lib/dialog/Alert.js +0 -23
  162. package/lib/dialog/Custom.d.ts +0 -3
  163. package/lib/dialog/Custom.js +0 -33
  164. package/lib/dialog/Error.d.ts +0 -3
  165. package/lib/dialog/Error.js +0 -23
  166. package/lib/dialog/Information.d.ts +0 -3
  167. package/lib/dialog/Information.js +0 -23
  168. package/lib/dialog/Question.d.ts +0 -3
  169. package/lib/dialog/Question.js +0 -60
  170. package/lib/dialog/Warning.d.ts +0 -3
  171. package/lib/dialog/Warning.js +0 -23
  172. package/lib/dialog/base/Content.d.ts +0 -3
  173. package/lib/dialog/base/Content.js +0 -6
  174. package/lib/dialog/base/Footer.d.ts +0 -3
  175. package/lib/dialog/base/Footer.js +0 -5
  176. package/lib/dialog/base/Header.d.ts +0 -3
  177. package/lib/dialog/base/Header.js +0 -7
  178. package/lib/dialog/base/index.d.ts +0 -10
  179. package/lib/dialog/base/index.js +0 -9
  180. package/lib/dialog/base/style.d.ts +0 -7
  181. package/lib/dialog/dialog.spec.d.ts +0 -0
  182. package/lib/dialog/form/index.d.ts +0 -5
  183. package/lib/dialog/form/index.js +0 -15
  184. package/lib/dialog/index.d.ts +0 -9
  185. package/lib/dialog/index.js +0 -16
  186. package/lib/dialog/types.d.ts +0 -107
  187. package/lib/dialog/wizard/index.d.ts +0 -9
  188. package/lib/dialog/wizard/index.js +0 -14
  189. package/lib/dialog/wizard/progressbar.d.ts +0 -11
  190. package/lib/dialog/wizard/progressbar.js +0 -89
  191. package/lib/dialog/wizard/step.d.ts +0 -2
  192. package/lib/dialog/wizard/step.js +0 -5
  193. package/lib/dialog/wizard/useWizard.d.ts +0 -2
  194. package/lib/dialog/wizard/useWizard.js +0 -32
  195. package/lib/dialog/wizard/wizard.spec.d.ts +0 -0
  196. package/lib/drawer/Content.d.ts +0 -3
  197. package/lib/drawer/Content.js +0 -11
  198. package/lib/drawer/Drawer.d.ts +0 -4
  199. package/lib/drawer/Drawer.js +0 -72
  200. package/lib/drawer/Drawer.spec.d.ts +0 -1
  201. package/lib/drawer/Header.d.ts +0 -3
  202. package/lib/drawer/Header.js +0 -43
  203. package/lib/drawer/helpers.d.ts +0 -4
  204. package/lib/drawer/helpers.js +0 -5
  205. package/lib/drawer/index.d.ts +0 -5
  206. package/lib/drawer/index.js +0 -10
  207. package/lib/drawer/types.d.ts +0 -37
  208. package/lib/dropdown/Popup.d.ts +0 -3
  209. package/lib/dropdown/Popup.js +0 -49
  210. package/lib/dropdown/dropdown.spec.d.ts +0 -1
  211. package/lib/dropdown/helper.d.ts +0 -2
  212. package/lib/dropdown/helper.js +0 -8
  213. package/lib/dropdown/types.d.ts +0 -45
  214. package/lib/dropdown/withDropdown.d.ts +0 -9
  215. package/lib/dropdown/withDropdown.js +0 -55
  216. package/lib/fieldset/fieldset.spec.d.ts +0 -1
  217. package/lib/fieldset/index.d.ts +0 -3
  218. package/lib/fieldset/index.js +0 -51
  219. package/lib/fieldset/types.d.ts +0 -27
  220. package/lib/form/Field.d.ts +0 -2
  221. package/lib/form/Field.js +0 -72
  222. package/lib/form/FieldArray.d.ts +0 -2
  223. package/lib/form/FieldArray.js +0 -89
  224. package/lib/form/FieldNumber.d.ts +0 -2
  225. package/lib/form/FieldNumber.js +0 -44
  226. package/lib/form/FieldPeriod.d.ts +0 -2
  227. package/lib/form/FieldPeriod.js +0 -64
  228. package/lib/form/form.spec.d.ts +0 -0
  229. package/lib/form/helpers.d.ts +0 -8
  230. package/lib/form/helpers.js +0 -25
  231. package/lib/form/index.d.ts +0 -8
  232. package/lib/form/index.js +0 -162
  233. package/lib/form/types.d.ts +0 -233
  234. package/lib/form/withFieldHOC.d.ts +0 -4
  235. package/lib/form/withFieldHOC.js +0 -53
  236. package/lib/form/withFormSecurity.d.ts +0 -6
  237. package/lib/form/withFormSecurity.js +0 -33
  238. package/lib/gridlayout/GridCol.d.ts +0 -3
  239. package/lib/gridlayout/GridCol.js +0 -26
  240. package/lib/gridlayout/GridRow.d.ts +0 -3
  241. package/lib/gridlayout/GridRow.js +0 -24
  242. package/lib/gridlayout/gridLayout.spec.d.ts +0 -1
  243. package/lib/gridlayout/index.d.ts +0 -4
  244. package/lib/gridlayout/index.js +0 -6
  245. package/lib/gridlayout/types.d.ts +0 -17
  246. package/lib/hint/helpers.d.ts +0 -1
  247. package/lib/hint/helpers.js +0 -8
  248. package/lib/hint/hint.spec.d.ts +0 -1
  249. package/lib/hint/index.d.ts +0 -3
  250. package/lib/hint/index.js +0 -28
  251. package/lib/hint/types.d.ts +0 -11
  252. package/lib/icons/helper.d.ts +0 -635
  253. package/lib/icons/helper.js +0 -1064
  254. package/lib/icons/icons.spec.d.ts +0 -1
  255. package/lib/icons/index.d.ts +0 -6
  256. package/lib/icons/index.js +0 -58
  257. package/lib/icons/types.d.ts +0 -46
  258. package/lib/index.d.ts +0 -10
  259. package/lib/index.js +0 -27
  260. package/lib/inputs/base/InputTextBase.d.ts +0 -3
  261. package/lib/inputs/base/InputTextBase.js +0 -267
  262. package/lib/inputs/base/Label.d.ts +0 -6
  263. package/lib/inputs/base/Label.js +0 -32
  264. package/lib/inputs/base/base.spec.d.ts +0 -1
  265. package/lib/inputs/base/helpers.d.ts +0 -10
  266. package/lib/inputs/base/helpers.js +0 -28
  267. package/lib/inputs/base/types.d.ts +0 -98
  268. package/lib/inputs/color/color_input.spec.d.ts +0 -0
  269. package/lib/inputs/color/index.d.ts +0 -3
  270. package/lib/inputs/color/index.js +0 -78
  271. package/lib/inputs/color/types.d.ts +0 -16
  272. package/lib/inputs/date/Dialog.d.ts +0 -3
  273. package/lib/inputs/date/Dialog.js +0 -18
  274. package/lib/inputs/date/Dropdown.d.ts +0 -3
  275. package/lib/inputs/date/Dropdown.js +0 -13
  276. package/lib/inputs/date/date.spec.d.ts +0 -1
  277. package/lib/inputs/date/helpers.d.ts +0 -5
  278. package/lib/inputs/date/helpers.js +0 -10
  279. package/lib/inputs/date/index.d.ts +0 -3
  280. package/lib/inputs/date/index.js +0 -170
  281. package/lib/inputs/date/types.d.ts +0 -56
  282. package/lib/inputs/errorMessage/error.spec.d.ts +0 -1
  283. package/lib/inputs/errorMessage/index.d.ts +0 -4
  284. package/lib/inputs/errorMessage/index.js +0 -16
  285. package/lib/inputs/file/DefaultFile.d.ts +0 -3
  286. package/lib/inputs/file/DefaultFile.js +0 -70
  287. package/lib/inputs/file/DragDropFile.d.ts +0 -3
  288. package/lib/inputs/file/DragDropFile.js +0 -189
  289. package/lib/inputs/file/File.d.ts +0 -3
  290. package/lib/inputs/file/File.js +0 -45
  291. package/lib/inputs/file/FileButtonSettings.d.ts +0 -3
  292. package/lib/inputs/file/FileButtonSettings.js +0 -21
  293. package/lib/inputs/file/filefield.spec.d.ts +0 -1
  294. package/lib/inputs/file/helpers.d.ts +0 -2
  295. package/lib/inputs/file/helpers.js +0 -11
  296. package/lib/inputs/file/index.d.ts +0 -5
  297. package/lib/inputs/file/index.js +0 -8
  298. package/lib/inputs/file/types.d.ts +0 -49
  299. package/lib/inputs/inputHOC.d.ts +0 -4
  300. package/lib/inputs/inputHOC.js +0 -24
  301. package/lib/inputs/mask/BaseMask.d.ts +0 -3
  302. package/lib/inputs/mask/BaseMask.js +0 -2651
  303. package/lib/inputs/mask/Cnpj.d.ts +0 -6
  304. package/lib/inputs/mask/Cnpj.js +0 -40
  305. package/lib/inputs/mask/Cpf.d.ts +0 -6
  306. package/lib/inputs/mask/Cpf.js +0 -36
  307. package/lib/inputs/mask/Phone.d.ts +0 -3
  308. package/lib/inputs/mask/Phone.js +0 -9
  309. package/lib/inputs/mask/ZipCode.d.ts +0 -3
  310. package/lib/inputs/mask/ZipCode.js +0 -6
  311. package/lib/inputs/mask/helpers.d.ts +0 -52
  312. package/lib/inputs/mask/helpers.js +0 -63
  313. package/lib/inputs/mask/index.d.ts +0 -7
  314. package/lib/inputs/mask/index.js +0 -12
  315. package/lib/inputs/mask/input_mask.spec.d.ts +0 -0
  316. package/lib/inputs/mask/types.d.ts +0 -73
  317. package/lib/inputs/multiSelect/ActionButtons.d.ts +0 -3
  318. package/lib/inputs/multiSelect/ActionButtons.js +0 -50
  319. package/lib/inputs/multiSelect/Dropdown.d.ts +0 -3
  320. package/lib/inputs/multiSelect/Dropdown.js +0 -136
  321. package/lib/inputs/multiSelect/helper.d.ts +0 -3
  322. package/lib/inputs/multiSelect/helper.js +0 -8
  323. package/lib/inputs/multiSelect/index.d.ts +0 -3
  324. package/lib/inputs/multiSelect/index.js +0 -138
  325. package/lib/inputs/multiSelect/multiSelect.spec.d.ts +0 -1
  326. package/lib/inputs/multiSelect/types.d.ts +0 -57
  327. package/lib/inputs/number/BaseNumber.d.ts +0 -3
  328. package/lib/inputs/number/BaseNumber.js +0 -47
  329. package/lib/inputs/number/Currency.d.ts +0 -3
  330. package/lib/inputs/number/Currency.js +0 -15
  331. package/lib/inputs/number/Decimal.d.ts +0 -3
  332. package/lib/inputs/number/Decimal.js +0 -6
  333. package/lib/inputs/number/format_number.d.ts +0 -3
  334. package/lib/inputs/number/format_number.js +0 -9
  335. package/lib/inputs/number/index.d.ts +0 -6
  336. package/lib/inputs/number/index.js +0 -38
  337. package/lib/inputs/number/numberfield.spec.d.ts +0 -1
  338. package/lib/inputs/number/types.d.ts +0 -28
  339. package/lib/inputs/period/Dialog.d.ts +0 -3
  340. package/lib/inputs/period/Dialog.js +0 -18
  341. package/lib/inputs/period/Dropdown.d.ts +0 -3
  342. package/lib/inputs/period/Dropdown.js +0 -13
  343. package/lib/inputs/period/PeriodList.d.ts +0 -3
  344. package/lib/inputs/period/PeriodList.js +0 -29
  345. package/lib/inputs/period/helper.d.ts +0 -11
  346. package/lib/inputs/period/helper.js +0 -35
  347. package/lib/inputs/period/index.d.ts +0 -3
  348. package/lib/inputs/period/index.js +0 -335
  349. package/lib/inputs/period/types.d.ts +0 -69
  350. package/lib/inputs/search/index.d.ts +0 -3
  351. package/lib/inputs/search/index.js +0 -80
  352. package/lib/inputs/search/search_input.spec.d.ts +0 -1
  353. package/lib/inputs/select/ActionButtons.d.ts +0 -3
  354. package/lib/inputs/select/ActionButtons.js +0 -49
  355. package/lib/inputs/select/Dropdown.d.ts +0 -3
  356. package/lib/inputs/select/Dropdown.js +0 -119
  357. package/lib/inputs/select/helper.d.ts +0 -11
  358. package/lib/inputs/select/helper.js +0 -44
  359. package/lib/inputs/select/index.d.ts +0 -3
  360. package/lib/inputs/select/index.js +0 -29
  361. package/lib/inputs/select/multiple/Selecteds.d.ts +0 -3
  362. package/lib/inputs/select/multiple/Selecteds.js +0 -21
  363. package/lib/inputs/select/multiple/index.d.ts +0 -3
  364. package/lib/inputs/select/multiple/index.js +0 -192
  365. package/lib/inputs/select/select.spec.d.ts +0 -1
  366. package/lib/inputs/select/simple/index.d.ts +0 -3
  367. package/lib/inputs/select/simple/index.js +0 -219
  368. package/lib/inputs/select/types.d.ts +0 -117
  369. package/lib/inputs/text/index.d.ts +0 -3
  370. package/lib/inputs/text/index.js +0 -6
  371. package/lib/inputs/text/textfield.spec.d.ts +0 -1
  372. package/lib/inputs/text/types.d.ts +0 -21
  373. package/lib/inputs/textarea/index.d.ts +0 -3
  374. package/lib/inputs/textarea/index.js +0 -18
  375. package/lib/inputs/textarea/textarea.spec.d.ts +0 -1
  376. package/lib/inputs/textarea/types.d.ts +0 -7
  377. package/lib/inputs/types.d.ts +0 -151
  378. package/lib/internals/colorStyles.d.ts +0 -8
  379. package/lib/internals/colorStyles.js +0 -10
  380. package/lib/internals/constants.d.ts +0 -9
  381. package/lib/internals/constants.js +0 -12
  382. package/lib/internals/types.d.ts +0 -22
  383. package/lib/internals/withTooltip.d.ts +0 -8
  384. package/lib/internals/withTooltip.js +0 -75
  385. package/lib/labelMessages/index.d.ts +0 -3
  386. package/lib/labelMessages/index.js +0 -48
  387. package/lib/labelMessages/labelMessages.spec.d.ts +0 -1
  388. package/lib/labelMessages/types.d.ts +0 -16
  389. package/lib/labels/DangerLabel.d.ts +0 -3
  390. package/lib/labels/DangerLabel.js +0 -6
  391. package/lib/labels/DefaultLabel.d.ts +0 -6
  392. package/lib/labels/DefaultLabel.js +0 -41
  393. package/lib/labels/InfoLabel.d.ts +0 -3
  394. package/lib/labels/InfoLabel.js +0 -6
  395. package/lib/labels/PrimaryLabel.d.ts +0 -3
  396. package/lib/labels/PrimaryLabel.js +0 -6
  397. package/lib/labels/SuccessLabel.d.ts +0 -3
  398. package/lib/labels/SuccessLabel.js +0 -6
  399. package/lib/labels/WarningLabel.d.ts +0 -3
  400. package/lib/labels/WarningLabel.js +0 -6
  401. package/lib/labels/index.d.ts +0 -9
  402. package/lib/labels/index.js +0 -17
  403. package/lib/labels/label.spec.d.ts +0 -1
  404. package/lib/labels/label_container/index.d.ts +0 -10
  405. package/lib/labels/label_container/index.js +0 -12
  406. package/lib/labels/types.d.ts +0 -22
  407. package/lib/list/Header.d.ts +0 -3
  408. package/lib/list/Header.js +0 -8
  409. package/lib/list/Item.d.ts +0 -6
  410. package/lib/list/Item.js +0 -13
  411. package/lib/list/Separator.d.ts +0 -2
  412. package/lib/list/Separator.js +0 -5
  413. package/lib/list/helpers.d.ts +0 -9
  414. package/lib/list/helpers.js +0 -10
  415. package/lib/list/index.d.ts +0 -7
  416. package/lib/list/index.js +0 -101
  417. package/lib/list/list.spec.d.ts +0 -1
  418. package/lib/list/types.d.ts +0 -69
  419. package/lib/menus/float/MenuItem.d.ts +0 -3
  420. package/lib/menus/float/MenuItem.js +0 -58
  421. package/lib/menus/float/SubMenuContainer.d.ts +0 -29
  422. package/lib/menus/float/float-menu.spec.d.ts +0 -0
  423. package/lib/menus/float/helpers.d.ts +0 -4
  424. package/lib/menus/float/helpers.js +0 -5
  425. package/lib/menus/float/index.d.ts +0 -6
  426. package/lib/menus/float/index.js +0 -92
  427. package/lib/menus/float/types.d.ts +0 -26
  428. package/lib/menus/index.d.ts +0 -2
  429. package/lib/menus/index.js +0 -4
  430. package/lib/menus/sidenav/ExpandMenu.d.ts +0 -3
  431. package/lib/menus/sidenav/ExpandMenu.js +0 -17
  432. package/lib/menus/sidenav/MenuLink.d.ts +0 -6
  433. package/lib/menus/sidenav/MenuLink.js +0 -17
  434. package/lib/menus/sidenav/NavMenuGroup.d.ts +0 -3
  435. package/lib/menus/sidenav/NavMenuGroup.js +0 -17
  436. package/lib/menus/sidenav/NavMenuItem.d.ts +0 -6
  437. package/lib/menus/sidenav/NavMenuItem.js +0 -114
  438. package/lib/menus/sidenav/NavSubMenuItem.d.ts +0 -3
  439. package/lib/menus/sidenav/NavSubMenuItem.js +0 -23
  440. package/lib/menus/sidenav/helpers.d.ts +0 -6
  441. package/lib/menus/sidenav/helpers.js +0 -10
  442. package/lib/menus/sidenav/index.d.ts +0 -8
  443. package/lib/menus/sidenav/index.js +0 -128
  444. package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +0 -3
  445. package/lib/menus/sidenav/popup_menu_search/EmptyList.js +0 -19
  446. package/lib/menus/sidenav/popup_menu_search/index.d.ts +0 -4
  447. package/lib/menus/sidenav/popup_menu_search/index.js +0 -90
  448. package/lib/menus/sidenav/sidenav.spec.d.ts +0 -1
  449. package/lib/menus/sidenav/types.d.ts +0 -85
  450. package/lib/noPermission/index.d.ts +0 -2
  451. package/lib/noPermission/index.js +0 -11
  452. package/lib/panel/Content.d.ts +0 -3
  453. package/lib/panel/Content.js +0 -45
  454. package/lib/panel/DangerPanel.d.ts +0 -3
  455. package/lib/panel/DangerPanel.js +0 -7
  456. package/lib/panel/Default.d.ts +0 -3
  457. package/lib/panel/Default.js +0 -42
  458. package/lib/panel/Header.d.ts +0 -3
  459. package/lib/panel/Header.js +0 -42
  460. package/lib/panel/InfoPanel.d.ts +0 -3
  461. package/lib/panel/InfoPanel.js +0 -7
  462. package/lib/panel/PrimaryPanel.d.ts +0 -3
  463. package/lib/panel/PrimaryPanel.js +0 -7
  464. package/lib/panel/SuccessPanel.d.ts +0 -3
  465. package/lib/panel/SuccessPanel.js +0 -7
  466. package/lib/panel/ToolBar.d.ts +0 -3
  467. package/lib/panel/ToolBar.js +0 -6
  468. package/lib/panel/WarningPanel.d.ts +0 -3
  469. package/lib/panel/WarningPanel.js +0 -7
  470. package/lib/panel/helpers.d.ts +0 -5
  471. package/lib/panel/helpers.js +0 -12
  472. package/lib/panel/index.d.ts +0 -10
  473. package/lib/panel/index.js +0 -19
  474. package/lib/panel/panel.spec.d.ts +0 -0
  475. package/lib/panel/types.d.ts +0 -43
  476. package/lib/permissionValidations.d.ts +0 -12
  477. package/lib/permissionValidations.js +0 -42
  478. package/lib/popover/PopoverText.d.ts +0 -4
  479. package/lib/popover/PopoverText.js +0 -7
  480. package/lib/popover/PopoverTitle.d.ts +0 -3
  481. package/lib/popover/PopoverTitle.js +0 -5
  482. package/lib/popover/index.d.ts +0 -6
  483. package/lib/popover/index.js +0 -59
  484. package/lib/popover/popover.spec.d.ts +0 -1
  485. package/lib/popover/types.d.ts +0 -31
  486. package/lib/progress/Bar.d.ts +0 -3
  487. package/lib/progress/Bar.js +0 -42
  488. package/lib/progress/index.d.ts +0 -5
  489. package/lib/progress/index.js +0 -21
  490. package/lib/progress/progress.spec.d.ts +0 -1
  491. package/lib/progress/types.d.ts +0 -34
  492. package/lib/radio/index.d.ts +0 -8
  493. package/lib/radio/index.js +0 -96
  494. package/lib/radio/radio.spec.d.ts +0 -1
  495. package/lib/radio/types.d.ts +0 -25
  496. package/lib/shortcuts/index.d.ts +0 -3
  497. package/lib/shortcuts/index.js +0 -9
  498. package/lib/shortcuts/shortcuts.spec.d.ts +0 -0
  499. package/lib/shortcuts/types.d.ts +0 -9
  500. package/lib/skeleton/SkeletonContainer.d.ts +0 -3
  501. package/lib/skeleton/SkeletonContainer.js +0 -9
  502. package/lib/skeleton/index.d.ts +0 -5
  503. package/lib/skeleton/index.js +0 -25
  504. package/lib/skeleton/types.d.ts +0 -18
  505. package/lib/spinner/SpinnerLoading.d.ts +0 -3
  506. package/lib/spinner/SpinnerLoading.js +0 -18
  507. package/lib/spinner/index.d.ts +0 -3
  508. package/lib/spinner/index.js +0 -41
  509. package/lib/spinner/spinner.spec.d.ts +0 -1
  510. package/lib/spinner/types.d.ts +0 -17
  511. package/lib/split/Split.d.ts +0 -3
  512. package/lib/split/Split.js +0 -189
  513. package/lib/split/SplitSide.d.ts +0 -3
  514. package/lib/split/SplitSide.js +0 -19
  515. package/lib/split/helpers.d.ts +0 -8
  516. package/lib/split/helpers.js +0 -5
  517. package/lib/split/index.d.ts +0 -4
  518. package/lib/split/index.js +0 -6
  519. package/lib/split/split.spec.d.ts +0 -0
  520. package/lib/split/types.d.ts +0 -31
  521. package/lib/table/Body.d.ts +0 -3
  522. package/lib/table/Body.js +0 -59
  523. package/lib/table/Header.d.ts +0 -3
  524. package/lib/table/Header.js +0 -39
  525. package/lib/table/HeaderColumn.d.ts +0 -3
  526. package/lib/table/HeaderColumn.js +0 -30
  527. package/lib/table/Row.d.ts +0 -3
  528. package/lib/table/Row.js +0 -54
  529. package/lib/table/RowColumn.d.ts +0 -3
  530. package/lib/table/RowColumn.js +0 -46
  531. package/lib/table/helpers.d.ts +0 -7
  532. package/lib/table/helpers.js +0 -7
  533. package/lib/table/index.d.ts +0 -9
  534. package/lib/table/index.js +0 -109
  535. package/lib/table/table.spec.d.ts +0 -1
  536. package/lib/table/types.d.ts +0 -94
  537. package/lib/tabs/DropdownTabs.d.ts +0 -3
  538. package/lib/tabs/DropdownTabs.js +0 -81
  539. package/lib/tabs/Menu.d.ts +0 -3
  540. package/lib/tabs/Menu.js +0 -52
  541. package/lib/tabs/MenuTabs.d.ts +0 -4
  542. package/lib/tabs/MenuTabs.js +0 -89
  543. package/lib/tabs/Panel.d.ts +0 -3
  544. package/lib/tabs/Panel.js +0 -51
  545. package/lib/tabs/context.d.ts +0 -4
  546. package/lib/tabs/context.js +0 -64
  547. package/lib/tabs/index.d.ts +0 -5
  548. package/lib/tabs/index.js +0 -68
  549. package/lib/tabs/tabHelpers.d.ts +0 -9
  550. package/lib/tabs/tabHelpers.js +0 -46
  551. package/lib/tabs/tabs.spec.d.ts +0 -0
  552. package/lib/tabs/types.d.ts +0 -95
  553. package/lib/tabs/useTabs.d.ts +0 -1
  554. package/lib/tabs/useTabs.js +0 -8
  555. package/lib/textContent/index.d.ts +0 -18
  556. package/lib/textContent/index.js +0 -35
  557. package/lib/textContent/textContent.spec.d.ts +0 -1
  558. package/lib/toolbar/ButtonBar.d.ts +0 -3
  559. package/lib/toolbar/ButtonBar.js +0 -63
  560. package/lib/toolbar/LabelBar.d.ts +0 -3
  561. package/lib/toolbar/LabelBar.js +0 -43
  562. package/lib/toolbar/Separator.d.ts +0 -2
  563. package/lib/toolbar/Separator.js +0 -5
  564. package/lib/toolbar/ToolBarGroup.d.ts +0 -3
  565. package/lib/toolbar/ToolBarGroup.js +0 -5
  566. package/lib/toolbar/helpers.d.ts +0 -3
  567. package/lib/toolbar/helpers.js +0 -5
  568. package/lib/toolbar/index.d.ts +0 -8
  569. package/lib/toolbar/index.js +0 -33
  570. package/lib/toolbar/toolbar.spec.d.ts +0 -1
  571. package/lib/toolbar/types.d.ts +0 -43
  572. package/lib/tooltip/index.d.ts +0 -4
  573. package/lib/tooltip/index.js +0 -39
  574. package/lib/tooltip/tooltip.spec.d.ts +0 -1
  575. package/lib/tooltip/types.d.ts +0 -15
  576. package/lib/treetable/Body.d.ts +0 -2
  577. package/lib/treetable/Body.js +0 -35
  578. package/lib/treetable/Header.d.ts +0 -2
  579. package/lib/treetable/Header.js +0 -26
  580. package/lib/treetable/Row.d.ts +0 -3
  581. package/lib/treetable/Row.js +0 -157
  582. package/lib/treetable/helpers.d.ts +0 -13
  583. package/lib/treetable/helpers.js +0 -25
  584. package/lib/treetable/index.d.ts +0 -4
  585. package/lib/treetable/index.js +0 -18
  586. package/lib/treeview/Header.d.ts +0 -3
  587. package/lib/treeview/Header.js +0 -8
  588. package/lib/treeview/Node.d.ts +0 -3
  589. package/lib/treeview/Node.js +0 -183
  590. package/lib/treeview/constants.d.ts +0 -3
  591. package/lib/treeview/constants.js +0 -5
  592. package/lib/treeview/index.d.ts +0 -6
  593. package/lib/treeview/index.js +0 -185
  594. package/lib/treeview/treeview.spec.d.ts +0 -0
  595. package/lib/treeview/types.d.ts +0 -106
  596. package/lib/uitour/helpers.d.ts +0 -7
  597. package/lib/uitour/helpers.js +0 -9
  598. package/lib/uitour/index.d.ts +0 -4
  599. package/lib/uitour/index.js +0 -186
  600. package/lib/uitour/types.d.ts +0 -35
  601. package/lib/uitour/uitour.spec.d.ts +0 -0
@@ -1,3 +0,0 @@
1
- import { ITextAreaProps } from './types';
2
- declare const TextArea: (props: ITextAreaProps) => import("react/jsx-runtime").JSX.Element;
3
- export default TextArea;
@@ -1,18 +0,0 @@
1
- import { j as r } from "../../chunks/jsx-runtime.C7wFtzyj.js";
2
- import x from "../base/InputTextBase.js";
3
- const c = (t) => {
4
- const { rows: s, cols: e, customClass: a, type: o = "textarea" } = t;
5
- return /* @__PURE__ */ r.jsx(
6
- x,
7
- {
8
- ...t,
9
- rows: s,
10
- type: o,
11
- cols: e,
12
- customClass: `textarea-container ${a}`
13
- }
14
- );
15
- };
16
- export {
17
- c as default
18
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { IBaseProps } from '../base/types';
2
- export interface ITextAreaProps extends IBaseProps {
3
- rows?: number;
4
- cols?: number;
5
- customClass?: string;
6
- type?: string;
7
- }
@@ -1,151 +0,0 @@
1
- import { CSSProperties, JSX, KeyboardEvent, MouseEvent, MutableRefObject, ReactElement, ReactNode } from 'react';
2
- import { OnDenied, PermissionAttr } from '../@types/PermissionAttr';
3
- import { DataCombo } from '../@types/DataCombo';
4
- import { CustomInputEvent, IBaseProps } from './base/types';
5
- import { IDrawerProps } from '../drawer/types';
6
- import { TextAlign } from '../@types/Align';
7
- type DescriptionKey = string | ((dataSelected: DataCombo) => string);
8
- export interface IAdvancedFilterProps extends Omit<IDrawerProps, 'content'> {
9
- onStateChange?: (value?: boolean) => void;
10
- headerTitle?: string;
11
- content?: ReactNode | ReactNode[];
12
- }
13
- export interface ISearchProps extends IBaseProps {
14
- resetButton?: boolean;
15
- onReset?: (event?: CustomInputEvent) => void;
16
- onChange?: (event?: CustomInputEvent) => void;
17
- onClick?: (event: MouseEvent<Element>) => void;
18
- textAlign?: TextAlign;
19
- disabled?: boolean;
20
- readOnly?: boolean;
21
- value?: string;
22
- placeHolder?: string;
23
- permissionAttr?: PermissionAttr;
24
- advancedFilterProps?: IAdvancedFilterProps;
25
- rounded?: boolean;
26
- inputRef?: MutableRefObject<HTMLInputElement | HTMLTextAreaElement | null>;
27
- style?: CSSProperties;
28
- }
29
- export interface IDropdownProps {
30
- children: ReactNode | ReactNode[];
31
- dropdownRef: (el: HTMLDivElement) => void;
32
- topPosition: number | string;
33
- leftPosition: number | string;
34
- width: number | string;
35
- }
36
- export interface IInputHOCProps {
37
- value?: string | string[];
38
- required?: boolean;
39
- gridLayout?: string;
40
- visible?: boolean;
41
- rows?: number;
42
- cols?: number;
43
- type?: string;
44
- }
45
- export interface IMaskHOCProps {
46
- label?: string;
47
- value?: string;
48
- unmask?: boolean;
49
- name?: string;
50
- commit?: () => void;
51
- onChange?: (event: CustomInputEvent, maskValue?: string, date?: string) => void;
52
- onFocus?: (e: CustomInputEvent) => void;
53
- onComplete?: (e: CustomInputEvent, maskValue?: string, date?: string) => void;
54
- inputRef?: MutableRefObject<HTMLInputElement | HTMLTextAreaElement | null> | ((ref: HTMLInputElement | HTMLTextAreaElement | null) => void);
55
- placeholderChar?: string;
56
- lazy?: boolean;
57
- definitions?: any;
58
- groups?: object;
59
- pattern?: string;
60
- format?: () => void;
61
- parse?: () => void;
62
- radix?: string;
63
- thousandsSeparator?: string;
64
- mapToRadix?: string[];
65
- scale?: number;
66
- signed?: boolean;
67
- normalizeZeros?: boolean;
68
- padFractionalZeros?: boolean;
69
- min?: number;
70
- max?: number;
71
- dispatch?: () => void;
72
- permissionAttr?: PermissionAttr;
73
- handlerSetOnDenied?: (onDeniedValue: OnDenied) => void;
74
- isNumeric?: boolean;
75
- required?: boolean;
76
- onKeyDown?: (e: CustomInputEvent | KeyboardEvent<Element>) => void;
77
- rightElements?: JSX.Element | JSX.Element[];
78
- labelUppercase?: boolean;
79
- readOnly?: boolean;
80
- disabled?: boolean;
81
- gridLayout?: string;
82
- placeHolder?: string;
83
- customClass?: string;
84
- customClassForInputContent?: string;
85
- customClassForLabel?: string;
86
- textAlign?: TextAlign;
87
- onBlur?: (e: CustomInputEvent) => void;
88
- leftElements?: JSX.Element | JSX.Element[];
89
- rounded?: boolean;
90
- errorMessages?: string[];
91
- skeletonize?: boolean;
92
- mask?: any;
93
- isDateField?: boolean;
94
- autoCompleteMask?: 'left' | 'right';
95
- }
96
- export interface IDropdownSelectProps {
97
- idKey: string;
98
- descriptionKey: DescriptionKey;
99
- dropdownWidth: number;
100
- showClearButton?: boolean;
101
- handleOnSelect: (item?: DataCombo) => void;
102
- handleOnFilter: (value: string) => void;
103
- handleOnKeydown: (e: CustomInputEvent | KeyboardEvent) => void;
104
- handleOnBlur: (item: DataCombo) => void;
105
- handleOnFocus: () => void;
106
- handlerSelecionadoAgora?: (bool: boolean) => void;
107
- opened: boolean;
108
- dropdownRef: MutableRefObject<HTMLDivElement | null>;
109
- dataCombo: DataCombo[];
110
- searchOnDropdown?: boolean;
111
- searchNotFoundText?: string;
112
- imgSrcKey?: string;
113
- selected?: {
114
- [key: string]: number;
115
- };
116
- currents?: DataCombo[];
117
- imageAlign?: 'left' | 'right';
118
- striped?: boolean;
119
- gridWrapperStyle?: {
120
- paddingLeft: string;
121
- paddingRight: string;
122
- };
123
- selectFieldRef?: MutableRefObject<HTMLInputElement | null>;
124
- dropdownMaxHeight?: number;
125
- inputValue?: string;
126
- align?: 'left' | 'right';
127
- }
128
- export interface IActionButtonsSelectProps {
129
- handlerClear: () => void;
130
- handlerOpenClose: () => void;
131
- dropDownOpened: boolean;
132
- showClearButton?: boolean;
133
- disabled?: boolean;
134
- customClassForSideButtons?: string;
135
- }
136
- export interface IButtonsProps {
137
- onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
138
- icon: ReactElement;
139
- key: string;
140
- boxShadow: boolean;
141
- readOnly?: boolean;
142
- style: CSSProperties;
143
- transparent: boolean;
144
- disabled?: boolean;
145
- }
146
- export interface ErrorProps {
147
- customClass?: string;
148
- style?: React.CSSProperties;
149
- messages?: string | string[];
150
- }
151
- export {};
@@ -1,8 +0,0 @@
1
- declare const ColorStyles: {
2
- PRIMARY: string;
3
- SUCCESS: string;
4
- DANGER: string;
5
- INFO: string;
6
- WARNING: string;
7
- };
8
- export default ColorStyles;
@@ -1,10 +0,0 @@
1
- const r = {
2
- PRIMARY: "primary",
3
- SUCCESS: "success",
4
- DANGER: "danger",
5
- INFO: "info",
6
- WARNING: "warning"
7
- };
8
- export {
9
- r as default
10
- };
@@ -1,9 +0,0 @@
1
- export declare const keyCodes: {
2
- TAB: number;
3
- ENTER: number;
4
- ARROW_UP: number;
5
- ARROW_DOWN: number;
6
- BACKSPACE: number;
7
- F: number;
8
- };
9
- export declare const PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE = 1;
@@ -1,12 +0,0 @@
1
- const A = {
2
- TAB: 9,
3
- ENTER: 13,
4
- ARROW_UP: 38,
5
- ARROW_DOWN: 40,
6
- BACKSPACE: 8,
7
- F: 70
8
- }, _ = 1;
9
- export {
10
- _ as PARA_ENGANAR_O_ESLINT_JA_QUE_TENHO_SO_UMA_CONSTANTE,
11
- A as keyCodes
12
- };
@@ -1,22 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { OnDenied } from '../@types/PermissionAttr';
3
- import { Position } from '../@types/Position';
4
- export interface WithTooltipProps {
5
- tooltipWidth?: string | number;
6
- space?: number;
7
- tooltip?: string;
8
- tooltipPosition?: Exclude<Position, 'center'>;
9
- style?: CSSProperties;
10
- handlerSetOnDeniedText?: (onDeniedValue: OnDenied) => void;
11
- errorMessage?: string;
12
- }
13
- export interface ITooltipContext {
14
- handlerSetOnDeniedText: (text: string) => void;
15
- }
16
- export interface GetDisplayNameParams {
17
- displayName?: string;
18
- name?: string;
19
- }
20
- export interface HasToolTipParams {
21
- tooltip?: string;
22
- }
@@ -1,8 +0,0 @@
1
- import { default as React } from 'react';
2
- import { WithTooltipProps, ITooltipContext } from './types';
3
- export declare const TooltipContext: React.Context<ITooltipContext>;
4
- declare const withTooltip: <ComponentProps extends WithTooltipProps>(WrappedComponent: React.ComponentType<ComponentProps>) => {
5
- (props: ComponentProps): import("react/jsx-runtime").JSX.Element;
6
- displayName: string;
7
- };
8
- export default withTooltip;
@@ -1,75 +0,0 @@
1
- import { j as d } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
- import H, { useState as f, useRef as O, useEffect as v } from "react";
3
- import A from "../tooltip/index.js";
4
- const V = 40, E = ({ tooltip: n }) => n, P = H.createContext({}), _ = ({ displayName: n, name: h }) => n || h || "Component", q = (n) => {
5
- const h = (s) => {
6
- const {
7
- tooltip: m,
8
- tooltipWidth: R = "auto",
9
- space: b = 20,
10
- tooltipPosition: $ = "bottom",
11
- errorMessage: p
12
- } = s, [w, r] = f($), [l, C] = f(""), [I, M] = f(""), [W, c] = f(!1), [x, Y] = f({
13
- width: R,
14
- height: V
15
- }), e = O(null), g = O(null), y = (i) => {
16
- e.current && e.current.contains(i.target) ? c(!0) : c(!1);
17
- }, D = () => {
18
- c(!1);
19
- }, L = () => {
20
- c(!1);
21
- };
22
- v(() => ((E(s) || l) && (p ? c(!0) : (c(!1), document.addEventListener("mouseover", y), document.addEventListener("scroll", L, !0), e && e.current && e.current.addEventListener("mouseout", D))), () => {
23
- (E(s) || l) && (document.removeEventListener("mouseover", y), document.removeEventListener("scroll", L, !0), e && e.current && e.current.removeEventListener("mouseout", D));
24
- }), [p, m, l]), v(() => {
25
- if (e.current && g.current) {
26
- const { width: i, height: u } = x, t = e.current.getBoundingClientRect(), j = (t.top + t.bottom) / 2, a = g.current.clientWidth;
27
- let o = `width: ${typeof i == "string" ? i : `${i}px`}`, T = t.left + t.width / 2 - a / 2;
28
- switch (T = Math.min(T, document.body.clientWidth - a - b), o += `; left: ${Math.max(b, T)}px`, w) {
29
- case "top":
30
- t.top < u ? r("bottom") : o += `; top: ${t.top + window.scrollY - u - 5}px`;
31
- break;
32
- case "bottom":
33
- window.innerHeight - t.bottom < u ? r("top") : o += `; top: ${t.top + window.scrollY + t.height + 5}px`;
34
- break;
35
- case "left":
36
- t.left < a ? window.innerWidth - t.right < a ? r("bottom") : r("right") : (o += `; top: ${j + window.scrollY - u / 2}px`, o += `; left: ${t.left - a - 6}px`);
37
- break;
38
- case "right":
39
- window.innerWidth - t.right < a ? r("left") : (o += `; top: ${j + window.scrollY - u / 2}px`, o += `; left: ${t.left + t.width + 5}px`);
40
- break;
41
- default:
42
- o += "";
43
- }
44
- M(o);
45
- }
46
- }, [x, w]), v(() => {
47
- r($);
48
- }, [window.scrollY, window.scrollX, window.innerWidth]);
49
- const k = () => m || l ? /* @__PURE__ */ d.jsx(
50
- A,
51
- {
52
- text: l || m,
53
- textError: p,
54
- tooltipRef: g,
55
- style: I,
56
- className: w,
57
- tooltipDimensions: x,
58
- handlerSetDimensions: Y
59
- }
60
- ) : null, N = (i) => {
61
- e.current || (e.current = i);
62
- }, S = {
63
- handlerSetOnDeniedText: C
64
- };
65
- return !E(s) && !l ? /* @__PURE__ */ d.jsx(P.Provider, { value: S, children: /* @__PURE__ */ d.jsx(n, { ...s }) }) : /* @__PURE__ */ d.jsxs(P.Provider, { value: S, children: [
66
- /* @__PURE__ */ d.jsx(n, { ...s, targetRef: N }),
67
- W && k()
68
- ] });
69
- };
70
- return h.displayName = `withTooltip(${_(n)})`, h;
71
- };
72
- export {
73
- P as TooltipContext,
74
- q as default
75
- };
@@ -1,3 +0,0 @@
1
- import { ILabelMessagesProps } from './types';
2
- declare const LabelMessages: ({ style, icon, flat, iconName, handlerClosed, square, visible, children, customClass, type, showCloseButton }: ILabelMessagesProps) => import("react/jsx-runtime").JSX.Element | null;
3
- export default LabelMessages;
@@ -1,48 +0,0 @@
1
- import { j as e } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
- import { useState as j, Fragment as p } from "react";
3
- import $ from "../icons/index.js";
4
- import '../assets/index14.css';const C = ({
5
- style: n = {},
6
- icon: s = null,
7
- flat: o = !1,
8
- iconName: l,
9
- handlerClosed: t,
10
- square: f = !0,
11
- visible: m = !0,
12
- children: i = null,
13
- customClass: a = "",
14
- type: r = "default",
15
- showCloseButton: u = !1
16
- }) => {
17
- const [c, x] = j(!1), d = () => `labelmessages-component -${r} ${a}
18
- ${f && "-square"} ${o && "-flat"}`, g = () => s || (l ? /* @__PURE__ */ e.jsx($, { name: l, size: 16, color: "#ffffff", customClass: `-${r}svg` }) : null);
19
- return c || !m ? null : /* @__PURE__ */ e.jsx(p, { children: /* @__PURE__ */ e.jsxs(
20
- "div",
21
- {
22
- className: `${d()} ${a}`,
23
- style: n,
24
- children: [
25
- /* @__PURE__ */ e.jsx("div", { className: "labelmessagesitem text", children: i }),
26
- (l || s) && /* @__PURE__ */ e.jsxs("div", { className: "labelmessagesitem -icon", children: [
27
- " ",
28
- g(),
29
- " "
30
- ] }),
31
- u && /* @__PURE__ */ e.jsx(
32
- "span",
33
- {
34
- role: "presentation",
35
- className: "labelmessagesitem -close",
36
- onClick: () => {
37
- t && t(), x(!0);
38
- },
39
- children: "x"
40
- }
41
- )
42
- ]
43
- }
44
- ) });
45
- };
46
- export {
47
- C as default
48
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
1
- import { CSSProperties, ReactNode } from 'react';
2
- import { LabelStyles } from '../@types/LabelStyles';
3
- import { IconNames } from '../@types/Icon';
4
- export interface ILabelMessagesProps {
5
- style?: CSSProperties;
6
- type?: LabelStyles;
7
- iconName?: IconNames;
8
- icon?: ReactNode | null;
9
- children?: ReactNode;
10
- customClass?: string;
11
- handlerClosed?: () => void;
12
- square?: boolean;
13
- flat?: boolean;
14
- showCloseButton?: boolean;
15
- visible?: boolean;
16
- }
@@ -1,3 +0,0 @@
1
- import { ILabelProps } from './types';
2
- declare const DangerLabel: ({ className, ...rest }: ILabelProps) => import("react/jsx-runtime").JSX.Element;
3
- export default DangerLabel;
@@ -1,6 +0,0 @@
1
- import { j as s } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
- import e from "./DefaultLabel.js";
3
- const t = ({ className: r, ...a }) => /* @__PURE__ */ s.jsx(e, { className: "-danger", ...a });
4
- export {
5
- t as default
6
- };
@@ -1,6 +0,0 @@
1
- import { ILabelProps } from './types';
2
- declare const _default: {
3
- (props: ILabelProps): import("react/jsx-runtime").JSX.Element;
4
- displayName: string;
5
- };
6
- export default _default;
@@ -1,41 +0,0 @@
1
- import { j as r } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
- import { useState as O } from "react";
3
- import v from "../icons/index.js";
4
- import E from "../internals/withTooltip.js";
5
- import { actionsOnPermissionDenied as N, OPTIONS_ON_DENIED as i } from "../permissionValidations.js";
6
- const h = ({
7
- style: l,
8
- targetRef: e,
9
- iconName: t,
10
- icon: o,
11
- children: m,
12
- visible: u = !0,
13
- customClass: a,
14
- className: d,
15
- disabled: f,
16
- size: s,
17
- iconAlign: n = "left",
18
- bordered: c,
19
- permissionAttr: p,
20
- skeletonize: $
21
- }) => {
22
- const b = [i.disabled, i.unvisible], [x] = O(N(b, p)), D = () => `label-component ${d} ${a} ${c ? "-bordered" : ""} ${f ? "-disabled" : ""}
23
- ${$ ? "-skeletonized" : ""}
24
- ${s ? `-${s}` : ""}
25
- ${n ? `icon-${n}` : ""}`, j = () => o || (t ? /* @__PURE__ */ r.jsx(v, { name: t, size: 16 }) : null);
26
- return !u || x.unvisible ? null : /* @__PURE__ */ r.jsxs(
27
- "div",
28
- {
29
- style: l,
30
- className: D(),
31
- ref: (I) => e && e(I),
32
- children: [
33
- j(),
34
- m
35
- ]
36
- }
37
- );
38
- }, k = E(h);
39
- export {
40
- k as default
41
- };
@@ -1,3 +0,0 @@
1
- import { ILabelProps } from './types';
2
- declare const InfoLabel: ({ className, ...rest }: ILabelProps) => import("react/jsx-runtime").JSX.Element;
3
- export default InfoLabel;
@@ -1,6 +0,0 @@
1
- import { j as a } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
- import o from "./DefaultLabel.js";
3
- const r = ({ className: e, ...s }) => /* @__PURE__ */ a.jsx(o, { className: "-info", ...s });
4
- export {
5
- r as default
6
- };
@@ -1,3 +0,0 @@
1
- import { ILabelProps } from './types';
2
- declare const PrimaryLabel: ({ className, ...rest }: ILabelProps) => import("react/jsx-runtime").JSX.Element;
3
- export default PrimaryLabel;
@@ -1,6 +0,0 @@
1
- import { j as r } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
- import s from "./DefaultLabel.js";
3
- const t = ({ className: m, ...a }) => /* @__PURE__ */ r.jsx(s, { className: "-primary", ...a });
4
- export {
5
- t as default
6
- };
@@ -1,3 +0,0 @@
1
- import { ILabelProps } from './types';
2
- declare const SuccessLabel: ({ className, ...rest }: ILabelProps) => import("react/jsx-runtime").JSX.Element;
3
- export default SuccessLabel;
@@ -1,6 +0,0 @@
1
- import { j as a } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
- import e from "./DefaultLabel.js";
3
- const t = ({ className: c, ...s }) => /* @__PURE__ */ a.jsx(e, { className: "-success", ...s });
4
- export {
5
- t as default
6
- };
@@ -1,3 +0,0 @@
1
- import { ILabelProps } from './types';
2
- declare const WarningLabel: ({ className, ...rest }: ILabelProps) => import("react/jsx-runtime").JSX.Element;
3
- export default WarningLabel;
@@ -1,6 +0,0 @@
1
- import { j as s } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
- import r from "./DefaultLabel.js";
3
- const t = ({ className: e, ...a }) => /* @__PURE__ */ s.jsx(r, { className: "-warning", ...a });
4
- export {
5
- t as default
6
- };
@@ -1,9 +0,0 @@
1
- import { default as LabelContainer } from './label_container';
2
- import { default as Label } from './DefaultLabel';
3
- import { default as DangerLabel } from './DangerLabel';
4
- import { default as PrimaryLabel } from './PrimaryLabel';
5
- import { default as WarningLabel } from './WarningLabel';
6
- import { default as SuccessLabel } from './SuccessLabel';
7
- import { default as InfoLabel } from './InfoLabel';
8
- export default Label;
9
- export { LabelContainer, PrimaryLabel, DangerLabel, WarningLabel, SuccessLabel, InfoLabel, };
@@ -1,17 +0,0 @@
1
- import { default as f } from "./label_container/index.js";
2
- import e from "./DefaultLabel.js";
3
- import { default as m } from "./DangerLabel.js";
4
- import { default as s } from "./PrimaryLabel.js";
5
- import { default as b } from "./WarningLabel.js";
6
- import { default as x } from "./SuccessLabel.js";
7
- import { default as n } from "./InfoLabel.js";
8
- import '../assets/label.css';/* empty css */
9
- export {
10
- m as DangerLabel,
11
- n as InfoLabel,
12
- f as LabelContainer,
13
- s as PrimaryLabel,
14
- x as SuccessLabel,
15
- b as WarningLabel,
16
- e as default
17
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- import { CSSProperties, ReactNode } from 'react';
2
- import { Position } from '../../@types/Position';
3
- interface ILabelContainerProps {
4
- children: ReactNode;
5
- style?: CSSProperties;
6
- customClass?: string;
7
- position?: Extract<Position, 'left' | 'right'>;
8
- }
9
- declare const LabelContainer: ({ customClass, position, children }: ILabelContainerProps) => import("react/jsx-runtime").JSX.Element;
10
- export default LabelContainer;
@@ -1,12 +0,0 @@
1
- import { j as s } from "../../chunks/jsx-runtime.C7wFtzyj.js";
2
- const o = ({ customClass: t, position: a = "left", children: e }) => /* @__PURE__ */ s.jsx(
3
- "div",
4
- {
5
- className: `lbl-container ${t}`,
6
- style: { float: a },
7
- children: e
8
- }
9
- );
10
- export {
11
- o as default
12
- };
@@ -1,22 +0,0 @@
1
- import { ReactElement } from 'react';
2
- import { PermissionAttr } from '../@types/PermissionAttr';
3
- import { Position } from '../@types/Position';
4
- import { Size } from '../@types/Size';
5
- import { IconNames } from '../@types/Icon';
6
- export interface ILabelProps extends React.HTMLAttributes<HTMLDivElement> {
7
- customClass?: string;
8
- size?: Size;
9
- iconName?: IconNames;
10
- iconAlign?: Position;
11
- icon?: ReactElement;
12
- targetRef?: (ref: HTMLDivElement | null) => void;
13
- bordered?: boolean;
14
- tooltipPosition?: Exclude<Position, 'center'>;
15
- tooltipWidth?: string | number;
16
- tooltip?: string;
17
- visible?: boolean;
18
- disabled?: boolean;
19
- permissionAttr?: PermissionAttr | PermissionAttr[];
20
- skeletonize?: boolean;
21
- validationKey?: string;
22
- }
@@ -1,3 +0,0 @@
1
- import { IListHeaderProps } from './types';
2
- declare const Header: ({ title, children, style, customClass }: IListHeaderProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Header;
@@ -1,8 +0,0 @@
1
- import { j as s } from "../chunks/jsx-runtime.C7wFtzyj.js";
2
- const i = ({ title: e, children: a, style: t, customClass: l }) => /* @__PURE__ */ s.jsxs("li", { className: `list-header ${l}`, style: t, children: [
3
- /* @__PURE__ */ s.jsx("h1", { className: "title", children: e }),
4
- a
5
- ] });
6
- export {
7
- i as default
8
- };
@@ -1,6 +0,0 @@
1
- import { IListItemProps } from './types';
2
- declare const _default: {
3
- (props: IListItemProps): import("react/jsx-runtime").JSX.Element;
4
- displayName: string;
5
- };
6
- export default _default;
package/lib/list/Item.js DELETED
@@ -1,13 +0,0 @@
1
- import "../chunks/jsx-runtime.C7wFtzyj.js";
2
- import "react";
3
- import "react-router-dom";
4
- import "../icons/index.js";
5
- import { L as s } from "../chunks/tabs.D0L_nVfP.js";
6
- import "./helpers.js";
7
- import "../dropdown/withDropdown.js";
8
- import "../internals/constants.js";
9
- import "../internals/withTooltip.js";
10
- import "../permissionValidations.js";
11
- export {
12
- s as default
13
- };
@@ -1,2 +0,0 @@
1
- declare const Separator: () => import("react/jsx-runtime").JSX.Element;
2
- export default Separator;