1mpacto-react-ui 0.2.0-beta.8 → 1.0.0

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 (294) hide show
  1. package/dist/assets/_colors.scss +80 -0
  2. package/dist/assets/_mixins.scss +44 -17
  3. package/dist/assets/_typography.scss +582 -0
  4. package/dist/assets/colors.css +40 -0
  5. package/dist/assets/core.css +1 -1
  6. package/dist/assets/fontfamily.css +1 -1
  7. package/dist/assets/fonts/PlusJakartaSans-Italic.ttf +0 -0
  8. package/dist/assets/fonts/PlusJakartaSans.ttf +0 -0
  9. package/dist/assets/icons/arrow-narrow-down.svg +3 -3
  10. package/dist/assets/style.css +1 -1
  11. package/dist/assets/toast.css +98 -194
  12. package/dist/assets/typography.css +96 -0
  13. package/dist/index.cjs +147 -144
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.mjs +27706 -27060
  16. package/dist/package.json.d.ts +131 -132
  17. package/dist/src/components/Alert/index.d.ts +1 -0
  18. package/dist/src/components/Badges/Badges.config.d.ts +57 -0
  19. package/dist/src/components/Badges/Badges.d.ts +1 -0
  20. package/dist/src/components/Badges/Badges.stories.d.ts +117 -2
  21. package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +113 -0
  22. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +2 -1
  23. package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +221 -6
  24. package/dist/src/components/Button/Button.config.d.ts +70 -0
  25. package/dist/src/components/Button/Button.d.ts +1 -0
  26. package/dist/src/components/Button/Button.stories.d.ts +129 -4
  27. package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +53 -0
  28. package/dist/src/components/ButtonIcon/ButtonIcon.d.ts +1 -0
  29. package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +123 -4
  30. package/dist/src/components/ButtonPopover/ButtonPopover.d.ts +1 -0
  31. package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +258 -2
  32. package/dist/src/components/Calendar/Calendar.d.ts +3 -1
  33. package/dist/src/components/Calendar/Calendar.stories.d.ts +283 -2
  34. package/dist/src/components/Calendar/CalendarButton.d.ts +1 -0
  35. package/dist/src/components/Calendar/CalendarCell.d.ts +1 -0
  36. package/dist/src/components/Calendar/CalendarMonth.d.ts +1 -0
  37. package/dist/src/components/Calendar/CalendarRange.d.ts +1 -0
  38. package/dist/src/components/Calendar/CalendarYear.d.ts +1 -0
  39. package/dist/src/components/Chart/DoughnutChart.d.ts +1 -0
  40. package/dist/src/components/Chart/GradientBarChart.d.ts +1 -0
  41. package/dist/src/components/Chart/GradientBarChart.stories.d.ts +71 -4
  42. package/dist/src/components/Chart/GradientLineChart.d.ts +1 -0
  43. package/dist/src/components/Chart/GradientLineChart.stories.d.ts +82 -4
  44. package/dist/src/components/Chart/LineChart.d.ts +1 -0
  45. package/dist/src/components/Chart/LineChart.stories.d.ts +35 -2
  46. package/dist/src/components/Chips/Chips.config.d.ts +35 -0
  47. package/dist/src/components/Chips/Chips.d.ts +1 -0
  48. package/dist/src/components/Chips/Chips.stories.d.ts +137 -2
  49. package/dist/src/components/Collapse/Collapse.d.ts +1 -0
  50. package/dist/src/components/Collapse/Collapse.stories.d.ts +89 -2
  51. package/dist/src/components/Collapse/CollapseV2.d.ts +1 -0
  52. package/dist/src/components/Collapse/CollapseV2.stories.d.ts +59 -2
  53. package/dist/src/components/Colors/Colors.stories.d.ts +2 -1
  54. package/dist/src/components/DatePicker/DatePicker.d.ts +1 -0
  55. package/dist/src/components/DatePicker/DatePicker.stories.d.ts +221 -2
  56. package/dist/src/components/DatePicker/DateRangePicker.d.ts +1 -0
  57. package/dist/src/components/DatePicker/FilterDate.d.ts +2 -1
  58. package/dist/src/components/DatePicker/FilterDate.stories.d.ts +232 -3
  59. package/dist/src/components/DatePicker/MonthYearPicker.d.ts +1 -0
  60. package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +198 -2
  61. package/dist/src/components/ErrorMessage/ErrorMessage.config.d.ts +8 -0
  62. package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +1 -0
  63. package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +39 -2
  64. package/dist/src/components/FilterContainer/FilterContainer.d.ts +1 -0
  65. package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +165 -0
  66. package/dist/src/components/Input/InputFloatingInner.config.d.ts +9 -0
  67. package/dist/src/components/Input/InputFloatingInner.d.ts +1 -0
  68. package/dist/src/components/Input/InputFloatingInner.stories.d.ts +177 -6
  69. package/dist/src/components/Input/InputInnerLabel.config.d.ts +8 -0
  70. package/dist/src/components/Input/InputInnerLabel.d.ts +5 -0
  71. package/dist/src/components/Input/InputInnerLabel.stories.d.ts +205 -0
  72. package/dist/src/components/Input/InputNative.config.d.ts +9 -0
  73. package/dist/src/components/Input/InputNative.d.ts +1 -0
  74. package/dist/src/components/Input/InputNative.stories.d.ts +149 -5
  75. package/dist/src/components/Input/InputReguler.config.d.ts +9 -0
  76. package/dist/src/components/Input/InputReguler.d.ts +1 -0
  77. package/dist/src/components/Input/InputReguler.stories.d.ts +177 -6
  78. package/dist/src/components/Modal/ModalDialog.config.d.ts +9 -0
  79. package/dist/src/components/Modal/ModalDialog.d.ts +1 -0
  80. package/dist/src/components/Modal/ModalDialog.stories.d.ts +121 -2
  81. package/dist/src/components/NumberFormat/NumberFormat.d.ts +1 -0
  82. package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +373 -18
  83. package/dist/src/components/Pagination/Pagination.config.d.ts +5 -0
  84. package/dist/src/components/Pagination/Pagination.d.ts +2 -1
  85. package/dist/src/components/Pagination/Pagination.stories.d.ts +200 -3
  86. package/dist/src/components/Popover/Popover.d.ts +1 -0
  87. package/dist/src/components/Popover/Popover.stories.d.ts +216 -7
  88. package/dist/src/components/PortalComponent/PortalComponent.d.ts +1 -0
  89. package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +61 -0
  90. package/dist/src/components/RadioCheckbox/CheckboxTable.d.ts +1 -0
  91. package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +41 -0
  92. package/dist/src/components/RadioCheckbox/RadioCheckbox.d.ts +1 -0
  93. package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +230 -8
  94. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +25 -0
  95. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -0
  96. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +196 -4
  97. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +26 -0
  98. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.d.ts +2 -1
  99. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +5 -4
  100. package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +5 -1
  101. package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +34 -0
  102. package/dist/src/components/Sidebar/ItemSidebar.d.ts +1 -0
  103. package/dist/src/components/Sidebar/Sidebar.config.d.ts +16 -0
  104. package/dist/src/components/Sidebar/Sidebar.d.ts +2 -1
  105. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +6 -5
  106. package/dist/src/components/Step/Step.d.ts +1 -0
  107. package/dist/src/components/Step/Step.stories.d.ts +135 -2
  108. package/dist/src/components/Step/StepIndicator.d.ts +1 -0
  109. package/dist/src/components/Step/StepIndicator.stories.d.ts +148 -2
  110. package/dist/src/components/Switch/Switch.config.d.ts +26 -0
  111. package/dist/src/components/Switch/Switch.d.ts +1 -0
  112. package/dist/src/components/Switch/Switch.stories.d.ts +128 -2
  113. package/dist/src/components/Table/Table.config.d.ts +5 -0
  114. package/dist/src/components/Table/Table.d.ts +3 -3
  115. package/dist/src/components/Table/Table.stories.d.ts +71 -52
  116. package/dist/src/components/Table/TableSubMobile.d.ts +4 -0
  117. package/dist/src/components/Tabs/TabPanel.d.ts +1 -0
  118. package/dist/src/components/Tabs/Tabs.config.d.ts +31 -0
  119. package/dist/src/components/Tabs/Tabs.d.ts +2 -1
  120. package/dist/src/components/Tabs/Tabs.stories.d.ts +220 -3
  121. package/dist/src/components/TextEditor/TextEditor.d.ts +1 -0
  122. package/dist/src/components/TextEditor/TextEditor.stories.d.ts +59 -10
  123. package/dist/src/components/Textarea/Textarea.config.d.ts +31 -0
  124. package/dist/src/components/Textarea/Textarea.d.ts +1 -0
  125. package/dist/src/components/Textarea/Textarea.stories.d.ts +250 -3
  126. package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +6 -0
  127. package/dist/src/components/Textarea/TextareaFloatingInner.d.ts +1 -0
  128. package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +260 -3
  129. package/dist/src/components/Textarea/TextareaInnerLabel.config.d.ts +7 -0
  130. package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +5 -0
  131. package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +259 -0
  132. package/dist/src/components/TimeRange/TimeRange.d.ts +4 -0
  133. package/dist/src/components/TimeRange/TimeRange.stories.d.ts +186 -0
  134. package/dist/src/components/Timeline/Timeline.d.ts +1 -0
  135. package/dist/src/components/Timeline/Timeline.stories.d.ts +40 -2
  136. package/dist/src/components/Tooltip/Tooltip.d.ts +1 -0
  137. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +159 -2
  138. package/dist/src/components/TruncateComponent/TruncateComponent.d.ts +1 -0
  139. package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +106 -2
  140. package/dist/src/components/Typography/Typography.stories.d.ts +2 -1
  141. package/dist/src/components/Upload/UploadFile.d.ts +1 -0
  142. package/dist/src/components/Upload/UploadFile.stories.d.ts +127 -2
  143. package/dist/src/components/Upload/UploadImage.d.ts +2 -1
  144. package/dist/src/components/Upload/UploadImage.stories.d.ts +145 -3
  145. package/dist/src/components/Upload/UploadMultipleFile.d.ts +2 -1
  146. package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +190 -3
  147. package/dist/src/components/Virtualization/ListVirtualization.d.ts +1 -0
  148. package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +279 -2
  149. package/dist/src/components/Virtualization/TableVirtualization.d.ts +1 -0
  150. package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +296 -2
  151. package/dist/src/components/index.d.ts +16 -9
  152. package/dist/src/components/screens/Screens.stories.d.ts +14 -0
  153. package/dist/src/config/bigNumber/index.d.ts +1 -0
  154. package/dist/src/config/components/borderRadius.d.ts +1 -0
  155. package/dist/src/config/components/font.d.ts +7 -0
  156. package/dist/src/config/components/gap.d.ts +1 -0
  157. package/dist/src/config/components/tinymce.d.ts +1 -0
  158. package/dist/src/config/components/typography.d.ts +3 -49
  159. package/dist/src/config/tailwind/index.d.ts +3 -1
  160. package/dist/src/config/tailwind/nativeScreen.d.ts +3 -0
  161. package/dist/src/config/tailwind/typography.d.ts +1 -0
  162. package/dist/src/hooks/index.d.ts +6 -3
  163. package/dist/src/hooks/useCombinedResizeObserver.d.ts +1 -0
  164. package/dist/src/hooks/useCountdown.d.ts +6 -3
  165. package/dist/src/hooks/useDeepCompareEffect.d.ts +1 -0
  166. package/dist/src/hooks/useEventListener.d.ts +1 -0
  167. package/dist/src/hooks/useMasonry.d.ts +1 -0
  168. package/dist/src/hooks/useMergeRefs.d.ts +1 -0
  169. package/dist/src/hooks/useOtpInput.d.ts +43 -0
  170. package/dist/src/hooks/useStateRef.d.ts +1 -0
  171. package/dist/src/interfaces/components/Alert/index.d.ts +1 -0
  172. package/dist/src/interfaces/components/Badges/index.d.ts +3 -1
  173. package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +7 -2
  174. package/dist/src/interfaces/components/Button/index.d.ts +3 -2
  175. package/dist/src/interfaces/components/ButtonIcon/index.d.ts +1 -0
  176. package/dist/src/interfaces/components/ButtonPopover/index.d.ts +1 -0
  177. package/dist/src/interfaces/components/Calendar/index.d.ts +21 -3
  178. package/dist/src/interfaces/components/Chart/index.d.ts +1 -0
  179. package/dist/src/interfaces/components/Checkbox/index.d.ts +1 -0
  180. package/dist/src/interfaces/components/Chips/index.d.ts +3 -1
  181. package/dist/src/interfaces/components/Collapse/index.d.ts +1 -0
  182. package/dist/src/interfaces/components/DatePicker/index.d.ts +4 -1
  183. package/dist/src/interfaces/components/ErrorMessage/index.d.ts +1 -1
  184. package/dist/src/interfaces/components/FilterContainer/index.d.ts +1 -0
  185. package/dist/src/interfaces/components/Input/index.d.ts +14 -0
  186. package/dist/src/interfaces/components/Modal/index.d.ts +1 -0
  187. package/dist/src/interfaces/components/NumberFormat/index.d.ts +1 -0
  188. package/dist/src/interfaces/components/Pagination/index.d.ts +3 -0
  189. package/dist/src/interfaces/components/Popover/index.d.ts +4 -1
  190. package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +4 -2
  191. package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +3 -1
  192. package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +2 -1
  193. package/dist/src/interfaces/components/Sidebar/index.d.ts +4 -1
  194. package/dist/src/interfaces/components/Step/index.d.ts +1 -0
  195. package/dist/src/interfaces/components/Switch/index.d.ts +1 -1
  196. package/dist/src/interfaces/components/Table/index.d.ts +39 -6
  197. package/dist/src/interfaces/components/Tabs/index.d.ts +7 -2
  198. package/dist/src/interfaces/components/TextEditor/index.d.ts +1 -0
  199. package/dist/src/interfaces/components/Textarea/index.d.ts +14 -0
  200. package/dist/src/interfaces/components/TimeRange/index.d.ts +29 -0
  201. package/dist/src/interfaces/components/Timeline/index.d.ts +1 -0
  202. package/dist/src/interfaces/components/Tooltip/index.d.ts +1 -0
  203. package/dist/src/interfaces/components/UploadFile/index.d.ts +4 -0
  204. package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +1 -0
  205. package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +1 -0
  206. package/dist/src/main.d.ts +1 -0
  207. package/dist/src/utils/common.d.ts +5 -4
  208. package/dist/src/utils/constant.d.ts +1 -0
  209. package/dist/tinymce/CHANGELOG.md +3785 -3785
  210. package/dist/tinymce/js/tinymce/langs/README.md +3 -3
  211. package/dist/tinymce/js/tinymce/license.md +6 -6
  212. package/dist/tinymce/js/tinymce/notices.txt +21 -21
  213. package/dist/tinymce/js/tinymce/plugins/codesample/plugin.min.js +8 -8
  214. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ar.js +92 -92
  215. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +92 -92
  216. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ca.js +92 -92
  217. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/cs.js +92 -92
  218. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/da.js +92 -92
  219. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/de.js +92 -92
  220. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/el.js +92 -92
  221. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/en.js +92 -92
  222. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/es.js +92 -92
  223. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/eu.js +92 -92
  224. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fa.js +92 -92
  225. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fi.js +92 -92
  226. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +92 -92
  227. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/he_IL.js +92 -92
  228. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hi.js +92 -92
  229. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hr.js +92 -92
  230. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +92 -92
  231. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/id.js +92 -92
  232. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/it.js +92 -92
  233. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ja.js +92 -92
  234. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/kk.js +92 -92
  235. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +92 -92
  236. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ms.js +92 -92
  237. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +92 -92
  238. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nl.js +92 -92
  239. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pl.js +92 -92
  240. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +92 -92
  241. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +92 -92
  242. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ro.js +92 -92
  243. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ru.js +92 -92
  244. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sk.js +92 -92
  245. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +92 -92
  246. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +92 -92
  247. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/th_TH.js +92 -92
  248. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/tr.js +92 -92
  249. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/uk.js +92 -92
  250. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/vi.js +92 -92
  251. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +86 -86
  252. package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +92 -92
  253. package/dist/tinymce/js/tinymce/skins/content/dark/content.js +9 -9
  254. package/dist/tinymce/js/tinymce/skins/content/dark/content.min.css +10 -10
  255. package/dist/tinymce/js/tinymce/skins/content/default/content.js +9 -9
  256. package/dist/tinymce/js/tinymce/skins/content/default/content.min.css +10 -10
  257. package/dist/tinymce/js/tinymce/skins/content/document/content.js +9 -9
  258. package/dist/tinymce/js/tinymce/skins/content/document/content.min.css +10 -10
  259. package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.js +9 -9
  260. package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.min.css +10 -10
  261. package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.js +9 -9
  262. package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.min.css +10 -10
  263. package/dist/tinymce/js/tinymce/skins/content/writer/content.js +9 -9
  264. package/dist/tinymce/js/tinymce/skins/content/writer/content.min.css +10 -10
  265. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.js +9 -9
  266. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.min.css +10 -10
  267. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.js +9 -9
  268. package/dist/tinymce/js/tinymce/skins/ui/oxide/content.min.css +10 -10
  269. package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.min.css +1 -1
  270. package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -1
  271. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.js +9 -9
  272. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.min.css +10 -10
  273. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.js +9 -9
  274. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.min.css +10 -10
  275. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  276. package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -1
  277. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.js +9 -9
  278. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.min.css +10 -10
  279. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.js +9 -9
  280. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.min.css +10 -10
  281. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  282. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -1
  283. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.js +9 -9
  284. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +10 -10
  285. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.js +9 -9
  286. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.min.css +10 -10
  287. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  288. package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -1
  289. package/dist/tinymce/js/tinymce/tinymce.d.ts +3350 -3350
  290. package/dist/tinymce/js/tinymce/tinymce.min.js +10 -10
  291. package/dist/types-external/table.d.ts +15 -12
  292. package/package.json +131 -132
  293. package/dist/index.cjs.map +0 -1
  294. package/dist/index.mjs.map +0 -1
@@ -1,11 +1,13 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { IBorderRadius } from '../../../config/components/borderRadius';
3
3
  import { Itypography } from '../../../config/components/typography';
4
+ import { TFont } from '../../../config/components/font';
5
+
4
6
  export interface IBadges extends React.HTMLAttributes<HTMLSpanElement> {
5
7
  children: ReactNode | ReactNode[];
6
8
  className?: string | undefined;
7
9
  rounded?: IBorderRadius;
8
10
  variants?: 'filled-gray-600' | 'filled-green-600' | 'filled-green-50' | 'filled-blue-gray-50' | 'filled-red-500' | 'filled-blue-600' | 'filled-amber-800' | 'filled-pink-600' | 'filled-lime-700' | 'filled-lime-900-bg_lime-100' | 'filled-red-900' | 'filled-laba-green-10' | 'filled-cyan-800-bg_cyan-100' | 'ghost-gray-200' | 'ghost-green-100' | 'ghost-red-100' | 'ghost-blue-100' | 'ghost-amber-100' | 'ghost-laba-orange-01' | 'ghost-laba-green-01' | 'ghost-laba-green-02' | 'ghost-laba-blue-02' | 'ghost-laba-blue-01' | 'ghost-laba-grey-05' | 'ghost-laba-red-01' | 'outline-gray-600' | 'outline-green-600' | 'outline-red-500' | 'outline-blue-600' | 'outline-amber-800' | 'outline-laba-blue-01' | 'outline-laba-orange-06' | 'outline-laba-orange-06-bg_laba-orange-01' | 'outline-laba-red-06' | 'outline-laba-green-06';
9
- fonts?: 'lato' | 'inter';
11
+ fonts?: TFont;
10
12
  typography?: Itypography;
11
13
  }
@@ -1,9 +1,11 @@
1
1
  import { ReactNode, ElementType, HTMLAttributes } from 'react';
2
2
  import { IGap } from '../../../config/components/gap';
3
+ import { TFont } from '../../../config/components/font';
4
+
3
5
  export interface IBreadcrumbs<T extends ElementType> extends HTMLAttributes<HTMLDivElement> {
4
6
  as?: T;
5
- fonts?: 'lato' | 'inter';
6
- variants?: 'laba-blue-10' | 'blue-700';
7
+ fonts?: TFont;
8
+ variants?: 'laba-blue-10' | 'blue-700' | 'bill-secondary-800';
7
9
  urls: string[];
8
10
  textBreadcrumbs: string[];
9
11
  onClickBreadcrumbs?: (() => void | undefined)[];
@@ -15,4 +17,7 @@ export interface IBreadcrumbs<T extends ElementType> extends HTMLAttributes<HTML
15
17
  iconAction?: ReactNode | ReactNode[];
16
18
  separator?: ReactNode | ReactNode[] | string;
17
19
  propsLink?: (value: string, index: number, urls: string[]) => object;
20
+ classNameAction?: string;
21
+ classNameUrl?: string;
22
+ renderAction?: () => ReactNode | ReactNode[];
18
23
  }
@@ -1,6 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
- export type TButtonVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'ghost-blue-gray-100-bg_white-text_blue-gray-400' | 'ghost-laba-blue-05' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-08' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'ghost-laba-blue-01' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'secondary-red-700';
3
- export type TButtonSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs';
2
+
3
+ export type TButtonVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'ghost-blue-gray-100-bg_white-text_blue-gray-400' | 'ghost-laba-blue-05' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-08' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'ghost-laba-blue-01' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'secondary-red-700' | 'tertiary-black' | 'primary-bill-primary-600' | 'secondary-bill-secondary-800' | 'tertiary-bill-secondary-800' | 'primary-bill-red-700';
4
+ export type TButtonSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs' | 'bill-l' | 'bill-m' | 'bill-s' | 'bill-xs';
4
5
  export interface IButton extends React.ButtonHTMLAttributes<HTMLButtonElement> {
5
6
  size?: TButtonSize;
6
7
  variants?: TButtonVariants;
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+
2
3
  export type TButtonIcomVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'secondary-red-700';
3
4
  export type TButtonIconSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs';
4
5
  export interface IButtonIcon extends React.ButtonHTMLAttributes<HTMLButtonElement> {
@@ -1,6 +1,7 @@
1
1
  import { OffsetOptions, UseFloatingOptions } from '@floating-ui/react';
2
2
  import { IPopover } from '../Popover';
3
3
  import { IButton } from '../Button';
4
+
4
5
  export interface IButtonPopover extends IButton {
5
6
  text?: string;
6
7
  startIconShow?: React.ReactNode | React.ReactNode[];
@@ -2,9 +2,10 @@ import { CalendarDate } from '@internationalized/date';
2
2
  import { ReactNode } from 'react';
3
3
  import { AriaButtonOptions, DateValue, RangeCalendarProps } from 'react-aria';
4
4
  import { CalendarState, CalendarStateOptions, DateRangePickerStateOptions, RangeCalendarState } from 'react-stately';
5
+
5
6
  export type TCalendarType = 'date' | 'month' | 'year';
6
7
  export type TDateType = Date | string | null | undefined;
7
- export type TKeyLocale = 'id' | 'enUS' | 'nl';
8
+ export type TKeyLocale = 'id-ID' | 'en-US' | 'nl-NL' | 'zh-CN';
8
9
  export interface ICalendarPrevNextIcon {
9
10
  prevIcon?: ReactNode | ReactNode[] | (() => ReactNode) | (() => ReactNode[]);
10
11
  nextIcon?: ReactNode | ReactNode[] | (() => ReactNode) | (() => ReactNode[]);
@@ -18,17 +19,22 @@ export interface ITimeCalendar {
18
19
  minut?: number;
19
20
  second?: number;
20
21
  }
22
+ export interface ITimeCalendarRange {
23
+ start?: ITimeCalendar;
24
+ end?: ITimeCalendar;
25
+ }
21
26
  export interface ICalendar extends CalendarStateOptions<DateValue>, ICalendarPrevNextIcon, ICalendarButtonConfirm {
22
27
  withConfirm?: boolean;
23
28
  isCustomTime?: boolean;
24
29
  minDate?: TDateType;
25
30
  maxDate?: TDateType;
26
- time?: ITimeCalendar;
31
+ time?: ITimeCalendarRange;
27
32
  activeType?: TCalendarType;
28
33
  withDateSelect?: boolean;
29
34
  type: TCalendarType[];
35
+ typeTime?: 'SINGLE' | 'RANGE';
30
36
  hiddenHeader?: boolean;
31
- handlerChangeTime?: (v: ITimeCalendar) => void;
37
+ handlerChangeTime?: (v: ITimeCalendarRange) => void;
32
38
  handlerReset: (v: CalendarState) => void;
33
39
  handlerSubmit: () => void;
34
40
  }
@@ -42,7 +48,9 @@ export interface ICustomTimeCalendar {
42
48
  value?: DateValue | null | undefined;
43
49
  minDate?: TDateType;
44
50
  maxDate?: TDateType;
51
+ timeLabel?: string;
45
52
  hiddenHeader?: boolean;
53
+ type: 'start' | 'end';
46
54
  handlerChangeTime?: (v: ITimeCalendar) => void;
47
55
  }
48
56
  export interface ICalendarButton extends AriaButtonOptions<'button'> {
@@ -80,11 +88,21 @@ export interface IDateRange {
80
88
  }
81
89
  export interface ICalendarDateRange extends RangeCalendarProps<DateValue>, ICalendarPrevNextIcon, ICalendarButtonConfirm {
82
90
  withConfirm?: boolean;
91
+ isCustomTime?: boolean;
92
+ minDate?: TDateType;
93
+ maxDate?: TDateType;
94
+ time?: ITimeCalendarRange;
95
+ handlerChangeTimeRange?: (v: ITimeCalendarRange) => void;
83
96
  handlerSubmit: () => void;
84
97
  handlerReset: (v: RangeCalendarState) => void;
85
98
  }
86
99
  export interface ICalendarRange extends DateRangePickerStateOptions, ICalendarPrevNextIcon, ICalendarButtonConfirm {
87
100
  withConfirm?: boolean;
101
+ isCustomTime?: boolean;
102
+ minDate?: TDateType;
103
+ maxDate?: TDateType;
104
+ time?: ITimeCalendarRange;
105
+ handlerChangeTimeRange?: (v: ITimeCalendarRange) => void;
88
106
  handlerSubmit: () => void;
89
107
  handlerReset: (v: RangeCalendarState) => void;
90
108
  }
@@ -1,5 +1,6 @@
1
1
  import { ChartArea, ChartData, ChartDataset, ChartOptions, CoreScaleOptions, Scale, TooltipItem } from 'chart.js';
2
2
  import { default as React } from 'react';
3
+
3
4
  export type TOptionsDoughnutChart = ChartOptions<'doughnut'>;
4
5
  export interface IDataDoughnutChart {
5
6
  [key: string]: unknown;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  export interface ICheckboxTable extends React.HTMLProps<HTMLInputElement> {
3
4
  indeterminate?: boolean;
4
5
  classNameContainer?: string;
@@ -1,9 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Itypography } from '../../../config/components/typography';
3
+ import { TFont } from '../../../config/components/font';
4
+
3
5
  export interface IChips extends React.HTMLAttributes<HTMLSpanElement> {
4
6
  children: ReactNode | ReactNode[];
5
7
  className?: string | undefined;
6
- fonts?: 'lato' | 'inter';
8
+ fonts?: TFont;
7
9
  size?: 'reguler' | 'small' | 'l' | 's';
8
10
  variants?: 'filled-laba-blue-10' | 'ghost-laba-grey-02' | 'nude-laba-grey-10' | 'filled-blue-gray-100' | 'filled-gray-300';
9
11
  icon?: ReactNode | ReactNode[] | (() => ReactNode) | (() => ReactNode[]);
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+
2
3
  export interface ICollapse {
3
4
  children: ReactNode | ReactNode[];
4
5
  open: boolean;
@@ -1,6 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ICalendarButtonConfirm, ICalendarPrevNextIcon, IDateRange, TDateType } from '../Calendar';
3
3
  import { OffsetOptions, UseFloatingOptions } from '@floating-ui/react';
4
+
4
5
  export interface IDatePicker extends ICalendarPrevNextIcon, ICalendarButtonConfirm {
5
6
  value?: TDateType;
6
7
  defaultValue?: TDateType;
@@ -21,11 +22,12 @@ export interface IDatePicker extends ICalendarPrevNextIcon, ICalendarButtonConfi
21
22
  }
22
23
  export interface IDateRangePicker extends ICalendarPrevNextIcon, ICalendarButtonConfirm {
23
24
  defaultValue?: IDateRange;
24
- value?: TDateType;
25
+ value?: IDateRange;
25
26
  minDate?: TDateType;
26
27
  maxDate?: TDateType;
27
28
  withConfirm?: boolean;
28
29
  typePicker?: 'SINGLE' | 'RANGE';
30
+ isCustomTime?: boolean;
29
31
  onChange?: (v: IDateRange) => void;
30
32
  onReset?: () => void;
31
33
  }
@@ -45,6 +47,7 @@ export interface IFilterDate extends ICalendarPrevNextIcon, ICalendarButtonConfi
45
47
  onChange?: (v?: IDateRange, labelDesc?: string, label?: IFilterDateButtonList) => void;
46
48
  idPopover?: string;
47
49
  id?: string;
50
+ isCustomTime?: boolean;
48
51
  floatingOptions?: UseFloatingOptions;
49
52
  offsetPopover?: OffsetOptions;
50
53
  zIndexPopper?: number | undefined | string;
@@ -1,5 +1,5 @@
1
1
  export interface IErrorMessage {
2
2
  className?: string;
3
- variants?: 'laba' | 'payhere';
3
+ variants?: 'laba' | 'payhere' | 'bill';
4
4
  error?: string;
5
5
  }
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  export interface IChildFilterContainer {
3
4
  handlerOnChange: THandlerOnChangeFilterContainer;
4
5
  handlerOnChangeNative: THandlerOnChangeNative;
@@ -1,4 +1,5 @@
1
1
  import { InputHTMLAttributes, ReactNode } from 'react';
2
+
2
3
  export interface IInputFloatingInner extends InputHTMLAttributes<HTMLInputElement> {
3
4
  classNameContainer?: string | undefined;
4
5
  classNameLabel?: string | undefined;
@@ -35,3 +36,16 @@ export interface IInputNative extends InputHTMLAttributes<HTMLInputElement> {
35
36
  sizeInput?: 's' | 'xs' | 'l';
36
37
  classNameLabelError?: string | undefined;
37
38
  }
39
+ export interface IInputInnerLabel extends InputHTMLAttributes<HTMLInputElement> {
40
+ classNameContainer?: string | undefined;
41
+ id?: string | undefined;
42
+ label?: string;
43
+ type?: string;
44
+ startIcon?: ReactNode | ReactNode[] | (() => ReactNode) | (() => ReactNode[]);
45
+ endIcon?: ReactNode | ReactNode[] | (() => ReactNode) | (() => ReactNode[]);
46
+ isRequired?: boolean;
47
+ error?: string | undefined;
48
+ sizeInput?: 'large' | 'small';
49
+ classNameLabel?: string | undefined;
50
+ classNameLabelError?: string | undefined;
51
+ }
@@ -1,4 +1,5 @@
1
1
  import { ReactNode, ElementType } from 'react';
2
+
2
3
  export interface IModalDialog<T extends ElementType> {
3
4
  as?: T;
4
5
  children: ReactNode | ReactNode[];
@@ -1,4 +1,5 @@
1
1
  import { NumericFormatProps } from 'react-number-format';
2
+
2
3
  export interface INumberFormat extends NumericFormatProps {
3
4
  max?: number | undefined;
4
5
  min?: number | undefined;
@@ -1,5 +1,7 @@
1
1
  import { OffsetOptions } from '@floating-ui/react';
2
2
  import { ReactNode } from 'react';
3
+ import { TKeyLocale } from '../Calendar';
4
+
3
5
  export type TKindPaginationType = 'box' | 'nude';
4
6
  export interface IPagination {
5
7
  pageNumber: number;
@@ -20,4 +22,5 @@ export interface IPaginationProps extends IPagination {
20
22
  withOptionPageSize?: boolean;
21
23
  withGotoPage?: boolean;
22
24
  withMorePage?: boolean;
25
+ locale?: TKeyLocale;
23
26
  }
@@ -1,5 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
- import { FlipOptions, AutoPlacementOptions, UseFloatingOptions, OffsetOptions, FloatingArrowProps } from '@floating-ui/react';
2
+ import { FlipOptions, AutoPlacementOptions, UseFloatingOptions, OffsetOptions, FloatingArrowProps, FloatingFocusManagerProps, UseDismissProps } from '@floating-ui/react';
3
+
3
4
  export interface IPopover extends React.HTMLAttributes<HTMLDivElement> {
4
5
  children: ReactNode | ReactNode[];
5
6
  className?: string | undefined;
@@ -16,6 +17,8 @@ export interface IPopover extends React.HTMLAttributes<HTMLDivElement> {
16
17
  withArrow?: boolean;
17
18
  propsArrow?: Partial<FloatingArrowProps>;
18
19
  onClose?: () => void;
20
+ floatingFocusManagerProps?: Omit<FloatingFocusManagerProps, 'context' | 'children'>;
21
+ useDismissProps?: UseDismissProps;
19
22
  }
20
23
  export interface IRefPopover {
21
24
  show: boolean;
@@ -1,18 +1,20 @@
1
1
  import { InputHTMLAttributes, ReactNode } from 'react';
2
2
  import { IBorderRadius } from '../../../config/components/borderRadius';
3
3
  import { Itypography } from '../../../config/components/typography';
4
+ import { TFont } from '../../../config/components/font';
5
+
4
6
  export interface IRadioCheckbox extends InputHTMLAttributes<HTMLInputElement> {
5
7
  classNameContainer?: string | undefined;
6
8
  classNameLabel?: string | undefined;
7
9
  classNameCheckedIcon?: string | undefined;
8
10
  classNameContainerCheckedIcon?: string | undefined;
9
11
  sizeInput?: 'reguler' | 'small' | 's' | 'm';
10
- variants?: 'laba-blue-10' | 'blue-700' | 'blue-700-hv_bg_transparent' | 'laba-blue-10-hv_bg_transparent';
12
+ variants?: 'laba-blue-10' | 'blue-700' | 'blue-700-hv_bg_transparent' | 'laba-blue-10-hv_bg_transparent' | 'bill-primary-500' | 'bill-primary-600-hv_bg_transparent' | 'bill-secondary-800-hv_bg_transparent';
11
13
  variantDisableds?: 'default-disabled-checkbox' | 'default-disabled-radio';
12
14
  borderRadius?: IBorderRadius;
13
15
  checkedIcon?: ReactNode | ReactNode[];
14
16
  type?: 'checkbox' | 'radio';
15
- fonts?: 'lato' | 'inter';
17
+ fonts?: TFont;
16
18
  label?: string;
17
19
  typography?: Itypography;
18
20
  }
@@ -2,12 +2,14 @@ import { InputHTMLAttributes, ReactNode } from 'react';
2
2
  import { Itypography } from '../../../config/components/typography';
3
3
  import { IRadioCheckbox } from './RadioCheckbox';
4
4
  import { IBorderRadius } from '../../../config/components/borderRadius';
5
+ import { TFont } from '../../../config/components/font';
6
+
5
7
  export interface IRadioCheckboxLabel extends InputHTMLAttributes<HTMLInputElement> {
6
8
  typographyLabel?: Itypography;
7
9
  typographyDesc?: Itypography;
8
10
  borderRadius?: IBorderRadius;
9
11
  type?: 'checkbox' | 'radio';
10
- fonts?: 'lato' | 'inter';
12
+ fonts?: TFont;
11
13
  radioCheckboxProps?: IRadioCheckbox;
12
14
  variants?: 'blue-50' | 'laba-blue-01';
13
15
  label: string | ReactNode | ReactNode[];
@@ -1,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { Props as SelectProps, ActionMeta, GroupBase, SelectComponentsConfig, MultiValue, SingleValue } from 'react-select';
3
3
  import { AutoPlacementOptions, FlipOptions, OffsetOptions, UseFloatingOptions } from '@floating-ui/react';
4
+
4
5
  export interface ISelectDropdownContainer<T> extends Omit<SelectProps<T, boolean, GroupBase<T>>, 'onChange' | 'getOptionLabel'> {
5
6
  width?: number | string | ((width: number, value: MultiValue<T> | SingleValue<T> | T | T[] | object) => string | number);
6
7
  children: ((params: IChildrenSelectDropdownContainer<T>) => React.ReactNode) | ((params: IChildrenSelectDropdownContainer<T>) => React.ReactNode[]);
@@ -31,7 +32,7 @@ export interface ISelectDropdownContainer<T> extends Omit<SelectProps<T, boolean
31
32
  offsetPopover?: OffsetOptions;
32
33
  errorLabel?: 'payhere' | 'laba';
33
34
  actionValueChange?: (value: MultiValue<T> | SingleValue<T> | T | T[] | object) => void;
34
- controlType?: 'laba' | 'payhere';
35
+ controlType?: 'laba' | 'payhere' | 'bill';
35
36
  }
36
37
  export interface IChildrenSelectDropdownContainer<T> {
37
38
  selectValue: T | T[] | object;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
- export type TVariantSidebarType = 'payhere-brand-base-white' | 'payhere-brand-base-transparent' | 'laba-white';
2
+
3
+ export type TVariantSidebarType = 'payhere-brand-base-white' | 'payhere-brand-base-transparent' | 'laba-white' | 'lpd-brand-base-transparent' | 'lpd-brand-base-transparent-responsive' | 'lpd-brand-base-white' | 'lpd-brand-base-white-responsive' | 'bill-brand-base-white' | 'bill-brand-base-white-responsive';
3
4
  export interface ISidebarModule {
4
5
  name: string;
5
6
  label: string;
@@ -10,6 +11,7 @@ export interface ISidebarModule {
10
11
  icon?: string;
11
12
  svgIcon?: React.ReactNode | null;
12
13
  svgIconActive?: React.ReactNode | null;
14
+ svgIconHover?: React.ReactNode | null;
13
15
  manualRoute?: boolean;
14
16
  propsLink?: (value: string, item: ISidebarModule) => object;
15
17
  [key: string]: unknown;
@@ -29,6 +31,7 @@ export interface ISidebar<T extends React.ElementType> extends React.HTMLAttribu
29
31
  onClickItems?: (v: ISidebarModule) => void;
30
32
  propsLink?: (value: string, item: ISidebarModule) => object;
31
33
  withInheritance?: boolean;
34
+ id?: string;
32
35
  }
33
36
  export interface IItemSidebar<T extends React.ElementType> extends ISidebarModule {
34
37
  as?: T;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  export interface IDataStepList {
3
4
  step: number;
4
5
  value?: string | number | React.ReactNode | React.ReactNode[];
@@ -9,7 +9,7 @@ export interface ISwitch {
9
9
  className?: string | undefined;
10
10
  classNameTitle?: string | undefined;
11
11
  classNameDesc?: string | undefined;
12
- kind?: 'payhere' | 'laba';
12
+ kind?: 'payhere' | 'laba' | 'bill';
13
13
  onChange: (v: boolean) => void;
14
14
  }
15
15
  export {};
@@ -1,7 +1,20 @@
1
1
  import { Table as ITableTanstack, Row, ColumnDef } from '@tanstack/react-table';
2
2
  import { default as React } from 'react';
3
3
  import { ITableVirtualization, IWrapperProps } from '../Virtualization/TableVirtualization';
4
+
4
5
  export type ITableColumnDef<T = unknown> = ColumnDef<T>;
6
+ export interface ITableColumnBreakpoint {
7
+ maxWidth?: number;
8
+ minWidth?: number;
9
+ columns: string[];
10
+ realColumns?: string[];
11
+ resetExpanded?: boolean;
12
+ }
13
+ export type TTableRenderSubComponent<T = unknown> = (original: T, row: Row<T>, other: {
14
+ visibilityColumns: Pick<ITableColumnBreakpoint, 'columns' | 'realColumns'>;
15
+ classNameSubMobile: string;
16
+ }) => React.ReactNode | React.ReactNode[];
17
+ export type TTableHandlerRowClick<T = unknown> = (original: T, row: Row<T>) => void;
5
18
  export interface ITable<T = unknown> {
6
19
  tableInstance: ITableTanstack<T>;
7
20
  classNameWrapperTable?: string;
@@ -15,19 +28,23 @@ export interface ITable<T = unknown> {
15
28
  tbodyTrId?: (row: Row<T>) => string | undefined;
16
29
  maxHeight?: number;
17
30
  idCalculateHeight?: string;
18
- kind?: 'laba-reguler' | 'payhere-reguler' | 'laba-small';
31
+ kind?: 'laba-reguler' | 'payhere-reguler' | 'laba-small' | 'bill-reguler';
19
32
  variant?: 'laba-grey-02';
20
33
  componentSortASC?: Element | React.ReactNode | React.ReactNode[];
21
34
  componentSortDESC?: Element | React.ReactNode | React.ReactNode[];
22
35
  scrollTop?: boolean;
23
36
  emptyPlaceholder?: Element | React.ReactNode | React.ReactNode[];
24
- renderSubComponent?: (original: T, row: Row<T>) => React.ReactNode | React.ReactNode[];
37
+ renderSubComponent?: (original: T, row: Row<T>, other: {
38
+ visibilityColumns: Pick<ITableColumnBreakpoint, 'columns' | 'realColumns'>;
39
+ classNameSubMobile: string;
40
+ }) => React.ReactNode | React.ReactNode[];
41
+ columnBreakpoints?: ITableColumnBreakpoint[];
25
42
  }
26
43
  export interface INonVirtualization<T = unknown> {
27
44
  tableInstance: ITableTanstack<T>;
28
45
  classNameWrapperTable?: string;
29
46
  classNameTable?: string;
30
- handlerRowClick?: (original: T, row: Row<T>) => void;
47
+ handlerRowClick?: ITable<T>['handlerRowClick'];
31
48
  privillageRowClick?: boolean;
32
49
  headerId?: string;
33
50
  tbodyTrId: (row: Row<T>) => string | undefined;
@@ -37,7 +54,9 @@ export interface INonVirtualization<T = unknown> {
37
54
  componentSortDESC: Element | React.ReactNode | React.ReactNode[];
38
55
  classNamePointer: string;
39
56
  emptyPlaceholder?: Element | React.ReactNode | React.ReactNode[];
40
- renderSubComponent?: (original: T, row: Row<T>) => React.ReactNode | React.ReactNode[];
57
+ renderSubComponent?: ITable<T>['renderSubComponent'];
58
+ visibilityColumns: Pick<ITableColumnBreakpoint, 'columns' | 'realColumns'>;
59
+ classNameSubMobile: string;
41
60
  }
42
61
  export interface IVirtualizationProps extends Omit<ITableVirtualization, 'typeHight' | 'itemContent' | 'fixedHeaderContent' | 'itemSizeNames'> {
43
62
  typeHight?: 'min-max' | 'container';
@@ -48,7 +67,7 @@ export interface IVirtualizationProps extends Omit<ITableVirtualization, 'typeHi
48
67
  export interface IVirtualization<T = unknown> {
49
68
  tableInstance: ITableTanstack<T>;
50
69
  classNameWrapperTable?: string;
51
- handlerRowClick?: (original: T, row: Row<T>) => void;
70
+ handlerRowClick?: ITable<T>['handlerRowClick'];
52
71
  privillageRowClick?: boolean;
53
72
  virtualizationProps?: IVirtualizationProps;
54
73
  headerId?: string;
@@ -58,7 +77,9 @@ export interface IVirtualization<T = unknown> {
58
77
  componentSortDESC: Element | React.ReactNode | React.ReactNode[];
59
78
  classNamePointer: string;
60
79
  emptyPlaceholder?: Element | React.ReactNode | React.ReactNode[];
61
- renderSubComponent?: (original: T, row: Row<T>) => React.ReactNode | React.ReactNode[];
80
+ renderSubComponent?: ITable<T>['renderSubComponent'];
81
+ visibilityColumns: Pick<ITableColumnBreakpoint, 'columns' | 'realColumns'>;
82
+ classNameSubMobile: string;
62
83
  }
63
84
  export interface IVirtualizationHead extends React.HTMLAttributes<HTMLTableSectionElement> {
64
85
  context?: {
@@ -80,11 +101,19 @@ export interface ITableConfig {
80
101
  'payhere-reguler': string;
81
102
  'laba-reguler': string;
82
103
  'laba-small': string;
104
+ 'bill-reguler': string;
105
+ };
106
+ subMobile: {
107
+ 'payhere-reguler': string;
108
+ 'laba-reguler': string;
109
+ 'laba-small': string;
110
+ 'bill-reguler': string;
83
111
  };
84
112
  pointer: {
85
113
  'payhere-reguler': string;
86
114
  'laba-reguler': string;
87
115
  'laba-small': string;
116
+ 'bill-reguler': string;
88
117
  };
89
118
  utility: {
90
119
  'table-scroll-top': string;
@@ -102,6 +131,10 @@ export interface ITableConfig {
102
131
  asc: Element | React.ReactNode | React.ReactNode[];
103
132
  desc: Element | React.ReactNode | React.ReactNode[];
104
133
  };
134
+ 'bill-reguler': {
135
+ asc: Element | React.ReactNode | React.ReactNode[];
136
+ desc: Element | React.ReactNode | React.ReactNode[];
137
+ };
105
138
  };
106
139
  variant: {
107
140
  'laba-grey-02': string;
@@ -1,12 +1,16 @@
1
1
  import { IBorderRadius } from '../../../config/components/borderRadius';
2
- export type TVariantTabs = 'original-laba-blue-10' | 'container-payhere-brand-base' | 'container-laba-blue-10' | 'container-laba-blue-10-bg_white';
2
+ import { TKeyLocale } from '../Calendar';
3
+
4
+ export type TVariantTabs = 'original-laba-blue-10' | 'container-payhere-brand-base' | 'container-payhere-brand-base-bg_white' | 'container-laba-blue-10' | 'container-laba-blue-10-bg_white' | 'original-bill-secondary-800';
3
5
  export type TSizeTabs = 'tabs-m' | 'tabs-s' | 'tabs-medium' | 'tabs-small';
6
+ export type TTypeEventTabs = 'change' | 'mounted';
4
7
  export interface ITabsList {
5
8
  id: string | number;
6
9
  label: string | number;
7
10
  isHide?: boolean;
8
11
  className?: string;
9
12
  activeColor?: string;
13
+ locale?: Partial<Record<TKeyLocale, string>>;
10
14
  }
11
15
  export interface ITabs {
12
16
  id?: string;
@@ -22,8 +26,9 @@ export interface ITabs {
22
26
  disabled?: boolean;
23
27
  animation?: boolean;
24
28
  mountedExecuteChange?: boolean;
25
- onChange?: (v: ITabsList) => void;
29
+ onChange?: (v: ITabsList, sourceEvent: TTypeEventTabs) => void;
26
30
  typeButton?: 'button' | 'submit';
31
+ locale?: TKeyLocale;
27
32
  }
28
33
  export interface IStyleTabs {
29
34
  width: number;
@@ -1,4 +1,5 @@
1
1
  import { IAllProps } from '@tinymce/tinymce-react';
2
+
2
3
  export interface ITextEditorProps extends IAllProps {
3
4
  id: string;
4
5
  label?: string;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+
2
3
  export interface ITextarea extends React.InputHTMLAttributes<HTMLTextAreaElement> {
3
4
  classNameContainer?: string | undefined;
4
5
  id?: string | undefined;
@@ -28,3 +29,16 @@ export interface ITextareaFloatingInner extends React.InputHTMLAttributes<HTMLTe
28
29
  translateLabel?: number;
29
30
  autoTranslateLabel?: boolean;
30
31
  }
32
+ export interface ITextareaInnerLabel extends React.InputHTMLAttributes<HTMLTextAreaElement> {
33
+ classNameContainer?: string | undefined;
34
+ id?: string | undefined;
35
+ label?: string;
36
+ type?: string;
37
+ isRequired?: boolean;
38
+ error?: string | undefined;
39
+ sizeInput?: 'large' | 'small';
40
+ classNameLabel?: string | undefined;
41
+ classNameLabelError?: string | undefined;
42
+ maxHeight?: number;
43
+ minHeight?: number;
44
+ }
@@ -0,0 +1,29 @@
1
+ import { UseFloatingOptions } from '@floating-ui/react';
2
+ import { ReactNode } from 'react';
3
+ import { TKeyLocale } from '../Calendar';
4
+
5
+ export type TTimeRangeValue = [[string, string], [string, string]];
6
+ export interface ITimeRange {
7
+ id?: string;
8
+ value?: TTimeRangeValue;
9
+ zIndexPopper?: number;
10
+ offsetPopover?: number;
11
+ classNameContainer?: string;
12
+ className?: string;
13
+ buttonClick?: (value: TTimeRangeValue, formatValue: string) => ReactNode;
14
+ onChange?: (value: TTimeRangeValue) => void;
15
+ floatingOptions?: UseFloatingOptions;
16
+ locale?: TKeyLocale;
17
+ buttonReset?: (() => ReactNode) | (() => ReactNode[]);
18
+ buttonSubmit?: (() => ReactNode) | (() => ReactNode[]);
19
+ disableValidation?: boolean;
20
+ }
21
+ export interface ITimeRangeListTime {
22
+ type: 'start' | 'end';
23
+ value: TTimeRangeValue[0];
24
+ values: TTimeRangeValue;
25
+ onChange: (value: TTimeRangeValue[0]) => void;
26
+ locale: TKeyLocale;
27
+ disableValidation: boolean;
28
+ }
29
+ export type TRenderTimeRageText = (value: TTimeRangeValue, locale: TKeyLocale) => string;
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+
2
3
  export interface ITimelineLayout {
3
4
  children: ReactNode | ReactNode[];
4
5
  id?: string;
@@ -2,6 +2,7 @@ import { FloatingArrowProps, UseFloatingOptions } from '@floating-ui/react';
2
2
  import { default as React } from 'react';
3
3
  import { IColor } from '../../../config/tailwind/colors';
4
4
  import { IPopover } from '../Popover';
5
+
5
6
  export interface ITooltip {
6
7
  id?: string;
7
8
  children: string | React.ReactNode | React.ReactNode[];
@@ -1,7 +1,9 @@
1
1
  import { default as React } from 'react';
2
2
  import { IInputReguler } from '../Input';
3
3
  import { IButton } from '../Button';
4
+
4
5
  export interface IUploadFile {
6
+ id?: string;
5
7
  onChange: (v?: File | null) => void;
6
8
  validateFile?: string[];
7
9
  maxFile?: number;
@@ -24,6 +26,7 @@ export interface IUploadImage {
24
26
  classNameContainer?: string | undefined;
25
27
  classNameImage?: string | undefined;
26
28
  classNameAction?: string | undefined;
29
+ id?: string;
27
30
  }
28
31
  export interface IUploadMultipleFile {
29
32
  onChange?: (v?: File[] | null) => void;
@@ -40,6 +43,7 @@ export interface IUploadMultipleFile {
40
43
  handlerDownload?: (value: IUploadMultipleFileValue) => void;
41
44
  priorityError?: 'internal' | 'external';
42
45
  eventError?: (message: string) => void;
46
+ locationRemoveElement?: 'left' | 'right';
43
47
  }
44
48
  export interface IUploadMultipleFileValue {
45
49
  name?: string;
@@ -1,5 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Components } from 'react-virtuoso';
3
+
3
4
  export interface IStyleHeight {
4
5
  height?: number;
5
6
  }