elseware-ui 2.27.2 → 2.27.5

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 (320) hide show
  1. package/dist/index.css +8948 -0
  2. package/dist/index.css.map +1 -0
  3. package/dist/index.d.mts +1537 -0
  4. package/dist/index.d.ts +1537 -0
  5. package/dist/index.js +17745 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.mjs +17567 -0
  8. package/dist/index.mjs.map +1 -0
  9. package/package.json +29 -35
  10. package/build/components/data-display/avatar/Avatar.d.ts +0 -14
  11. package/build/components/data-display/avatar/index.d.ts +0 -1
  12. package/build/components/data-display/badge/Badge.d.ts +0 -15
  13. package/build/components/data-display/badge/index.d.ts +0 -1
  14. package/build/components/data-display/banners/TitleBanner.d.ts +0 -9
  15. package/build/components/data-display/banners/index.d.ts +0 -1
  16. package/build/components/data-display/brand/Brand.d.ts +0 -7
  17. package/build/components/data-display/brand/index.d.ts +0 -2
  18. package/build/components/data-display/charts/bar-chart/BarChart.d.ts +0 -9
  19. package/build/components/data-display/charts/bar-chart/index.d.ts +0 -2
  20. package/build/components/data-display/charts/index.d.ts +0 -3
  21. package/build/components/data-display/charts/line-chart/LineChart.d.ts +0 -9
  22. package/build/components/data-display/charts/line-chart/index.d.ts +0 -2
  23. package/build/components/data-display/charts/pie-chart/PieChart.d.ts +0 -9
  24. package/build/components/data-display/charts/pie-chart/index.d.ts +0 -2
  25. package/build/components/data-display/chip/Chip.d.ts +0 -10
  26. package/build/components/data-display/chip/index.d.ts +0 -2
  27. package/build/components/data-display/data-view/com/DataViewContent.d.ts +0 -7
  28. package/build/components/data-display/data-view/com/DataViewFooter.d.ts +0 -6
  29. package/build/components/data-display/data-view/com/DataViewHeader.d.ts +0 -6
  30. package/build/components/data-display/data-view/com/DataViewSidebar.d.ts +0 -6
  31. package/build/components/data-display/data-view/controls/DataViewFilterGroup.d.ts +0 -12
  32. package/build/components/data-display/data-view/controls/DataViewPageSize.d.ts +0 -7
  33. package/build/components/data-display/data-view/controls/DataViewPagination.d.ts +0 -6
  34. package/build/components/data-display/data-view/controls/DataViewSearch.d.ts +0 -7
  35. package/build/components/data-display/data-view/controls/DataViewSort.d.ts +0 -11
  36. package/build/components/data-display/data-view/core/DataViewContext.d.ts +0 -3
  37. package/build/components/data-display/data-view/core/DataViewProvider.d.ts +0 -10
  38. package/build/components/data-display/data-view/core/types.d.ts +0 -22
  39. package/build/components/data-display/data-view/hooks/useDataView.d.ts +0 -2
  40. package/build/components/data-display/data-view/index.d.ts +0 -21
  41. package/build/components/data-display/data-view/utils/filterData.d.ts +0 -1
  42. package/build/components/data-display/data-view/utils/searchData.d.ts +0 -1
  43. package/build/components/data-display/data-view/utils/sortData.d.ts +0 -2
  44. package/build/components/data-display/flag/Flag.d.ts +0 -7
  45. package/build/components/data-display/flag/index.d.ts +0 -2
  46. package/build/components/data-display/graphs/Graph.d.ts +0 -11
  47. package/build/components/data-display/graphs/com/GraphEdge.d.ts +0 -8
  48. package/build/components/data-display/graphs/com/GraphNode.d.ts +0 -8
  49. package/build/components/data-display/graphs/com/GraphRenderer.d.ts +0 -11
  50. package/build/components/data-display/graphs/index.d.ts +0 -6
  51. package/build/components/data-display/graphs/layouts/forceLayout.d.ts +0 -3
  52. package/build/components/data-display/graphs/layouts/gridLayout.d.ts +0 -15
  53. package/build/components/data-display/graphs/layouts/index.d.ts +0 -4
  54. package/build/components/data-display/graphs/layouts/registry.d.ts +0 -14
  55. package/build/components/data-display/graphs/layouts/treeLayout.d.ts +0 -2
  56. package/build/components/data-display/graphs/types.d.ts +0 -27
  57. package/build/components/data-display/image/cloudinary-image/CloudinaryImage.d.ts +0 -9
  58. package/build/components/data-display/image/cloudinary-image/CloudinaryProvider.d.ts +0 -8
  59. package/build/components/data-display/image/cloudinary-image/index.d.ts +0 -4
  60. package/build/components/data-display/image/image/Image.d.ts +0 -8
  61. package/build/components/data-display/image/image/index.d.ts +0 -2
  62. package/build/components/data-display/image/index.d.ts +0 -2
  63. package/build/components/data-display/index.d.ts +0 -23
  64. package/build/components/data-display/info/Info.d.ts +0 -11
  65. package/build/components/data-display/info/index.d.ts +0 -2
  66. package/build/components/data-display/lists/List.d.ts +0 -22
  67. package/build/components/data-display/lists/ListItem.d.ts +0 -13
  68. package/build/components/data-display/lists/index.d.ts +0 -4
  69. package/build/components/data-display/price-tag/PriceTag.d.ts +0 -8
  70. package/build/components/data-display/price-tag/index.d.ts +0 -2
  71. package/build/components/data-display/progress-bar/ProgressBar.d.ts +0 -11
  72. package/build/components/data-display/progress-bar/index.d.ts +0 -1
  73. package/build/components/data-display/rating/index.d.ts +0 -2
  74. package/build/components/data-display/rating/star-rating/StarRating.d.ts +0 -9
  75. package/build/components/data-display/rating/star-rating/index.d.ts +0 -2
  76. package/build/components/data-display/rating/star-rating-distribution/StarRatingDistribution.d.ts +0 -23
  77. package/build/components/data-display/rating/star-rating-distribution/index.d.ts +0 -2
  78. package/build/components/data-display/slider/Slider.d.ts +0 -8
  79. package/build/components/data-display/slider/SliderItem.d.ts +0 -8
  80. package/build/components/data-display/slider/index.d.ts +0 -2
  81. package/build/components/data-display/table/Table.d.ts +0 -16
  82. package/build/components/data-display/table/index.d.ts +0 -2
  83. package/build/components/data-display/tag/Tag.d.ts +0 -6
  84. package/build/components/data-display/tag/index.d.ts +0 -2
  85. package/build/components/data-display/tooltip/Tooltip.d.ts +0 -12
  86. package/build/components/data-display/tooltip/index.d.ts +0 -2
  87. package/build/components/data-display/typography/chapter/Chapter.d.ts +0 -12
  88. package/build/components/data-display/typography/chapter/index.d.ts +0 -2
  89. package/build/components/data-display/typography/index.d.ts +0 -11
  90. package/build/components/data-display/typography/paragraph/Paragraph.d.ts +0 -12
  91. package/build/components/data-display/typography/paragraph/index.d.ts +0 -2
  92. package/build/components/data-display/typography/quote/Quote.d.ts +0 -5
  93. package/build/components/data-display/typography/quote/index.d.ts +0 -2
  94. package/build/components/data-display/typography/section/Section.d.ts +0 -12
  95. package/build/components/data-display/typography/section/index.d.ts +0 -2
  96. package/build/components/data-display/value-badge/ValueBadge.d.ts +0 -20
  97. package/build/components/data-display/value-badge/index.d.ts +0 -2
  98. package/build/components/data-display/video/cloudinary-video/CloudinaryVideo.d.ts +0 -2
  99. package/build/components/data-display/video/cloudinary-video/index.d.ts +0 -2
  100. package/build/components/data-display/video/index.d.ts +0 -2
  101. package/build/components/data-display/video/youtube-video-player/YoutubeVideoPlayer.d.ts +0 -7
  102. package/build/components/data-display/video/youtube-video-player/index.d.ts +0 -2
  103. package/build/components/data-display/world-map/WorldMap.d.ts +0 -16
  104. package/build/components/data-display/world-map/index.d.ts +0 -2
  105. package/build/components/data-entry/button/Button.d.ts +0 -18
  106. package/build/components/data-entry/button/index.d.ts +0 -2
  107. package/build/components/data-entry/checkbox/Checkbox.d.ts +0 -18
  108. package/build/components/data-entry/checkbox/index.d.ts +0 -2
  109. package/build/components/data-entry/date-selector/DateSelector.d.ts +0 -10
  110. package/build/components/data-entry/date-selector/index.d.ts +0 -2
  111. package/build/components/data-entry/form/DirtyObserver.d.ts +0 -7
  112. package/build/components/data-entry/form/Form.d.ts +0 -15
  113. package/build/components/data-entry/form/FormObserver.d.ts +0 -9
  114. package/build/components/data-entry/form/FormResponse.d.ts +0 -10
  115. package/build/components/data-entry/form/UnsavedChangesGuard.d.ts +0 -7
  116. package/build/components/data-entry/form/index.d.ts +0 -3
  117. package/build/components/data-entry/image-input/ImageInput.d.ts +0 -12
  118. package/build/components/data-entry/image-input/ImageView.d.ts +0 -7
  119. package/build/components/data-entry/image-input/index.d.ts +0 -2
  120. package/build/components/data-entry/index.d.ts +0 -13
  121. package/build/components/data-entry/input/index.d.ts +0 -6
  122. package/build/components/data-entry/input/input/Input.d.ts +0 -14
  123. package/build/components/data-entry/input/input/index.d.ts +0 -2
  124. package/build/components/data-entry/input/input-file/InputFile.d.ts +0 -7
  125. package/build/components/data-entry/input/input-file/index.d.ts +0 -2
  126. package/build/components/data-entry/input/input-label/InputLabel.d.ts +0 -8
  127. package/build/components/data-entry/input/input-label/index.d.ts +0 -2
  128. package/build/components/data-entry/input/input-list/InputList.d.ts +0 -8
  129. package/build/components/data-entry/input/input-list/index.d.ts +0 -2
  130. package/build/components/data-entry/input/input-list-group/InputListGroup.d.ts +0 -8
  131. package/build/components/data-entry/input/input-list-group/index.d.ts +0 -2
  132. package/build/components/data-entry/input/input-response/InputResponse.d.ts +0 -9
  133. package/build/components/data-entry/input/input-response/index.d.ts +0 -2
  134. package/build/components/data-entry/multi-image-input/MultiImageInput.d.ts +0 -8
  135. package/build/components/data-entry/multi-image-input/index.d.ts +0 -2
  136. package/build/components/data-entry/radio/Radio.d.ts +0 -7
  137. package/build/components/data-entry/radio/index.d.ts +0 -2
  138. package/build/components/data-entry/rating/StarRatingInput.d.ts +0 -7
  139. package/build/components/data-entry/rating/index.d.ts +0 -2
  140. package/build/components/data-entry/select/Select.d.ts +0 -11
  141. package/build/components/data-entry/select/index.d.ts +0 -2
  142. package/build/components/data-entry/switch/Switch.d.ts +0 -9
  143. package/build/components/data-entry/switch/index.d.ts +0 -2
  144. package/build/components/data-entry/tags/Tags.d.ts +0 -8
  145. package/build/components/data-entry/tags/index.d.ts +0 -2
  146. package/build/components/data-entry/text-area/TextArea.d.ts +0 -11
  147. package/build/components/data-entry/text-area/index.d.ts +0 -2
  148. package/build/components/eui/EUIProvider.d.ts +0 -12
  149. package/build/components/eui/EUITypes.d.ts +0 -15
  150. package/build/components/eui/index.d.ts +0 -3
  151. package/build/components/eui/resolveGlobalConfigs.d.ts +0 -2
  152. package/build/components/feedback/backdrop/Backdrop.d.ts +0 -7
  153. package/build/components/feedback/backdrop/index.d.ts +0 -2
  154. package/build/components/feedback/index.d.ts +0 -4
  155. package/build/components/feedback/skeleton/Skeleton.d.ts +0 -6
  156. package/build/components/feedback/skeleton/index.d.ts +0 -2
  157. package/build/components/feedback/toast/Toast.d.ts +0 -7
  158. package/build/components/feedback/toast/index.d.ts +0 -2
  159. package/build/components/feedback/transition/TransitionDropdown.d.ts +0 -7
  160. package/build/components/feedback/transition/TransitionFadeIn.d.ts +0 -7
  161. package/build/components/feedback/transition/index.d.ts +0 -7
  162. package/build/components/general/content-area/ContentArea.d.ts +0 -8
  163. package/build/components/general/content-area/index.d.ts +0 -2
  164. package/build/components/general/index.d.ts +0 -1
  165. package/build/components/index.d.ts +0 -12
  166. package/build/components/layout/block/Block.d.ts +0 -13
  167. package/build/components/layout/block/BlockGroup.d.ts +0 -10
  168. package/build/components/layout/block/index.d.ts +0 -3
  169. package/build/components/layout/flex/FlexCol.d.ts +0 -8
  170. package/build/components/layout/flex/FlexRow.d.ts +0 -8
  171. package/build/components/layout/flex/index.d.ts +0 -7
  172. package/build/components/layout/grid/Grid.d.ts +0 -7
  173. package/build/components/layout/grid/index.d.ts +0 -2
  174. package/build/components/layout/index.d.ts +0 -4
  175. package/build/components/layout/layout/Content.d.ts +0 -8
  176. package/build/components/layout/layout/Footer.d.ts +0 -6
  177. package/build/components/layout/layout/Header.d.ts +0 -7
  178. package/build/components/layout/layout/Layout.d.ts +0 -7
  179. package/build/components/layout/layout/index.d.ts +0 -5
  180. package/build/components/markdown/com/editor/MarkdownEditor.d.ts +0 -9
  181. package/build/components/markdown/com/toc/MarkdownTOC.d.ts +0 -5
  182. package/build/components/markdown/com/viewer/MarkdownViewer.d.ts +0 -7
  183. package/build/components/markdown/hooks/useMarkdown.d.ts +0 -1
  184. package/build/components/markdown/index.d.ts +0 -5
  185. package/build/components/markdown/provider/MarkdownContext.d.ts +0 -9
  186. package/build/components/markdown/provider/MarkdownProvider.d.ts +0 -7
  187. package/build/components/markdown/types/markdown.d.ts +0 -5
  188. package/build/components/markdown/utils/extractHeadings.d.ts +0 -2
  189. package/build/components/markdown/utils/generateHeadingNumbers.d.ts +0 -5
  190. package/build/components/markdown/utils/sanitizeHeading.d.ts +0 -1
  191. package/build/components/markdown/utils/slugify.d.ts +0 -1
  192. package/build/components/navigation/breadcrumb/Breadcrumb.d.ts +0 -18
  193. package/build/components/navigation/breadcrumb/BreadcrumbItem.d.ts +0 -9
  194. package/build/components/navigation/breadcrumb/index.d.ts +0 -3
  195. package/build/components/navigation/drawer/Drawer.d.ts +0 -9
  196. package/build/components/navigation/drawer/DrawerToggler.d.ts +0 -8
  197. package/build/components/navigation/drawer/index.d.ts +0 -3
  198. package/build/components/navigation/footer-nav/FooterNav.d.ts +0 -24
  199. package/build/components/navigation/footer-nav/FooterNavGroup.d.ts +0 -12
  200. package/build/components/navigation/footer-nav/FooterNavItem.d.ts +0 -11
  201. package/build/components/navigation/footer-nav/FooterNavItemContext.d.ts +0 -8
  202. package/build/components/navigation/footer-nav/FooterNavItemTitle.d.ts +0 -9
  203. package/build/components/navigation/footer-nav/index.d.ts +0 -6
  204. package/build/components/navigation/header-nav/HeaderNav.d.ts +0 -24
  205. package/build/components/navigation/header-nav/HeaderNavGroup.d.ts +0 -12
  206. package/build/components/navigation/header-nav/HeaderNavItem.d.ts +0 -11
  207. package/build/components/navigation/header-nav/HeaderNavItemContext.d.ts +0 -8
  208. package/build/components/navigation/header-nav/HeaderNavItemTitle.d.ts +0 -9
  209. package/build/components/navigation/header-nav/index.d.ts +0 -6
  210. package/build/components/navigation/index.d.ts +0 -7
  211. package/build/components/navigation/link/Link.d.ts +0 -13
  212. package/build/components/navigation/link/index.d.ts +0 -2
  213. package/build/components/navigation/menu/Menu.d.ts +0 -2
  214. package/build/components/navigation/menu/com/MIContext.d.ts +0 -7
  215. package/build/components/navigation/menu/com/MenuGroup.d.ts +0 -11
  216. package/build/components/navigation/menu/com/MenuItem.d.ts +0 -10
  217. package/build/components/navigation/menu/com/MenuItemTitle.d.ts +0 -8
  218. package/build/components/navigation/menu/index.d.ts +0 -7
  219. package/build/components/navigation/menu/types.d.ts +0 -36
  220. package/build/components/navigation/route-tabs/RouteTab.d.ts +0 -8
  221. package/build/components/navigation/route-tabs/RouteTabs.d.ts +0 -18
  222. package/build/components/navigation/route-tabs/index.d.ts +0 -3
  223. package/build/components/other/index.d.ts +0 -2
  224. package/build/components/other/modal/Modal.d.ts +0 -17
  225. package/build/components/other/modal/index.d.ts +0 -2
  226. package/build/components/other/under-construction-banner/UnderConstructionBanner.d.ts +0 -4
  227. package/build/components/other/under-construction-banner/index.d.ts +0 -2
  228. package/build/components/surfaces/accordion/Accordion.d.ts +0 -12
  229. package/build/components/surfaces/accordion/index.d.ts +0 -2
  230. package/build/components/surfaces/card/Card.d.ts +0 -15
  231. package/build/components/surfaces/card/CardContent.d.ts +0 -7
  232. package/build/components/surfaces/card/CardFooter.d.ts +0 -7
  233. package/build/components/surfaces/card/CardHeader.d.ts +0 -9
  234. package/build/components/surfaces/card/index.d.ts +0 -5
  235. package/build/components/surfaces/index.d.ts +0 -3
  236. package/build/components/surfaces/motion-surface/MotionSurface.d.ts +0 -16
  237. package/build/components/surfaces/motion-surface/animations/com/BlobAnimation.d.ts +0 -4
  238. package/build/components/surfaces/motion-surface/animations/com/GradientAnimation.d.ts +0 -4
  239. package/build/components/surfaces/motion-surface/animations/com/MeshAnimation.d.ts +0 -4
  240. package/build/components/surfaces/motion-surface/animations/configs.d.ts +0 -4
  241. package/build/components/surfaces/motion-surface/animations/registry.d.ts +0 -8
  242. package/build/components/surfaces/motion-surface/animations/types.d.ts +0 -24
  243. package/build/components/surfaces/motion-surface/index.d.ts +0 -4
  244. package/build/components/surfaces/motion-surface/overlays/com/DotsOverlay.d.ts +0 -5
  245. package/build/components/surfaces/motion-surface/overlays/com/GridOverlay.d.ts +0 -5
  246. package/build/components/surfaces/motion-surface/overlays/com/NoiseOverlay.d.ts +0 -5
  247. package/build/components/surfaces/motion-surface/overlays/config.d.ts +0 -4
  248. package/build/components/surfaces/motion-surface/overlays/registry.d.ts +0 -8
  249. package/build/components/surfaces/motion-surface/overlays/types.d.ts +0 -6
  250. package/build/components/theme/ShapeSwitch.d.ts +0 -1
  251. package/build/components/theme/ThemeContext.d.ts +0 -13
  252. package/build/components/theme/ThemeSwitch.d.ts +0 -1
  253. package/build/components/theme/index.d.ts +0 -4
  254. package/build/components/utils/async-component-wrapper/AsyncComponentWrapper.d.ts +0 -14
  255. package/build/components/utils/async-component-wrapper/index.d.ts +0 -2
  256. package/build/components/utils/glow-wrapper/GlowWrapper.d.ts +0 -11
  257. package/build/components/utils/glow-wrapper/index.d.ts +0 -2
  258. package/build/components/utils/index.d.ts +0 -3
  259. package/build/components/utils/show-more/ShowMore.d.ts +0 -6
  260. package/build/components/utils/show-more/index.d.ts +0 -2
  261. package/build/compositions/data-display/data-view-table/DataViewTable.d.ts +0 -21
  262. package/build/compositions/data-display/data-view-table/index.d.ts +0 -2
  263. package/build/compositions/data-display/index.d.ts +0 -2
  264. package/build/compositions/data-display/world-map-country-table/WorldMapCountryTable.d.ts +0 -7
  265. package/build/compositions/data-display/world-map-country-table/index.d.ts +0 -2
  266. package/build/compositions/index.d.ts +0 -2
  267. package/build/compositions/navigation/box-nav/BoxNav.d.ts +0 -3
  268. package/build/compositions/navigation/box-nav/BoxNav.types.d.ts +0 -13
  269. package/build/compositions/navigation/box-nav/BoxNavItem.d.ts +0 -10
  270. package/build/compositions/navigation/box-nav/index.d.ts +0 -4
  271. package/build/compositions/navigation/index.d.ts +0 -3
  272. package/build/compositions/navigation/sidebar/Sidebar.d.ts +0 -10
  273. package/build/compositions/navigation/sidebar/index.d.ts +0 -2
  274. package/build/compositions/navigation/top-nav/TopNav.d.ts +0 -2
  275. package/build/compositions/navigation/top-nav/com/TNContext.d.ts +0 -8
  276. package/build/compositions/navigation/top-nav/com/TNDropdown.d.ts +0 -8
  277. package/build/compositions/navigation/top-nav/com/TNDropdownGroup.d.ts +0 -12
  278. package/build/compositions/navigation/top-nav/com/TNDropdownItem.d.ts +0 -11
  279. package/build/compositions/navigation/top-nav/com/TNDropdownTitle.d.ts +0 -5
  280. package/build/compositions/navigation/top-nav/com/TNGroup.d.ts +0 -13
  281. package/build/compositions/navigation/top-nav/com/TNItem.d.ts +0 -10
  282. package/build/compositions/navigation/top-nav/index.d.ts +0 -7
  283. package/build/compositions/navigation/top-nav/types.d.ts +0 -37
  284. package/build/data/animations.d.ts +0 -8
  285. package/build/data/enums.d.ts +0 -50
  286. package/build/data/meta/country.d.ts +0 -9
  287. package/build/data/meta/currency.d.ts +0 -5
  288. package/build/data/meta/world_map_topojson.d.ts +0 -43
  289. package/build/data/styles.d.ts +0 -176
  290. package/build/data/test/images/index.d.ts +0 -7
  291. package/build/data/test/md/index.d.ts +0 -2
  292. package/build/data/test/test-data.d.ts +0 -20
  293. package/build/data/test/test-user-data.d.ts +0 -7
  294. package/build/hooks/components/useDrawer.d.ts +0 -6
  295. package/build/hooks/components/useModal.d.ts +0 -6
  296. package/build/hooks/index.d.ts +0 -7
  297. package/build/hooks/layout/useClickOutside.d.ts +0 -4
  298. package/build/hooks/layout/useIsMobile.d.ts +0 -2
  299. package/build/hooks/theme/useCurrentTheme.d.ts +0 -2
  300. package/build/hooks/theme/useTheme.d.ts +0 -2
  301. package/build/index.d.ts +0 -9
  302. package/build/index.es.js +0 -146291
  303. package/build/index.js +0 -146468
  304. package/build/interfaces/components.d.ts +0 -14
  305. package/build/interfaces/index.d.ts +0 -1
  306. package/build/layouts/GenericLayout.d.ts +0 -8
  307. package/build/layouts/dev/EUIDevLayout.d.ts +0 -8
  308. package/build/layouts/index.d.ts +0 -8
  309. package/build/layouts/primary/DefaultLayout.d.ts +0 -8
  310. package/build/layouts/primary/HomeLayout.d.ts +0 -8
  311. package/build/layouts/primary/SidebarLayout.d.ts +0 -8
  312. package/build/layouts/secondary/SidemenuLayout.d.ts +0 -7
  313. package/build/layouts/secondary/documentation-layout/DocumentationLayout.d.ts +0 -6
  314. package/build/types/components.d.ts +0 -17
  315. package/build/types/index.d.ts +0 -1
  316. package/build/utils/cn.d.ts +0 -2
  317. package/build/utils/components.d.ts +0 -2
  318. package/build/utils/currency.d.ts +0 -1
  319. package/build/utils/index.d.ts +0 -4
  320. package/build/utils/routes.d.ts +0 -2
@@ -0,0 +1,1537 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React$1, { HTMLAttributes, ReactNode, JSX, FC, MouseEvent, MutableRefObject } from 'react';
3
+ import { ChartData, ChartOptions } from 'chart.js';
4
+ import * as d3 from 'd3';
5
+ import * as formik from 'formik';
6
+ import { FieldHookConfig } from 'formik';
7
+ import { ClassValue } from 'clsx';
8
+
9
+ /**
10
+ * Contains ReactElements such as "children" using HTMLAttributes
11
+ *
12
+ * Contains DOMAttributes such as "onClick" using HTMLAttributes
13
+ *
14
+ * Define the custom types as follows for the custom DOM elements
15
+ * BaseComponentProps<HTMLDivElement> // default
16
+ * BaseComponentProps<HTMLButtonElement> // buttons
17
+ * BaseComponentProps<HTMLAnchorElement> // links
18
+ */
19
+ interface BaseComponentProps<T extends HTMLElement = HTMLDivElement> extends Omit<HTMLAttributes<T>, "children"> {
20
+ className?: string;
21
+ }
22
+
23
+ type Variant$1 = "default" | "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark";
24
+ type Shape$1 = "circle" | "roundedSquare" | "softRoundedSquare" | "square";
25
+ type Size$1 = "xs" | "sm" | "md" | "lg" | "xl";
26
+ type Appearance = "solid" | "lite" | "ghost";
27
+ type TextDecoration = "underline" | "overline" | "lineThrough" | "noUnderline";
28
+ type HyperRefTarget = "blank" | "self" | "parent" | "top";
29
+ type Vertical = "top" | "bottom";
30
+ type Horizontal = "left" | "right";
31
+ type CardinalPosition = Vertical | Horizontal;
32
+ type CornerPosition = `${Vertical}-${Horizontal}`;
33
+ type OctilePosition = CardinalPosition | CornerPosition;
34
+ type TitleBannerLevel = 1 | 2;
35
+ type ListBulletType = "dot" | "diamond" | "number" | "none";
36
+ type ListAlign = "start" | "center";
37
+ type ListDirection = "vertical" | "horizontal";
38
+ type RouteTabMode = "route" | "state";
39
+
40
+ interface AvatarProps extends BaseComponentProps {
41
+ alt?: string;
42
+ icon?: ReactNode;
43
+ variant?: Variant$1;
44
+ shape?: Shape$1;
45
+ size?: Size$1;
46
+ src?: string;
47
+ borderVariant?: boolean;
48
+ children?: ReactNode;
49
+ }
50
+ declare const Avatar: ({ alt, icon, children, variant, shape, size, src, borderVariant, className, ...rest }: AvatarProps) => react_jsx_runtime.JSX.Element;
51
+
52
+ interface BadgeProps extends BaseComponentProps {
53
+ offset?: [number, number];
54
+ dot?: boolean;
55
+ count?: number;
56
+ variant?: Variant$1;
57
+ shape?: Shape$1;
58
+ size?: Size$1;
59
+ showZero?: boolean;
60
+ position?: OctilePosition;
61
+ children?: ReactNode;
62
+ }
63
+ declare const Badge: ({ children, offset, dot, count, variant, shape, size, showZero, position, className, ...rest }: BadgeProps) => react_jsx_runtime.JSX.Element;
64
+
65
+ interface TitleBannerProps extends BaseComponentProps {
66
+ title: string;
67
+ level?: TitleBannerLevel;
68
+ rightSection?: ReactNode;
69
+ }
70
+ declare const TitleBanner: ({ title, level, rightSection, className, ...rest }: TitleBannerProps) => react_jsx_runtime.JSX.Element;
71
+
72
+ interface BrandProps extends BaseComponentProps {
73
+ src?: string;
74
+ alt?: string;
75
+ }
76
+ declare function Brand({ src, alt, className, ...rest }: BrandProps): react_jsx_runtime.JSX.Element;
77
+
78
+ interface BarChartProps extends BaseComponentProps {
79
+ data: ChartData<"bar">;
80
+ options: ChartOptions<"bar">;
81
+ }
82
+ declare const BarChart: React$1.FC<BarChartProps>;
83
+
84
+ interface LineChartProps extends BaseComponentProps {
85
+ data: ChartData<"line">;
86
+ options?: ChartOptions<"line">;
87
+ }
88
+ declare const LineChart: React$1.FC<LineChartProps>;
89
+
90
+ interface PieChartProps extends BaseComponentProps {
91
+ data: ChartData<"pie">;
92
+ options: ChartOptions<"pie">;
93
+ }
94
+ declare const PieChart: React$1.FC<PieChartProps>;
95
+
96
+ interface ChipProps extends BaseComponentProps {
97
+ label?: string;
98
+ variant?: Variant$1;
99
+ shape?: Shape$1;
100
+ ghost?: boolean;
101
+ size?: Size$1;
102
+ }
103
+ declare const Chip: ({ label, variant, shape, ghost, size, className, ...rest }: ChipProps) => react_jsx_runtime.JSX.Element;
104
+
105
+ type SortConfig<T, K extends keyof T = keyof T> = {
106
+ key: K;
107
+ direction?: "asc" | "desc";
108
+ transform?: (value: T[K]) => number | string;
109
+ };
110
+
111
+ interface Props$5<T> {
112
+ data: T[];
113
+ children: ReactNode;
114
+ defaultPageSize?: number;
115
+ sortConfig?: Record<string, SortConfig<T>>;
116
+ }
117
+ declare function DataViewProvider<T extends Record<string, any>>({ data, children, defaultPageSize, sortConfig, }: Props$5<T>): react_jsx_runtime.JSX.Element;
118
+
119
+ type DataViewHeaderProps = {
120
+ children: ReactNode;
121
+ };
122
+ declare function DataViewHeader({ children }: DataViewHeaderProps): react_jsx_runtime.JSX.Element;
123
+
124
+ type DataViewSidebarProps = {
125
+ children: ReactNode;
126
+ };
127
+ declare function DataViewSidebar({ children }: DataViewSidebarProps): react_jsx_runtime.JSX.Element;
128
+
129
+ type DataViewContentProps<T = any> = {
130
+ children: ReactNode | ((data: T[]) => ReactNode);
131
+ };
132
+ declare function DataViewContent<T = any>({ children, }: DataViewContentProps<T>): JSX.Element;
133
+
134
+ type DataViewFooterProps = {
135
+ children: ReactNode;
136
+ };
137
+ declare function DataViewFooter({ children }: DataViewFooterProps): react_jsx_runtime.JSX.Element;
138
+
139
+ type DataViewSearchProps = {
140
+ placeholder?: string;
141
+ shape?: Shape$1;
142
+ };
143
+ declare function DataViewSearch({ placeholder, shape, }: DataViewSearchProps): react_jsx_runtime.JSX.Element;
144
+
145
+ type SortOption$1 = {
146
+ value: string;
147
+ label: string;
148
+ };
149
+ type DataViewSortProps = {
150
+ options: SortOption$1[];
151
+ shape?: Shape$1;
152
+ };
153
+ declare function DataViewSort({ options, shape }: DataViewSortProps): react_jsx_runtime.JSX.Element;
154
+
155
+ type FilterOption = {
156
+ value: string;
157
+ label: string;
158
+ dotClass?: string;
159
+ };
160
+ type DataViewFilterGroupProps<T = any> = {
161
+ filterKey: keyof T;
162
+ options: FilterOption[];
163
+ title?: string;
164
+ };
165
+ declare function DataViewFilterGroup<T extends Record<string, any>>({ filterKey, options, title, }: DataViewFilterGroupProps<T>): react_jsx_runtime.JSX.Element;
166
+
167
+ type Props$4 = {
168
+ pageSizeOptions?: (number | "All")[];
169
+ shape?: Shape$1;
170
+ };
171
+ declare function DataViewPageSize({ pageSizeOptions, shape, }: Props$4): react_jsx_runtime.JSX.Element;
172
+
173
+ type Props$3 = {
174
+ shape?: Shape$1;
175
+ };
176
+ declare function DataViewPagination({ shape }: Props$3): react_jsx_runtime.JSX.Element | null;
177
+
178
+ declare const DataView: typeof DataViewProvider & {
179
+ Header: typeof DataViewHeader;
180
+ Sidebar: typeof DataViewSidebar;
181
+ Content: typeof DataViewContent;
182
+ Footer: typeof DataViewFooter;
183
+ Pagination: typeof DataViewPagination;
184
+ Search: typeof DataViewSearch;
185
+ Sort: typeof DataViewSort;
186
+ FilterGroup: typeof DataViewFilterGroup;
187
+ PageSize: typeof DataViewPageSize;
188
+ };
189
+
190
+ interface FlagProps extends BaseComponentProps {
191
+ code: string;
192
+ width?: number | string;
193
+ height?: number | string;
194
+ }
195
+ declare const Flag: ({ code, width, height, className, ...rest }: FlagProps) => react_jsx_runtime.JSX.Element;
196
+
197
+ type GraphLayoutType = "force" | "grid" | "tree" | (string & {});
198
+ interface GraphData {
199
+ nodes: GraphNodeType[];
200
+ edges: GraphEdgeType[];
201
+ }
202
+ interface GraphNodeType {
203
+ id: string;
204
+ label?: string;
205
+ type?: "default" | "avatar" | "custom";
206
+ data?: any;
207
+ x?: number;
208
+ y?: number;
209
+ vx?: number;
210
+ vy?: number;
211
+ fx?: number | null;
212
+ fy?: number | null;
213
+ size?: number;
214
+ color?: string;
215
+ }
216
+ interface GraphEdgeType {
217
+ id?: string;
218
+ from: string | GraphNodeType;
219
+ to: string | GraphNodeType;
220
+ weight?: string;
221
+ color?: string;
222
+ width?: number;
223
+ }
224
+
225
+ interface GraphProps extends BaseComponentProps {
226
+ data: GraphData;
227
+ layout?: string;
228
+ nodeRenderer?: (node: any) => React$1.ReactNode;
229
+ width?: number;
230
+ height?: number;
231
+ }
232
+ declare const Graph: ({ data, layout, nodeRenderer, width, height, className, ...rest }: GraphProps) => react_jsx_runtime.JSX.Element;
233
+
234
+ interface Props$2 {
235
+ edge: GraphEdgeType;
236
+ nodeMap: Map<string, GraphNodeType>;
237
+ }
238
+ declare const GraphEdge: React$1.FC<Props$2>;
239
+
240
+ interface Props$1 {
241
+ node: GraphNodeType;
242
+ renderCustom?: (node: GraphNodeType) => React$1.ReactNode;
243
+ }
244
+ declare const GraphNode: React$1.FC<Props$1>;
245
+
246
+ interface Props {
247
+ data: GraphData;
248
+ layout?: string;
249
+ nodeRenderer?: (node: GraphNodeType) => React$1.ReactNode;
250
+ width?: number;
251
+ height?: number;
252
+ }
253
+ declare const GraphRenderer: React$1.FC<Props>;
254
+
255
+ declare const createForceLayout: (nodes: GraphNodeType[], edges: GraphEdgeType[], width: number, height: number) => d3.Simulation<GraphNodeType, undefined>;
256
+
257
+ declare function createGridLayout(nodes: GraphNodeType[], width: number, height: number): {
258
+ x: number;
259
+ y: number;
260
+ id: string;
261
+ label?: string | undefined;
262
+ type?: "default" | "custom" | "avatar" | undefined;
263
+ data?: any;
264
+ vx?: number | undefined;
265
+ vy?: number | undefined;
266
+ fx?: number | null | undefined;
267
+ fy?: number | null | undefined;
268
+ size?: number | undefined;
269
+ color?: string | undefined;
270
+ }[];
271
+
272
+ declare function createTreeLayout(nodes: GraphNodeType[], edges: GraphEdgeType[], width: number, height: number): GraphNodeType[];
273
+
274
+ interface LayoutContext {
275
+ nodes: GraphNodeType[];
276
+ edges: GraphEdgeType[];
277
+ width: number;
278
+ height: number;
279
+ onTick?: (nodes: GraphNodeType[]) => void;
280
+ }
281
+ type LayoutExecutor = (ctx: LayoutContext) => {
282
+ type: "static" | "simulation";
283
+ stop?: () => void;
284
+ };
285
+ declare const registerLayout: (type: GraphLayoutType, executor: LayoutExecutor) => void;
286
+ declare const getLayout: (type: GraphLayoutType) => LayoutExecutor;
287
+
288
+ interface CloudinaryImageProps extends BaseComponentProps {
289
+ publicId?: string;
290
+ cloudName?: string;
291
+ secure?: boolean;
292
+ alt?: string;
293
+ }
294
+ declare function CloudinaryImage({ publicId, cloudName, secure, alt, className, ...rest }: CloudinaryImageProps): react_jsx_runtime.JSX.Element;
295
+
296
+ interface CloudinaryConfig {
297
+ cloudName: string;
298
+ }
299
+ declare const CloudinaryProvider: ({ cloudName, children, }: CloudinaryConfig & {
300
+ children: React.ReactNode;
301
+ }) => react_jsx_runtime.JSX.Element;
302
+ declare const useCloudinaryConfig: () => CloudinaryConfig;
303
+
304
+ interface ImageProps extends BaseComponentProps {
305
+ alt?: string;
306
+ src?: string;
307
+ height?: number;
308
+ width?: number;
309
+ }
310
+ declare const Image: ({ alt, src, height, width, className, ...rest }: ImageProps) => react_jsx_runtime.JSX.Element;
311
+
312
+ interface InfoProps extends BaseComponentProps {
313
+ variant?: Variant$1;
314
+ appearance?: Appearance;
315
+ shape?: Shape$1;
316
+ children?: ReactNode;
317
+ }
318
+ declare function Info({ children, className, variant, appearance, shape, ...rest }: InfoProps): react_jsx_runtime.JSX.Element;
319
+
320
+ interface ListItemData {
321
+ content: React$1.ReactNode;
322
+ bulletType?: ListBulletType;
323
+ renderBullet?: (index?: number) => React$1.ReactNode;
324
+ TypographyComponent?: React$1.ReactNode;
325
+ className?: string;
326
+ }
327
+ interface ListProps extends BaseComponentProps {
328
+ title?: string;
329
+ items: (string | React$1.ReactNode | ListItemData)[];
330
+ direction?: ListDirection;
331
+ gap?: 1 | 2 | 3 | 4;
332
+ columns?: 1 | 2 | 3 | 4;
333
+ align?: ListAlign;
334
+ wrap?: boolean;
335
+ bulletType?: ListBulletType;
336
+ }
337
+ declare function List({ title, items, direction, gap, columns, align, wrap, bulletType, className, ...rest }: ListProps): react_jsx_runtime.JSX.Element;
338
+
339
+ interface ListItemProps {
340
+ content: React$1.ReactNode;
341
+ index?: number;
342
+ TypographyComponent?: React$1.ReactNode;
343
+ bulletType?: ListBulletType;
344
+ renderBullet?: (index?: number) => React$1.ReactNode;
345
+ align?: ListAlign;
346
+ className?: string;
347
+ }
348
+ declare const ListItem: ({ content, TypographyComponent, bulletType, renderBullet, index, align, className, }: ListItemProps) => react_jsx_runtime.JSX.Element;
349
+
350
+ interface PriceTagProps {
351
+ discount?: number;
352
+ price: number;
353
+ code?: string;
354
+ styles?: string;
355
+ }
356
+ declare function PriceTag({ discount, price, code, styles }: PriceTagProps): react_jsx_runtime.JSX.Element | undefined;
357
+
358
+ declare enum Variant {
359
+ default = "default",
360
+ primary = "primary",
361
+ secondary = "secondary",
362
+ success = "success",
363
+ danger = "danger",
364
+ warning = "warning",
365
+ info = "info",
366
+ light = "light",
367
+ dark = "dark"
368
+ }
369
+ declare enum TextVariant {
370
+ default = "default",
371
+ primary = "primary",
372
+ secondary = "secondary",
373
+ success = "success",
374
+ danger = "danger",
375
+ warning = "warning",
376
+ info = "info",
377
+ light = "light",
378
+ dark = "dark"
379
+ }
380
+ declare enum Shape {
381
+ circle = "circle",
382
+ roundedSquare = "roundedSquare",
383
+ softRoundedSquare = "softRoundedSquare",
384
+ square = "square"
385
+ }
386
+ declare enum Size {
387
+ xs = "xs",
388
+ sm = "sm",
389
+ md = "md",
390
+ lg = "lg",
391
+ xl = "xl"
392
+ }
393
+ declare enum Decoration {
394
+ underline = "underline",
395
+ overline = "overline",
396
+ lineThrough = "lineThrough",
397
+ noUnderline = "noUnderline"
398
+ }
399
+ declare enum Target {
400
+ blank = "blank",
401
+ self = "self",
402
+ parent = "parent",
403
+ top = "top"
404
+ }
405
+
406
+ interface ProgressBarProps {
407
+ value: number;
408
+ variant?: keyof typeof Variant;
409
+ size?: keyof typeof Size;
410
+ showLabel?: boolean;
411
+ label?: string;
412
+ labelPlacement?: "top" | "overlay";
413
+ styles?: string;
414
+ }
415
+ declare const ProgressBar: ({ value, variant, size, showLabel, label, labelPlacement, styles, }: ProgressBarProps) => react_jsx_runtime.JSX.Element;
416
+
417
+ interface StarRatingProps {
418
+ rating: number;
419
+ isNumericRatingEnabled?: boolean;
420
+ reviewAmount?: number;
421
+ isReviewAmountEnabled?: boolean;
422
+ styles?: string;
423
+ }
424
+ declare function StarRating({ rating, reviewAmount, isNumericRatingEnabled, isReviewAmountEnabled, styles }: StarRatingProps): react_jsx_runtime.JSX.Element;
425
+
426
+ declare function StarRatingDistribution({ numericRating, progressBarsRating, ratingDistribution, }: {
427
+ numericRating?: boolean | undefined;
428
+ progressBarsRating?: boolean | undefined;
429
+ ratingDistribution?: {
430
+ star: number;
431
+ count: number;
432
+ }[] | undefined;
433
+ }): react_jsx_runtime.JSX.Element;
434
+
435
+ interface SliderProps {
436
+ isLoading?: boolean;
437
+ isSuccess?: boolean;
438
+ coverArt: string;
439
+ screenshots: string[];
440
+ }
441
+ declare function Slider({ isLoading, isSuccess, coverArt, screenshots }: SliderProps): react_jsx_runtime.JSX.Element;
442
+
443
+ interface TableColumnConfig<T> {
444
+ key: keyof T | string;
445
+ header: string;
446
+ sortable?: boolean;
447
+ render?: (value: any, row: T) => ReactNode;
448
+ }
449
+ interface TableProps<T> {
450
+ title?: string;
451
+ columns: TableColumnConfig<T>[];
452
+ data: T[];
453
+ shape?: Shape$1;
454
+ }
455
+ declare function Table<T extends Record<string, any>>({ title, columns, data, shape, }: TableProps<T>): react_jsx_runtime.JSX.Element;
456
+
457
+ interface TagProps {
458
+ text: string;
459
+ styles?: string;
460
+ }
461
+ declare function Tag({ text, styles }: TagProps): react_jsx_runtime.JSX.Element;
462
+
463
+ interface TooltipProps {
464
+ content: ReactNode;
465
+ show: boolean;
466
+ offsetX?: number;
467
+ offsetY?: number;
468
+ className?: string;
469
+ }
470
+ /**
471
+ * A generalized tooltip that automatically follows the mouse cursor.
472
+ */
473
+ declare function Tooltip({ content, show, offsetX, offsetY, className, }: TooltipProps): react_jsx_runtime.JSX.Element | null;
474
+
475
+ interface QuoteProps {
476
+ children?: string;
477
+ styles?: string;
478
+ }
479
+ declare const Quote: ({ children, styles }: QuoteProps) => react_jsx_runtime.JSX.Element;
480
+
481
+ interface ParagraphProps {
482
+ level: 1 | 2 | 3;
483
+ children?: string;
484
+ variant?: keyof typeof TextVariant;
485
+ styles?: string;
486
+ decoration?: keyof typeof Decoration;
487
+ bold?: boolean;
488
+ italic?: boolean;
489
+ onClick?: () => void;
490
+ }
491
+ declare const Paragraph: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ParagraphProps) => react_jsx_runtime.JSX.Element;
492
+
493
+ interface SectionProps {
494
+ level: 1 | 2 | 3;
495
+ children?: string;
496
+ variant?: keyof typeof TextVariant;
497
+ styles?: string;
498
+ decoration?: keyof typeof Decoration;
499
+ bold?: boolean;
500
+ italic?: boolean;
501
+ onClick?: () => void;
502
+ }
503
+ declare const Section: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: SectionProps) => react_jsx_runtime.JSX.Element;
504
+
505
+ interface ChapterProps {
506
+ level: 1 | 2 | 3;
507
+ children?: string;
508
+ variant?: keyof typeof TextVariant;
509
+ styles?: string;
510
+ decoration?: keyof typeof Decoration;
511
+ bold?: boolean;
512
+ italic?: boolean;
513
+ onClick?: () => void;
514
+ }
515
+ declare const Chapter: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ChapterProps) => react_jsx_runtime.JSX.Element;
516
+
517
+ declare const Typography: {
518
+ Chapter: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ChapterProps) => react_jsx_runtime.JSX.Element;
519
+ Section: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: SectionProps) => react_jsx_runtime.JSX.Element;
520
+ Paragraph: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ParagraphProps) => react_jsx_runtime.JSX.Element;
521
+ Quote: ({ children, styles }: QuoteProps) => react_jsx_runtime.JSX.Element;
522
+ };
523
+
524
+ interface Tier {
525
+ condition: (percent: number) => boolean;
526
+ style: {
527
+ bg: string;
528
+ color: string;
529
+ };
530
+ }
531
+ interface ValueBadgeProps {
532
+ value: number;
533
+ tiers?: Tier[];
534
+ lowerBound?: number;
535
+ upperBound?: number;
536
+ formatValue?: (value: number) => string | number;
537
+ className?: string;
538
+ noBackground?: boolean;
539
+ }
540
+ declare const ValueBadge: ({ value, tiers, lowerBound, upperBound, formatValue, className, noBackground, }: ValueBadgeProps) => react_jsx_runtime.JSX.Element;
541
+
542
+ declare function CloudinaryVideo(): react_jsx_runtime.JSX.Element;
543
+
544
+ interface YoutubeVideoPlayerProps {
545
+ videoUrl: string;
546
+ width?: number;
547
+ height?: number;
548
+ }
549
+ declare function YoutubeVideoPlayer({ videoUrl, width, height, }: YoutubeVideoPlayerProps): react_jsx_runtime.JSX.Element;
550
+
551
+ interface WorldMapPoint {
552
+ code: string;
553
+ value: number;
554
+ }
555
+ interface WorldMapProps {
556
+ data: WorldMapPoint[];
557
+ title?: string;
558
+ bubbleColor?: string;
559
+ bubbleStroke?: string;
560
+ bubbleScale?: number;
561
+ minBubble?: number;
562
+ styles?: string;
563
+ disableCountryHover?: boolean;
564
+ disableCountrySelect?: boolean;
565
+ }
566
+ declare function WorldMap({ data, title, bubbleColor, bubbleStroke, bubbleScale, minBubble, styles, disableCountryHover, disableCountrySelect, }: WorldMapProps): react_jsx_runtime.JSX.Element;
567
+
568
+ interface ButtonProps {
569
+ type?: "button" | "submit";
570
+ icon?: ReactNode;
571
+ text?: string;
572
+ children?: ReactNode;
573
+ loading?: boolean;
574
+ disabled?: boolean;
575
+ ghost?: boolean;
576
+ block?: boolean;
577
+ variant?: keyof typeof Variant;
578
+ shape?: keyof typeof Shape;
579
+ size?: keyof typeof Size;
580
+ styles?: string;
581
+ onClick?: () => void;
582
+ }
583
+ declare const Button: ({ type, icon, text, children, loading, disabled, ghost, block, variant, shape, size, styles, onClick, }: ButtonProps) => react_jsx_runtime.JSX.Element;
584
+
585
+ interface CheckboxOption {
586
+ label: string;
587
+ value: string;
588
+ }
589
+ interface BaseCheckboxProps {
590
+ placeholder: string;
591
+ }
592
+ interface SingleCheckboxProps extends BaseCheckboxProps {
593
+ options?: never;
594
+ }
595
+ interface MultiCheckboxProps extends BaseCheckboxProps {
596
+ options: CheckboxOption[];
597
+ }
598
+ type CheckboxProps = (SingleCheckboxProps & FieldHookConfig<boolean>) | (MultiCheckboxProps & FieldHookConfig<string[]>);
599
+ declare const Checkbox: React$1.FC<CheckboxProps>;
600
+
601
+ type DateSelectorProps = FieldHookConfig<string> & {
602
+ name: string;
603
+ placeholder: string;
604
+ styles?: string;
605
+ shape?: keyof typeof Shape;
606
+ };
607
+ declare const DateSelector: ({ placeholder, styles, shape, ...props }: DateSelectorProps) => react_jsx_runtime.JSX.Element;
608
+
609
+ interface FormProps {
610
+ initialValues?: Record<string, any>;
611
+ validationSchema?: object;
612
+ enableReinitialize?: boolean;
613
+ children?: React$1.ReactNode;
614
+ styles?: string;
615
+ onSubmit: (values: any, helpers?: any) => void;
616
+ onChange?: (values: Record<string, any>, meta?: {
617
+ changed: Record<string, any>;
618
+ }) => void;
619
+ warnOnUnsavedChanges?: boolean;
620
+ onDirtyChange?: (dirty: boolean) => void;
621
+ }
622
+ declare const Form: ({ initialValues, validationSchema, enableReinitialize, children, styles, onSubmit, onChange, warnOnUnsavedChanges, onDirtyChange, }: FormProps) => react_jsx_runtime.JSX.Element;
623
+
624
+ interface FormResponseProps {
625
+ text: string | undefined;
626
+ variant?: keyof typeof Variant;
627
+ shape?: keyof typeof Shape;
628
+ size?: keyof typeof Size;
629
+ styles?: string;
630
+ }
631
+ declare function FormResponse({ text, variant, shape, size, styles, }: FormResponseProps): react_jsx_runtime.JSX.Element;
632
+
633
+ interface ImageInputProps {
634
+ title?: string;
635
+ uploadDir?: string;
636
+ onValueChanged?: (imageUrl: string) => void;
637
+ disableSetValue?: boolean;
638
+ }
639
+ interface ImageInputRef {
640
+ handleResetClick: () => void;
641
+ }
642
+ declare const ImageInput: React$1.ForwardRefExoticComponent<(Omit<React$1.ClassAttributes<HTMLInputElement> & React$1.InputHTMLAttributes<HTMLInputElement> & formik.FieldConfig<string> & ImageInputProps, "ref"> | Omit<React$1.ClassAttributes<HTMLSelectElement> & React$1.SelectHTMLAttributes<HTMLSelectElement> & formik.FieldConfig<string> & ImageInputProps, "ref"> | Omit<React$1.ClassAttributes<HTMLTextAreaElement> & React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & formik.FieldConfig<string> & ImageInputProps, "ref">) & React$1.RefAttributes<ImageInputRef>>;
643
+
644
+ type InputProps = FieldHookConfig<string> & {
645
+ type: "text" | "password" | "number";
646
+ name: string;
647
+ placeholder: string;
648
+ styles?: string;
649
+ step?: string;
650
+ shape?: keyof typeof Shape;
651
+ };
652
+ declare const Input: ({ type, placeholder, styles, step, shape, ...props }: InputProps) => react_jsx_runtime.JSX.Element;
653
+
654
+ interface InputFileProps {
655
+ placeholder: string;
656
+ accept?: string;
657
+ styles?: string;
658
+ }
659
+ declare const InputFile: ({ placeholder, accept, styles, ...props }: FieldHookConfig<File | null> & InputFileProps) => react_jsx_runtime.JSX.Element;
660
+
661
+ interface FormDataEntryLabelProps {
662
+ text?: string;
663
+ children?: React$1.ReactNode;
664
+ styles?: string;
665
+ }
666
+ declare function InputLabel({ text, children, styles }: FormDataEntryLabelProps): react_jsx_runtime.JSX.Element;
667
+
668
+ interface InputListProps {
669
+ name: string;
670
+ placeholder?: string;
671
+ shape?: keyof typeof Shape;
672
+ }
673
+ declare const InputList: ({ name, placeholder, shape }: InputListProps) => react_jsx_runtime.JSX.Element;
674
+
675
+ interface InputListGroupProps {
676
+ name: string;
677
+ placeholder?: string;
678
+ shape?: keyof typeof Shape;
679
+ }
680
+ declare const InputListGroup: ({ name, placeholder, shape, }: InputListGroupProps) => react_jsx_runtime.JSX.Element;
681
+
682
+ interface InputResponseProps {
683
+ name: string;
684
+ visibility?: boolean;
685
+ variant?: keyof typeof TextVariant;
686
+ styles?: string;
687
+ }
688
+ declare function InputResponse({ name, visibility, variant, styles, }: InputResponseProps): react_jsx_runtime.JSX.Element;
689
+
690
+ interface MultiImageInputProps {
691
+ title?: string;
692
+ uploadDir?: string;
693
+ name: string;
694
+ }
695
+ declare function MultiImageInput({ title, uploadDir, ...props }: FieldHookConfig<string[]> & MultiImageInputProps): react_jsx_runtime.JSX.Element;
696
+
697
+ interface RadioProps {
698
+ placeholder: string;
699
+ options: any[];
700
+ }
701
+ declare function Radio({ placeholder, options, ...props }: FieldHookConfig<string> & RadioProps): react_jsx_runtime.JSX.Element;
702
+
703
+ interface StarRatingInputProps {
704
+ starAmount?: number;
705
+ styles?: string;
706
+ }
707
+ declare function StarRatingInput({ starAmount, styles, ...props }: FieldHookConfig<string> & StarRatingInputProps): react_jsx_runtime.JSX.Element;
708
+
709
+ type SelectProps = FieldHookConfig<string> & {
710
+ name: string;
711
+ placeholder: string;
712
+ options: any[];
713
+ styles?: string;
714
+ shape?: keyof typeof Shape;
715
+ };
716
+ declare function Select({ placeholder, options, styles, shape, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
717
+
718
+ interface SwitchProps {
719
+ name: string;
720
+ label?: string;
721
+ description?: string;
722
+ showStatus?: boolean;
723
+ }
724
+ declare function Switch({ label, description, showStatus, ...props }: FieldHookConfig<boolean> & SwitchProps): react_jsx_runtime.JSX.Element;
725
+
726
+ interface TagsProps {
727
+ placeholder: string;
728
+ styles?: string;
729
+ limit?: number;
730
+ }
731
+ declare function Tags({ placeholder, styles, limit, ...props }: TagsProps & FieldHookConfig<string[]>): react_jsx_runtime.JSX.Element;
732
+
733
+ type TextAreaProps = FieldHookConfig<string> & {
734
+ name: string;
735
+ placeholder: string;
736
+ limit: number;
737
+ styles?: string;
738
+ shape?: keyof typeof Shape;
739
+ };
740
+ declare function TextArea({ placeholder, limit, styles, shape, ...props }: TextAreaProps): react_jsx_runtime.JSX.Element;
741
+
742
+ interface EUIComponentDefaults {
743
+ variant?: keyof typeof Variant;
744
+ size?: keyof typeof Size;
745
+ shape?: keyof typeof Shape;
746
+ styles?: string;
747
+ }
748
+ interface EUIRoute {
749
+ path: string;
750
+ name: string;
751
+ }
752
+ interface EUIConfigs {
753
+ global?: EUIComponentDefaults;
754
+ routes?: EUIRoute[];
755
+ }
756
+
757
+ interface EUIContextValue {
758
+ config: EUIConfigs;
759
+ setConfig: React$1.Dispatch<React$1.SetStateAction<EUIConfigs>>;
760
+ }
761
+ declare const EUIProvider: ({ config, children, }: {
762
+ config: EUIConfigs;
763
+ children: React$1.ReactNode;
764
+ }) => react_jsx_runtime.JSX.Element;
765
+ declare const useEUIConfig: () => EUIContextValue;
766
+
767
+ declare function resolveWithGlobal<T>(config: EUIConfigs | null, props: T, defaults: Partial<T>): T;
768
+
769
+ interface BackdropProps {
770
+ children?: React$1.ReactNode;
771
+ styles?: string;
772
+ }
773
+ declare const Backdrop: ({ children, styles }: BackdropProps) => react_jsx_runtime.JSX.Element;
774
+
775
+ interface SkeletonProps {
776
+ children?: React$1.ReactNode;
777
+ styles?: string;
778
+ }
779
+ declare const Skeleton: ({ children, styles }: SkeletonProps) => react_jsx_runtime.JSX.Element;
780
+
781
+ declare function sendToast(data?: {
782
+ status: string;
783
+ message: string;
784
+ }): void;
785
+ declare function Toast(): react_jsx_runtime.JSX.Element;
786
+
787
+ interface TransitionDropdownProps$1 {
788
+ visibility: any;
789
+ children?: ReactNode;
790
+ }
791
+ declare function TransitionDropdown({ visibility, children }: TransitionDropdownProps$1): react_jsx_runtime.JSX.Element;
792
+
793
+ interface TransitionDropdownProps {
794
+ visibility: any;
795
+ children?: ReactNode;
796
+ }
797
+ declare function TransitionFadeIn({ visibility, children }: TransitionDropdownProps): react_jsx_runtime.JSX.Element;
798
+
799
+ declare const Transition: {
800
+ TransitionDropdown: typeof TransitionDropdown;
801
+ TransitionFadeIn: typeof TransitionFadeIn;
802
+ };
803
+
804
+ interface ContentAreaProps {
805
+ children?: ReactNode;
806
+ styles?: string;
807
+ enablePadding?: boolean;
808
+ }
809
+ declare function ContentArea({ children, styles, enablePadding, }: ContentAreaProps): react_jsx_runtime.JSX.Element;
810
+
811
+ interface FlexColProps$1 {
812
+ children?: React$1.ReactNode;
813
+ gap?: number;
814
+ styles?: string;
815
+ }
816
+ declare function FlexCol({ children, gap, styles }: FlexColProps$1): react_jsx_runtime.JSX.Element;
817
+
818
+ interface FlexColProps {
819
+ children?: React$1.ReactNode;
820
+ gap?: number;
821
+ styles?: string;
822
+ }
823
+ declare function FlexRow({ children, gap, styles }: FlexColProps): react_jsx_runtime.JSX.Element;
824
+
825
+ declare const Flex: {
826
+ FlexCol: typeof FlexCol;
827
+ FlexRow: typeof FlexRow;
828
+ };
829
+
830
+ interface GridProps {
831
+ children?: React$1.ReactNode;
832
+ styles?: string;
833
+ }
834
+ declare function Grid({ children, styles }: GridProps): react_jsx_runtime.JSX.Element;
835
+
836
+ interface LayoutProps {
837
+ flexDirection?: "vertical" | "horizontal";
838
+ children?: React$1.ReactNode;
839
+ styles?: string;
840
+ }
841
+ declare const Layout: ({ flexDirection, children, styles, }: LayoutProps) => react_jsx_runtime.JSX.Element;
842
+
843
+ interface HeaderProps {
844
+ position?: "static" | "fixed" | "sticky";
845
+ children?: React$1.ReactNode;
846
+ styles?: string;
847
+ }
848
+ declare const Header: ({ position, children, styles, }: HeaderProps) => react_jsx_runtime.JSX.Element;
849
+
850
+ interface ContentProps {
851
+ children?: React$1.ReactNode;
852
+ overlayedSidebar?: boolean;
853
+ sidebarVisible?: boolean;
854
+ styles?: string;
855
+ }
856
+ declare const Content: ({ sidebarVisible, overlayedSidebar, children, styles, }: ContentProps) => react_jsx_runtime.JSX.Element;
857
+
858
+ interface FooterProps {
859
+ children?: React$1.ReactNode;
860
+ styles?: string;
861
+ }
862
+ declare const Footer: ({ children, styles }: FooterProps) => react_jsx_runtime.JSX.Element;
863
+
864
+ interface BlockProps extends BaseComponentProps {
865
+ title?: string;
866
+ description?: string;
867
+ required?: boolean;
868
+ layout?: ListDirection;
869
+ labelWidth?: string;
870
+ children: React$1.ReactNode;
871
+ }
872
+ declare function Block({ title, description, required, layout, labelWidth, children, className, ...rest }: BlockProps): react_jsx_runtime.JSX.Element;
873
+
874
+ interface BlockGroupProps extends BaseComponentProps {
875
+ title?: string;
876
+ description?: string;
877
+ children: React$1.ReactNode;
878
+ noDivider?: boolean;
879
+ }
880
+ declare function BlockGroup({ title, description, children, noDivider, className, ...rest }: BlockGroupProps): react_jsx_runtime.JSX.Element;
881
+
882
+ interface MarkdownEditorProps {
883
+ placeholder?: string;
884
+ styles?: string;
885
+ }
886
+ declare function MarkdownEditor({ styles, ...props }: MarkdownEditorProps & FieldHookConfig<string>): react_jsx_runtime.JSX.Element;
887
+
888
+ interface MarkdownTOCProps {
889
+ title?: string;
890
+ }
891
+ declare function MarkdownTOC({ title }: MarkdownTOCProps): react_jsx_runtime.JSX.Element | null;
892
+
893
+ interface MarkdownViewerProps {
894
+ value?: string;
895
+ }
896
+ declare function MarkdownViewer({ value }: MarkdownViewerProps): react_jsx_runtime.JSX.Element;
897
+
898
+ interface MarkdownProviderProps {
899
+ markdown: string;
900
+ children: React$1.ReactNode;
901
+ }
902
+ declare function MarkdownProvider({ markdown, children }: MarkdownProviderProps): react_jsx_runtime.JSX.Element;
903
+
904
+ interface I_ItemType {
905
+ title: string;
906
+ href: string;
907
+ }
908
+ interface RouteConfig {
909
+ path: string;
910
+ name: string;
911
+ }
912
+ interface BreadcrumbProps {
913
+ gap?: number;
914
+ seperator?: string;
915
+ data?: I_ItemType[];
916
+ routes?: RouteConfig[];
917
+ currentPath?: string;
918
+ navigate?: (path: string) => void;
919
+ styles?: string;
920
+ }
921
+ declare const Breadcrumb: ({ gap, seperator, data, routes, currentPath, navigate, styles, }: BreadcrumbProps) => react_jsx_runtime.JSX.Element;
922
+
923
+ interface BreadcrumbItemProps {
924
+ title: string;
925
+ href: string;
926
+ active: boolean;
927
+ onClick?: (e: React$1.MouseEvent<HTMLAnchorElement>) => void;
928
+ }
929
+ declare function BreadcrumbItem({ title, href, active, onClick, }: BreadcrumbItemProps): react_jsx_runtime.JSX.Element;
930
+
931
+ interface DrawerProps {
932
+ children?: React$1.ReactNode;
933
+ visibility: boolean;
934
+ side?: "left" | "right" | "top" | "bottom";
935
+ handleClose: () => void;
936
+ styles?: string;
937
+ }
938
+ declare const Drawer: ({ children, visibility, side, handleClose, styles, }: DrawerProps) => react_jsx_runtime.JSX.Element;
939
+
940
+ interface DrawerTogglerProps {
941
+ icon?: ReactNode;
942
+ toggleDrawer?: () => void;
943
+ styles?: string;
944
+ }
945
+ declare function DrawerToggler({ icon, toggleDrawer, styles, }: DrawerTogglerProps): react_jsx_runtime.JSX.Element;
946
+
947
+ interface I_FooterNavItem {
948
+ component: any;
949
+ icon?: React$1.ReactNode;
950
+ name: string;
951
+ badge?: React$1.ReactNode;
952
+ to?: string;
953
+ onClick?: () => void;
954
+ }
955
+ interface I_FooterNavGroup {
956
+ component: any;
957
+ icon?: React$1.ReactNode;
958
+ name: string;
959
+ badge?: React$1.ReactNode;
960
+ to?: string;
961
+ items: I_FooterNavItem[];
962
+ }
963
+ type FooterDataItemProps = I_FooterNavItem | I_FooterNavGroup;
964
+ interface FooterNavProps {
965
+ data: FooterDataItemProps[];
966
+ styles?: string;
967
+ }
968
+ declare function FooterNav({ data, styles }: FooterNavProps): react_jsx_runtime.JSX.Element;
969
+
970
+ interface FooterNavGroupProps {
971
+ icon?: React$1.ReactNode;
972
+ name: string;
973
+ description: string;
974
+ badge?: React$1.ReactNode;
975
+ to?: string;
976
+ children: React$1.ReactNode;
977
+ styles?: string;
978
+ }
979
+ declare const FooterNavGroup: ({ icon, name, description, badge, to, styles, children, }: FooterNavGroupProps) => react_jsx_runtime.JSX.Element;
980
+
981
+ interface FooterNavItemProps {
982
+ icon?: React$1.ReactNode;
983
+ name: string;
984
+ description: string;
985
+ badge?: React$1.ReactNode;
986
+ to?: string;
987
+ onClick?: () => void;
988
+ styles?: string;
989
+ }
990
+ declare const FooterNavItem: ({ icon, name, description, badge, to, onClick, styles, }: FooterNavItemProps) => react_jsx_runtime.JSX.Element;
991
+
992
+ interface FooterNavItemTitleProps {
993
+ icon?: React$1.ReactNode;
994
+ name: string;
995
+ description: string;
996
+ badge?: React$1.ReactNode;
997
+ styles?: string;
998
+ }
999
+ declare const FooterNavItemTitle: ({ icon, name, description, badge, styles, }: FooterNavItemTitleProps) => react_jsx_runtime.JSX.Element;
1000
+
1001
+ interface FooterNavItemContextProps {
1002
+ icon?: React$1.ReactNode;
1003
+ name: string;
1004
+ description: string;
1005
+ badge?: React$1.ReactNode;
1006
+ }
1007
+ declare const FooterNavItemContext: ({ icon, name, description, badge, }: FooterNavItemContextProps) => react_jsx_runtime.JSX.Element;
1008
+
1009
+ interface I_HeaderNavItem {
1010
+ component: any;
1011
+ icon?: React$1.ReactNode;
1012
+ name: string;
1013
+ badge?: React$1.ReactNode;
1014
+ to?: string;
1015
+ onClick?: () => void;
1016
+ }
1017
+ interface I_HeaderNavGroup {
1018
+ component: any;
1019
+ icon?: React$1.ReactNode;
1020
+ name: string;
1021
+ badge?: React$1.ReactNode;
1022
+ to?: string;
1023
+ items: I_HeaderNavItem[];
1024
+ }
1025
+ type HeaderDataItemProps = I_HeaderNavItem | I_HeaderNavGroup;
1026
+ interface HeaderNavProps {
1027
+ data: HeaderDataItemProps[];
1028
+ styles?: string;
1029
+ }
1030
+ declare function HeaderNav({ data, styles }: HeaderNavProps): react_jsx_runtime.JSX.Element;
1031
+
1032
+ interface HeaderNavGroupProps {
1033
+ icon?: React$1.ReactNode;
1034
+ name: string;
1035
+ description: string;
1036
+ badge?: React$1.ReactNode;
1037
+ to?: string;
1038
+ children: React$1.ReactNode;
1039
+ styles?: string;
1040
+ }
1041
+ declare const HeaderNavGroup: ({ icon, name, description, badge, to, styles, children, }: HeaderNavGroupProps) => react_jsx_runtime.JSX.Element;
1042
+
1043
+ interface HeaderNavItemProps {
1044
+ icon?: React$1.ReactNode;
1045
+ name: string;
1046
+ description: string;
1047
+ badge?: React$1.ReactNode;
1048
+ to?: string;
1049
+ onClick?: () => void;
1050
+ styles?: string;
1051
+ }
1052
+ declare const HeaderNavItem: ({ icon, name, description, badge, to, onClick, styles, }: HeaderNavItemProps) => react_jsx_runtime.JSX.Element;
1053
+
1054
+ interface HeaderNavItemTitleProps {
1055
+ icon?: React$1.ReactNode;
1056
+ name: string;
1057
+ description: string;
1058
+ badge?: React$1.ReactNode;
1059
+ styles?: string;
1060
+ }
1061
+ declare const HeaderNavItemTitle: ({ icon, name, description, badge, styles, }: HeaderNavItemTitleProps) => react_jsx_runtime.JSX.Element;
1062
+
1063
+ interface HeaderNavItemContextProps {
1064
+ icon?: React$1.ReactNode;
1065
+ name: string;
1066
+ description: string;
1067
+ badge?: React$1.ReactNode;
1068
+ }
1069
+ declare const HeaderNavItemContext: ({ icon, name, description, badge, }: HeaderNavItemContextProps) => react_jsx_runtime.JSX.Element;
1070
+
1071
+ interface LinkProps {
1072
+ children?: string;
1073
+ href?: string;
1074
+ target?: keyof typeof Target;
1075
+ variant?: keyof typeof TextVariant;
1076
+ styles?: string;
1077
+ decoration?: keyof typeof Decoration;
1078
+ bold?: boolean;
1079
+ italic?: boolean;
1080
+ onClick?: () => void;
1081
+ }
1082
+ declare const Link: ({ children, href, target, variant, decoration, bold, italic, styles, onClick, }: LinkProps) => react_jsx_runtime.JSX.Element;
1083
+
1084
+ type MenuElementType = "item" | "group" | "title";
1085
+ interface BaseMenuNode {
1086
+ key?: string;
1087
+ name: string;
1088
+ icon?: React$1.ReactNode;
1089
+ badge?: React$1.ReactNode;
1090
+ className?: string;
1091
+ component?: React$1.ElementType;
1092
+ }
1093
+ interface MenuItemNode extends BaseMenuNode {
1094
+ type: "item";
1095
+ to?: string;
1096
+ navigate?: (to: string) => void;
1097
+ onClick?: (e: React$1.MouseEvent<HTMLDivElement>) => void;
1098
+ }
1099
+ interface MenuGroupNode extends BaseMenuNode {
1100
+ type: "group";
1101
+ items: MenuNode[];
1102
+ }
1103
+ interface MenuTitleNode extends BaseMenuNode {
1104
+ type: "title";
1105
+ }
1106
+ type MenuNode = MenuItemNode | MenuGroupNode | MenuTitleNode;
1107
+ interface DefaultMenuElements {
1108
+ item?: React$1.ElementType;
1109
+ group?: React$1.ElementType;
1110
+ title?: React$1.ElementType;
1111
+ }
1112
+ interface MenuProps {
1113
+ items: MenuNode[];
1114
+ defaultMenuElements?: DefaultMenuElements;
1115
+ className?: string;
1116
+ navigate?: (to: string) => void;
1117
+ currentPath?: string;
1118
+ }
1119
+
1120
+ declare const Menu: ({ items, className, navigate, defaultMenuElements, currentPath, }: MenuProps) => react_jsx_runtime.JSX.Element;
1121
+
1122
+ interface MenuGroupProps extends BaseComponentProps {
1123
+ icon?: React$1.ReactNode;
1124
+ name: string;
1125
+ badge?: React$1.ReactNode;
1126
+ to?: string;
1127
+ children: React$1.ReactNode;
1128
+ defaultOpen?: boolean;
1129
+ }
1130
+ declare const MenuGroup: ({ icon, name, badge, children, defaultOpen, className, style, ...rest }: MenuGroupProps) => react_jsx_runtime.JSX.Element;
1131
+
1132
+ interface MenuItemProps extends BaseComponentProps {
1133
+ icon?: React$1.ReactNode;
1134
+ name: string;
1135
+ badge?: React$1.ReactNode;
1136
+ to?: string;
1137
+ navigate?: (to: string) => void;
1138
+ }
1139
+ declare const MenuItem: ({ icon, name, badge, to, navigate, className, onClick, ...rest }: MenuItemProps) => react_jsx_runtime.JSX.Element;
1140
+
1141
+ interface MenuItemTitleProps extends BaseComponentProps {
1142
+ icon?: React$1.ReactNode;
1143
+ name: string;
1144
+ badge?: React$1.ReactNode;
1145
+ }
1146
+ declare const MenuItemTitle: ({ icon, name, badge, className, style, ...rest }: MenuItemTitleProps) => react_jsx_runtime.JSX.Element;
1147
+
1148
+ interface RouteTabProps extends BaseComponentProps {
1149
+ title: string;
1150
+ selected?: boolean;
1151
+ onClick?: () => void;
1152
+ }
1153
+ declare function RouteTab({ title, onClick, selected, className, ...rest }: RouteTabProps): react_jsx_runtime.JSX.Element;
1154
+
1155
+ interface RouteTabsNavItem {
1156
+ name: string;
1157
+ to: string;
1158
+ selected?: boolean;
1159
+ }
1160
+ interface RouteTabsProps extends BaseComponentProps {
1161
+ navData: RouteTabsNavItem[];
1162
+ children: React.ReactNode | ((activeTab: string) => React.ReactNode);
1163
+ onTabClick?: (to: string) => void;
1164
+ mode?: RouteTabMode;
1165
+ defaultActive?: string;
1166
+ animated?: boolean;
1167
+ }
1168
+ declare function RouteTabs({ navData, children, onTabClick, mode, defaultActive, animated, className, ...rest }: RouteTabsProps): react_jsx_runtime.JSX.Element;
1169
+
1170
+ interface ModalProps {
1171
+ title: string;
1172
+ show: boolean;
1173
+ handleOnClose?: () => void;
1174
+ children?: React$1.ReactNode;
1175
+ enableCloseOnClickOutside: boolean;
1176
+ isLoading?: boolean;
1177
+ isSuccess?: boolean;
1178
+ isError?: boolean;
1179
+ error?: unknown;
1180
+ styles?: string;
1181
+ shape?: keyof typeof Shape;
1182
+ }
1183
+ declare function Modal({ title, show, handleOnClose, children, isLoading, isSuccess, isError, error, styles, enableCloseOnClickOutside, shape, }: ModalProps): react_jsx_runtime.JSX.Element;
1184
+
1185
+ interface UnderConstructionBannerProps {
1186
+ text?: string;
1187
+ }
1188
+ declare function UnderConstructionBanner({ text, }: UnderConstructionBannerProps): react_jsx_runtime.JSX.Element;
1189
+
1190
+ interface AccordionProps {
1191
+ summary?: ReactNode | string;
1192
+ children?: ReactNode;
1193
+ lhsActions?: ReactNode;
1194
+ rhsActions?: ReactNode;
1195
+ defaultCollapse?: boolean;
1196
+ toggleOnSummaryClick?: boolean;
1197
+ enableChildrenPadding?: boolean;
1198
+ }
1199
+ declare function Accordion({ summary, children, lhsActions, rhsActions, defaultCollapse, toggleOnSummaryClick, enableChildrenPadding, }: AccordionProps): react_jsx_runtime.JSX.Element;
1200
+
1201
+ declare const hoverAnimations: {
1202
+ none: string;
1203
+ lift: string;
1204
+ scale: string;
1205
+ glow: string;
1206
+ borderGlow: string;
1207
+ softLift: string;
1208
+ };
1209
+
1210
+ interface CardProps {
1211
+ children?: ReactNode;
1212
+ styles?: string;
1213
+ bgVariant?: keyof typeof Variant;
1214
+ borderVariant?: keyof typeof Variant;
1215
+ interactive?: boolean;
1216
+ ghost?: boolean;
1217
+ shape?: keyof typeof Shape;
1218
+ hoverAnimation?: keyof typeof hoverAnimations;
1219
+ }
1220
+ declare function Card({ children, styles, bgVariant, borderVariant, interactive, ghost, shape, hoverAnimation, }: CardProps): react_jsx_runtime.JSX.Element;
1221
+
1222
+ interface CardHeaderProps {
1223
+ icon?: React$1.ReactNode;
1224
+ title?: string;
1225
+ description?: string;
1226
+ className?: string;
1227
+ }
1228
+ declare function CardHeader({ icon, title, description, className }: CardHeaderProps): react_jsx_runtime.JSX.Element;
1229
+
1230
+ interface CardContentProps {
1231
+ children?: React$1.ReactNode;
1232
+ className?: string;
1233
+ }
1234
+ declare function CardContent({ children, className }: CardContentProps): react_jsx_runtime.JSX.Element;
1235
+
1236
+ interface CardFooterProps {
1237
+ children?: React$1.ReactNode;
1238
+ className?: string;
1239
+ }
1240
+ declare function CardFooter({ children, className }: CardFooterProps): react_jsx_runtime.JSX.Element;
1241
+
1242
+ type AnimationVariant = "none" | "gradient" | "blobs" | "mesh" | "custom";
1243
+ interface BaseAnimationConfig {
1244
+ duration: number;
1245
+ ease?: string;
1246
+ opacity?: number;
1247
+ colors?: string[];
1248
+ }
1249
+ interface BlobAnimationConfig extends BaseAnimationConfig {
1250
+ size?: number;
1251
+ blur?: number;
1252
+ count?: number;
1253
+ }
1254
+ interface GradientAnimationConfig extends BaseAnimationConfig {
1255
+ angle?: number;
1256
+ backgroundSize?: string;
1257
+ }
1258
+ interface MeshAnimationConfig extends BaseAnimationConfig {
1259
+ density?: number;
1260
+ backgroundSize?: string;
1261
+ }
1262
+ interface AnimationComponentProps<T = BaseAnimationConfig> {
1263
+ config?: T;
1264
+ animated?: boolean;
1265
+ }
1266
+
1267
+ type OverlayVariant = "none" | "noise" | "grid" | "dots" | "custom";
1268
+ interface BaseOverlayConfig {
1269
+ opacity?: number;
1270
+ size?: number;
1271
+ color?: string;
1272
+ }
1273
+
1274
+ interface MotionSurfaceProps {
1275
+ children?: ReactNode;
1276
+ animationVariant?: AnimationVariant;
1277
+ animationConfig?: BaseAnimationConfig;
1278
+ animated?: boolean;
1279
+ overlay?: OverlayVariant;
1280
+ overlayConfig?: BaseOverlayConfig;
1281
+ className?: string;
1282
+ customAnimation?: React$1.ComponentType<any>;
1283
+ customOverlay?: React$1.ComponentType<any>;
1284
+ }
1285
+ declare function MotionSurface({ children, animationVariant, animationConfig, animated, overlay, overlayConfig, className, customAnimation: CustomAnimation, customOverlay: CustomOverlay, }: MotionSurfaceProps): react_jsx_runtime.JSX.Element;
1286
+
1287
+ interface ThemeContextProps {
1288
+ theme: "light" | "dark";
1289
+ setTheme: (theme: "light" | "dark") => void;
1290
+ toggleTheme: () => void;
1291
+ }
1292
+ declare const ThemeContext: React$1.Context<ThemeContextProps | undefined>;
1293
+ interface ThemeProviderProps {
1294
+ defaultTheme?: "light" | "dark";
1295
+ children: ReactNode;
1296
+ }
1297
+ declare const ThemeProvider: ({ defaultTheme, children, }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
1298
+
1299
+ declare const ThemeSwitch: () => react_jsx_runtime.JSX.Element | null;
1300
+
1301
+ declare const ShapeSwitch: () => react_jsx_runtime.JSX.Element;
1302
+
1303
+ interface AsyncComponentWrapperProps {
1304
+ children: React$1.ReactNode;
1305
+ isLoading?: boolean;
1306
+ isSuccess?: boolean;
1307
+ isError?: boolean;
1308
+ error?: unknown;
1309
+ /**
1310
+ * Optional custom formatter if you want full control
1311
+ */
1312
+ errorFormatter?: (error: unknown) => string;
1313
+ }
1314
+ declare function AsyncComponentWrapper({ children, isLoading, isSuccess, isError, error, errorFormatter, }: AsyncComponentWrapperProps): react_jsx_runtime.JSX.Element;
1315
+
1316
+ interface GlowWrapperProps {
1317
+ children: ReactNode;
1318
+ glowSize?: number;
1319
+ glowColor?: string;
1320
+ className?: string;
1321
+ /** optional: when true, glow hides while mouse is outside */
1322
+ hideOnLeave?: boolean;
1323
+ }
1324
+ declare const GlowWrapper: FC<GlowWrapperProps>;
1325
+
1326
+ interface ShowMoreProps {
1327
+ text: string;
1328
+ limit: number;
1329
+ }
1330
+ declare function ShowMore({ text, limit }: ShowMoreProps): react_jsx_runtime.JSX.Element;
1331
+
1332
+ type SortOption = {
1333
+ value: string;
1334
+ label: string;
1335
+ };
1336
+ interface DataViewTableProps<T> {
1337
+ title?: string;
1338
+ columns: TableColumnConfig<T>[];
1339
+ data: T[];
1340
+ sortOptions?: SortOption[];
1341
+ sortConfig?: Record<string, SortConfig<T>>;
1342
+ searchPlaceholder?: string;
1343
+ defaultPageSize?: number;
1344
+ isLoading?: boolean;
1345
+ isSuccess?: boolean;
1346
+ isError?: boolean;
1347
+ error?: unknown;
1348
+ }
1349
+ declare function DataViewTable<T extends Record<string, any>>({ title, columns, data, sortOptions, sortConfig, searchPlaceholder, defaultPageSize, isLoading, isSuccess, isError, error, }: DataViewTableProps<T>): react_jsx_runtime.JSX.Element;
1350
+
1351
+ interface WorldMapCountryTableProps {
1352
+ title?: string;
1353
+ data: WorldMapPoint[];
1354
+ }
1355
+ declare function WorldMapCountryTable({ title, data, }: WorldMapCountryTableProps): react_jsx_runtime.JSX.Element;
1356
+
1357
+ interface NavItem {
1358
+ icon: React$1.ReactNode;
1359
+ name: string;
1360
+ to: string;
1361
+ selected?: boolean;
1362
+ }
1363
+ interface BoxNavProps {
1364
+ data?: NavItem[];
1365
+ currentPath?: string;
1366
+ onNavigate?: (to: string) => void;
1367
+ navigate?: (to: string) => void;
1368
+ }
1369
+
1370
+ declare function BoxNav({ data, currentPath, onNavigate, navigate }: BoxNavProps): react_jsx_runtime.JSX.Element;
1371
+
1372
+ interface BoxNavItemProps {
1373
+ icon: React$1.ReactNode;
1374
+ name: string;
1375
+ to: string;
1376
+ selected?: boolean;
1377
+ onClick?: (event: React$1.MouseEvent<HTMLButtonElement>, to: string) => void;
1378
+ }
1379
+ declare function BoxNavItem({ icon, name, to, selected, onClick }: BoxNavItemProps): react_jsx_runtime.JSX.Element;
1380
+
1381
+ interface SidebarProps extends BaseComponentProps {
1382
+ items?: MenuNode[];
1383
+ navigate?: (to: string) => void;
1384
+ currentPath?: string;
1385
+ }
1386
+ declare function Sidebar({ items, navigate, currentPath, className, ...rest }: SidebarProps): react_jsx_runtime.JSX.Element;
1387
+
1388
+ interface TopNavComponents {
1389
+ item?: React.ElementType;
1390
+ group?: React.ElementType;
1391
+ dropdown?: React.ElementType;
1392
+ dropdownItem?: React.ElementType;
1393
+ dropdownGroup?: React.ElementType;
1394
+ dropdownTitle?: React.ElementType;
1395
+ }
1396
+ interface BaseTopNavNode {
1397
+ key?: string;
1398
+ name: string;
1399
+ icon?: React.ReactNode;
1400
+ badge?: React.ReactNode;
1401
+ className?: string;
1402
+ component?: React.ElementType;
1403
+ }
1404
+ interface TopNavItemNode extends BaseTopNavNode {
1405
+ type: "item";
1406
+ to?: string;
1407
+ onClick?: () => void;
1408
+ }
1409
+ interface TopNavGroupNode extends BaseTopNavNode {
1410
+ type: "group";
1411
+ items: TopNavNode[];
1412
+ columns?: number;
1413
+ }
1414
+ interface TopNavTitleNode extends BaseTopNavNode {
1415
+ type: "title";
1416
+ }
1417
+ type TopNavNode = TopNavItemNode | TopNavGroupNode | TopNavTitleNode;
1418
+ interface TopNavProps {
1419
+ items: TopNavNode[];
1420
+ currentPath?: string;
1421
+ navigate?: (to: string) => void;
1422
+ components?: TopNavComponents;
1423
+ }
1424
+
1425
+ declare const TopNav: ({ items, currentPath, navigate, components, }: TopNavProps) => react_jsx_runtime.JSX.Element;
1426
+
1427
+ interface TNDropdownProps extends BaseComponentProps {
1428
+ items: TopNavNode[];
1429
+ navigate?: (to: string) => void;
1430
+ components?: any;
1431
+ }
1432
+ declare const TNDropdown: ({ items, navigate, components, }: TNDropdownProps) => react_jsx_runtime.JSX.Element;
1433
+
1434
+ interface TNDropdownItemProps extends BaseComponentProps {
1435
+ icon?: React.ReactNode;
1436
+ name: string;
1437
+ badge?: React.ReactNode;
1438
+ to?: string;
1439
+ navigate?: (to: string) => void;
1440
+ onClick?: (e: MouseEvent<HTMLDivElement>) => void;
1441
+ }
1442
+ declare const TNDropdownItem: ({ icon, name, badge, to, navigate, onClick, className, }: TNDropdownItemProps) => react_jsx_runtime.JSX.Element;
1443
+
1444
+ interface TNDropdownTitleProps extends BaseComponentProps {
1445
+ name: string;
1446
+ }
1447
+ declare const TNDropdownTitle: ({ name, className }: TNDropdownTitleProps) => react_jsx_runtime.JSX.Element;
1448
+
1449
+ interface TNGroupProps extends BaseComponentProps {
1450
+ icon?: React.ReactNode;
1451
+ name: string;
1452
+ items: TopNavNode[];
1453
+ navigate?: (to: string) => void;
1454
+ columns?: number;
1455
+ components?: any;
1456
+ selected?: boolean;
1457
+ }
1458
+ declare const TNGroup: ({ icon, name, items, navigate, columns, components, selected, }: TNGroupProps) => react_jsx_runtime.JSX.Element;
1459
+
1460
+ declare const useDrawer: (defaultVisibility?: boolean) => {
1461
+ show: boolean;
1462
+ openDrawer: () => void;
1463
+ closeDrawer: () => void;
1464
+ };
1465
+
1466
+ declare const useModal: () => {
1467
+ show: boolean;
1468
+ handleOpenModal: () => void;
1469
+ handleCloseModal: () => void;
1470
+ };
1471
+
1472
+ type ClickOutsideCallback = () => void;
1473
+ declare function useClickOutside(ref: MutableRefObject<HTMLElement | null>, fun?: ClickOutsideCallback): void;
1474
+
1475
+ declare const useIsMobile: (breakpoint?: number) => boolean;
1476
+
1477
+ declare const useCurrentTheme: () => "light" | "dark";
1478
+
1479
+ declare const useTheme: () => any;
1480
+
1481
+ interface GenericLayoutProps {
1482
+ children?: ReactNode;
1483
+ styles?: string;
1484
+ defaultTheme?: "light" | "dark";
1485
+ }
1486
+ declare function GenericLayout({ children, styles, defaultTheme, }: GenericLayoutProps): react_jsx_runtime.JSX.Element;
1487
+
1488
+ interface DefaultLayoutProps {
1489
+ children?: ReactNode;
1490
+ header?: ReactNode;
1491
+ footer?: ReactNode;
1492
+ }
1493
+ declare function DefaultLayout({ children, header, footer, }: DefaultLayoutProps): react_jsx_runtime.JSX.Element;
1494
+
1495
+ interface HomeLayoutProps {
1496
+ children?: ReactNode;
1497
+ header?: ReactNode;
1498
+ footer?: ReactNode;
1499
+ }
1500
+ declare function HomeLayout({ children, header, footer, }: HomeLayoutProps): react_jsx_runtime.JSX.Element;
1501
+
1502
+ interface SidebarLayoutProps {
1503
+ children?: ReactNode;
1504
+ header?: ReactNode;
1505
+ footer?: ReactNode;
1506
+ }
1507
+ declare function SidebarLayout({ children, header, footer, }: SidebarLayoutProps): react_jsx_runtime.JSX.Element;
1508
+
1509
+ interface SidemenuLayoutProps {
1510
+ data?: any;
1511
+ children?: ReactNode;
1512
+ }
1513
+ declare function SidemenuLayout({ data, children }: SidemenuLayoutProps): react_jsx_runtime.JSX.Element;
1514
+
1515
+ interface DocumentationLayoutProps {
1516
+ value: string;
1517
+ toc?: boolean;
1518
+ }
1519
+ declare function DocumentationLayout({ value, toc }: DocumentationLayoutProps): react_jsx_runtime.JSX.Element;
1520
+
1521
+ interface EUIDevLayoutProps {
1522
+ children?: ReactNode;
1523
+ header?: ReactNode;
1524
+ footer?: ReactNode;
1525
+ }
1526
+ declare function EUIDevLayout({ children, header, footer, }: EUIDevLayoutProps): react_jsx_runtime.JSX.Element;
1527
+
1528
+ declare function cn(...inputs: ClassValue[]): string;
1529
+
1530
+ declare const getCurrencySymbol: (code: string) => string | null;
1531
+
1532
+ declare function isRenderFn(children: ReactNode | ((activeTab: string) => ReactNode)): children is (activeTab: string) => ReactNode;
1533
+
1534
+ declare const normalize: (path?: string) => string;
1535
+ declare const isMatch: (itemPath?: string, currentPath?: string) => boolean;
1536
+
1537
+ export { Accordion, type AnimationComponentProps, type AnimationVariant, type Appearance, AsyncComponentWrapper, Avatar, Backdrop, Badge, BarChart, type BaseAnimationConfig, type BaseComponentProps, type BaseMenuNode, type BaseOverlayConfig, type BaseTopNavNode, type BlobAnimationConfig, Block, BlockGroup, BoxNav, BoxNavItem, Brand, Breadcrumb, BreadcrumbItem, Button, Card, CardContent, CardFooter, CardHeader, type CardinalPosition, Chapter, Checkbox, Chip, CloudinaryImage, CloudinaryProvider, CloudinaryVideo, Content, ContentArea, type CornerPosition, DataView, DataViewTable, DateSelector, DefaultLayout, type DefaultMenuElements, DocumentationLayout, Drawer, DrawerToggler, type EUIComponentDefaults, type EUIConfigs, EUIDevLayout, EUIProvider, type EUIRoute, Flag, Flex, FlexCol, FlexRow, Footer, FooterNav, FooterNavGroup, FooterNavItem, FooterNavItemContext, FooterNavItemTitle, Form, FormResponse, GenericLayout, GlowWrapper, type GradientAnimationConfig, Graph, type GraphData, GraphEdge, type GraphEdgeType, type GraphLayoutType, GraphNode, type GraphNodeType, type GraphProps, GraphRenderer, Grid, Header, HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemContext, HeaderNavItemTitle, HomeLayout, type HyperRefTarget, Image, ImageInput, Info, Input, InputFile, InputLabel, InputList, InputListGroup, InputResponse, Layout, type LayoutContext, type LayoutExecutor, LineChart, Link, List, type ListAlign, type ListBulletType, type ListDirection, ListItem, type ListItemData, MarkdownEditor, MarkdownProvider, MarkdownTOC, MarkdownViewer, Menu, type MenuElementType, MenuGroup, type MenuGroupNode, MenuItem, type MenuItemNode, MenuItemTitle, type MenuNode, type MenuProps, type MenuTitleNode, type MeshAnimationConfig, Modal, MotionSurface, MultiImageInput, type NavItem, type OctilePosition, type OverlayVariant, Paragraph, PieChart, PriceTag, ProgressBar, type ProgressBarProps, Quote, Radio, RouteTab, type RouteTabMode, RouteTabs, Section, Select, type Shape$1 as Shape, ShapeSwitch, ShowMore, Sidebar, SidebarLayout, SidemenuLayout, type Size$1 as Size, Skeleton, Slider, StarRating, StarRatingDistribution, StarRatingInput, Switch, TNDropdown, TNDropdownItem, TNDropdownTitle, TNGroup, Table, Tag, Tags, TextArea, type TextDecoration, ThemeContext, ThemeProvider, ThemeSwitch, TitleBanner, type TitleBannerLevel, Toast, Tooltip, TopNav, type TopNavComponents, type TopNavGroupNode, type TopNavItemNode, type TopNavNode, type TopNavProps, type TopNavTitleNode, Transition, TransitionDropdown, TransitionFadeIn, Typography, UnderConstructionBanner, ValueBadge, type Variant$1 as Variant, WorldMap, WorldMapCountryTable, YoutubeVideoPlayer, cn, createForceLayout, createGridLayout, createTreeLayout, getCurrencySymbol, getLayout, isMatch, isRenderFn, normalize, registerLayout, resolveWithGlobal, sendToast, useClickOutside, useCloudinaryConfig, useCurrentTheme, useDrawer, useEUIConfig, useIsMobile, useModal, useTheme };