@sisense/sdk-shared-ui 1.27.1 → 1.29.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 (407) hide show
  1. package/dist/Breadcrumbs-B46ViOSv.cjs +3 -0
  2. package/dist/Breadcrumbs-CQNCIJ2Y.js +301 -0
  3. package/dist/Button-CoMaroSC.cjs +1 -0
  4. package/dist/Button-D5ZAS_sd.js +569 -0
  5. package/dist/ButtonBase-Camgk6s8.cjs +74 -0
  6. package/dist/ButtonBase-DPVWpC8-.js +883 -0
  7. package/dist/CheckableList-BLLCGCKX.cjs +1 -0
  8. package/dist/CheckableList-CC7iKnHq.js +21 -0
  9. package/dist/Checkbox-3bG1OLg3.js +516 -0
  10. package/dist/Checkbox-oJOn5Vb9.cjs +1 -0
  11. package/dist/DEPRECATED_Button-D2XS1y1r.cjs +1 -0
  12. package/dist/DEPRECATED_Button-m2ifXo3Q.js +87 -0
  13. package/dist/DEPRECATED_Checkbox-CYomxatm.cjs +1 -0
  14. package/dist/DEPRECATED_Checkbox-DWtXr5K7.js +63 -0
  15. package/dist/DEPRECATED_Icon-BQ4AqiI1.js +56 -0
  16. package/dist/DEPRECATED_Icon-iUszZb09.cjs +1 -0
  17. package/dist/DEPRECATED_Toggle-DMnlQO3F.js +30 -0
  18. package/dist/DEPRECATED_Toggle-Dp0ZZ_6E.cjs +1 -0
  19. package/dist/DEPRECATED_Tooltip-C2bU8ipb.js +2316 -0
  20. package/dist/DEPRECATED_Tooltip-D3ReAkFF.cjs +27 -0
  21. package/dist/Dropdown-BtZZ4fY6.cjs +1 -0
  22. package/dist/Dropdown-BxoUPsca.js +231 -0
  23. package/dist/Icon-CqoYg88-.cjs +1 -0
  24. package/dist/Icon-D0uZg6iJ.js +131 -0
  25. package/dist/Input-BghWSV2Z.js +119 -0
  26. package/dist/Input-Cd6a2FUC.cjs +1 -0
  27. package/dist/LazyLoader-DB86QSSx.js +18 -0
  28. package/dist/LazyLoader-gOLNhxc-.cjs +1 -0
  29. package/dist/Menu-BfAQOpHl.cjs +1 -0
  30. package/dist/Menu-C5wQnuq6.js +1212 -0
  31. package/dist/Popover-0n4kd3ut.js +49 -0
  32. package/dist/Popover-Bp5g_ws9.cjs +1 -0
  33. package/dist/RadioButton-BpAksn2s.js +70 -0
  34. package/dist/RadioButton-Ds-0wj0r.cjs +1 -0
  35. package/dist/SvgIcon-Dg-EBYZz.cjs +1 -0
  36. package/dist/SvgIcon-DsAvI5iY.js +238 -0
  37. package/dist/TablePagination-DUkJaWJG.js +7758 -0
  38. package/dist/TablePagination-Yp8eKLZB.cjs +15 -0
  39. package/dist/ThemeProvider-BCsnqK18.js +5085 -0
  40. package/dist/ThemeProvider-BjBWRt7C.cjs +114 -0
  41. package/dist/Tooltip-B0-7TF8b.js +2155 -0
  42. package/dist/Tooltip-DE1hlnS3.cjs +7 -0
  43. package/dist/Typography-BGFgTnYN.js +498 -0
  44. package/dist/Typography-CGsd6zC4.cjs +1 -0
  45. package/dist/align.interface-B17uA473.cjs +1 -0
  46. package/dist/align.interface-DdWsijrT.js +4 -0
  47. package/dist/assertThisInitialized-BSnhOY1M.cjs +1 -0
  48. package/dist/assertThisInitialized-lz6cHcRv.js +8 -0
  49. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  50. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
  51. package/dist/createSvgIcon-DDrcw4wZ.cjs +1 -0
  52. package/dist/createSvgIcon-rAujRRtd.js +17 -0
  53. package/dist/deepmerge-BuAjuQR6.cjs +17 -0
  54. package/dist/deepmerge-DNqbOtFI.js +177 -0
  55. package/dist/extends-DX42hfxm.js +13 -0
  56. package/dist/extends-q0Hkx4pQ.cjs +1 -0
  57. package/dist/index-B-zZeebW.cjs +20 -0
  58. package/dist/index-D0lMis-I.js +667 -0
  59. package/dist/index.cjs +1 -0
  60. package/dist/index.d.ts +2 -0
  61. package/dist/index.d.ts.map +1 -0
  62. package/dist/index.js +30 -24
  63. package/dist/integerPropType-B8hl-7D0.js +180 -0
  64. package/dist/integerPropType-BGlNA6vX.cjs +17 -0
  65. package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -0
  66. package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts +16 -0
  67. package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  68. package/dist/lib/Breadcrumbs/Breadcrumbs.js +7 -0
  69. package/dist/lib/Breadcrumbs/index.d.ts +5 -0
  70. package/dist/lib/Breadcrumbs/index.d.ts.map +1 -0
  71. package/dist/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts +4 -0
  72. package/dist/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts.map +1 -0
  73. package/dist/lib/Breadcrumbs/themes/index.d.ts +2 -0
  74. package/dist/lib/Breadcrumbs/themes/index.d.ts.map +1 -0
  75. package/dist/lib/Button/Button.cjs +1 -0
  76. package/dist/lib/Button/Button.d.ts +10 -0
  77. package/dist/lib/Button/Button.d.ts.map +1 -0
  78. package/dist/lib/Button/Button.js +7 -0
  79. package/dist/lib/Button/index.d.ts +5 -0
  80. package/dist/lib/Button/index.d.ts.map +1 -0
  81. package/dist/lib/Button/themes/buttonsTheme.d.ts +11 -0
  82. package/dist/lib/Button/themes/buttonsTheme.d.ts.map +1 -0
  83. package/dist/lib/Button/themes/index.d.ts +2 -0
  84. package/dist/lib/Button/themes/index.d.ts.map +1 -0
  85. package/dist/lib/CheckableList/CheckableList.cjs +1 -0
  86. package/dist/lib/CheckableList/CheckableList.d.ts +16 -0
  87. package/dist/lib/CheckableList/CheckableList.d.ts.map +1 -0
  88. package/dist/lib/CheckableList/CheckableList.js +5 -0
  89. package/dist/lib/CheckableList/index.d.ts +4 -0
  90. package/dist/lib/CheckableList/index.d.ts.map +1 -0
  91. package/dist/lib/Checkbox/Checkbox.cjs +1 -0
  92. package/dist/lib/Checkbox/Checkbox.d.ts +20 -0
  93. package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -0
  94. package/dist/lib/Checkbox/Checkbox.js +5 -0
  95. package/dist/lib/Checkbox/index.d.ts +4 -0
  96. package/dist/lib/Checkbox/index.d.ts.map +1 -0
  97. package/dist/lib/Checkbox/themes/checkboxTheme.d.ts +12 -0
  98. package/dist/lib/Checkbox/themes/checkboxTheme.d.ts.map +1 -0
  99. package/{src/lib/Checkbox/themes/index.ts → dist/lib/Checkbox/themes/index.d.ts} +1 -0
  100. package/dist/lib/Checkbox/themes/index.d.ts.map +1 -0
  101. package/dist/lib/Checkbox/themes/uiCustomization.d.ts +12 -0
  102. package/dist/lib/Checkbox/themes/uiCustomization.d.ts.map +1 -0
  103. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -0
  104. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +43 -0
  105. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -0
  106. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +5 -0
  107. package/dist/lib/DEPRECATED_Button/index.d.ts +4 -0
  108. package/dist/lib/DEPRECATED_Button/index.d.ts.map +1 -0
  109. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -0
  110. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts +20 -0
  111. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -0
  112. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +5 -0
  113. package/dist/lib/DEPRECATED_Checkbox/index.d.ts +4 -0
  114. package/dist/lib/DEPRECATED_Checkbox/index.d.ts.map +1 -0
  115. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -0
  116. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts +17 -0
  117. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -0
  118. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +5 -0
  119. package/dist/lib/DEPRECATED_Icon/index.d.ts +4 -0
  120. package/dist/lib/DEPRECATED_Icon/index.d.ts.map +1 -0
  121. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.cjs +1 -0
  122. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts +13 -0
  123. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -0
  124. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.js +5 -0
  125. package/dist/lib/DEPRECATED_Toggle/index.d.ts +4 -0
  126. package/dist/lib/DEPRECATED_Toggle/index.d.ts.map +1 -0
  127. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -0
  128. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +15 -0
  129. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -0
  130. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +5 -0
  131. package/dist/lib/DEPRECATED_Tooltip/index.d.ts +4 -0
  132. package/dist/lib/DEPRECATED_Tooltip/index.d.ts.map +1 -0
  133. package/dist/lib/Dropdown/Dropdown.cjs +1 -0
  134. package/dist/lib/Dropdown/Dropdown.d.ts +32 -0
  135. package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -0
  136. package/dist/lib/Dropdown/Dropdown.js +5 -0
  137. package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts +18 -0
  138. package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -0
  139. package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts +12 -0
  140. package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -0
  141. package/{src/lib/Dropdown/DropdownButton/DropdownButtonBody/index.ts → dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts} +1 -0
  142. package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -0
  143. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts +10 -0
  144. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -0
  145. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts +2 -0
  146. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts.map +1 -0
  147. package/{src/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.ts → dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts} +1 -0
  148. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -0
  149. package/{src/lib/Dropdown/DropdownButton/hooks/index.tsx → dist/lib/Dropdown/DropdownButton/hooks/index.d.ts} +1 -0
  150. package/dist/lib/Dropdown/DropdownButton/hooks/index.d.ts.map +1 -0
  151. package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +15 -0
  152. package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -0
  153. package/{src/lib/Dropdown/DropdownButton/index.ts → dist/lib/Dropdown/DropdownButton/index.d.ts} +1 -0
  154. package/dist/lib/Dropdown/DropdownButton/index.d.ts.map +1 -0
  155. package/{src/lib/Dropdown/hooks/index.tsx → dist/lib/Dropdown/hooks/index.d.ts} +1 -0
  156. package/dist/lib/Dropdown/hooks/index.d.ts.map +1 -0
  157. package/dist/lib/Dropdown/hooks/useDropdown.d.ts +9 -0
  158. package/dist/lib/Dropdown/hooks/useDropdown.d.ts.map +1 -0
  159. package/dist/lib/Dropdown/index.d.ts +5 -0
  160. package/dist/lib/Dropdown/index.d.ts.map +1 -0
  161. package/dist/lib/Dropdown/types.d.ts +12 -0
  162. package/dist/lib/Dropdown/types.d.ts.map +1 -0
  163. package/dist/lib/Icon/Icon.cjs +1 -0
  164. package/dist/lib/Icon/Icon.d.ts +13 -0
  165. package/dist/lib/Icon/Icon.d.ts.map +1 -0
  166. package/dist/lib/Icon/Icon.js +5 -0
  167. package/dist/lib/Icon/index.d.ts +4 -0
  168. package/dist/lib/Icon/index.d.ts.map +1 -0
  169. package/dist/lib/Icon/themes/iconTheme.d.ts +8 -0
  170. package/dist/lib/Icon/themes/iconTheme.d.ts.map +1 -0
  171. package/{src/lib/Icon/themes/index.ts → dist/lib/Icon/themes/index.d.ts} +1 -0
  172. package/dist/lib/Icon/themes/index.d.ts.map +1 -0
  173. package/dist/lib/Icon/themes/uiCustomization.d.ts +2 -0
  174. package/dist/lib/Icon/themes/uiCustomization.d.ts.map +1 -0
  175. package/dist/lib/Input/Input.cjs +1 -0
  176. package/dist/lib/Input/Input.d.ts +28 -0
  177. package/dist/lib/Input/Input.d.ts.map +1 -0
  178. package/dist/lib/Input/Input.js +5 -0
  179. package/dist/lib/Input/index.d.ts +4 -0
  180. package/dist/lib/Input/index.d.ts.map +1 -0
  181. package/dist/lib/LazyLoader/LazyLoader.cjs +1 -0
  182. package/dist/lib/LazyLoader/LazyLoader.d.ts +9 -0
  183. package/dist/lib/LazyLoader/LazyLoader.d.ts.map +1 -0
  184. package/dist/lib/LazyLoader/LazyLoader.js +5 -0
  185. package/dist/lib/LazyLoader/index.d.ts +4 -0
  186. package/dist/lib/LazyLoader/index.d.ts.map +1 -0
  187. package/dist/lib/Menu/Confirmation/Confirmation.d.ts +8 -0
  188. package/dist/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -0
  189. package/{src/lib/Menu/Confirmation/index.ts → dist/lib/Menu/Confirmation/index.d.ts} +1 -0
  190. package/dist/lib/Menu/Confirmation/index.d.ts.map +1 -0
  191. package/dist/lib/Menu/Confirmation/translation.d.ts +2 -0
  192. package/dist/lib/Menu/Confirmation/translation.d.ts.map +1 -0
  193. package/dist/lib/Menu/Menu.cjs +1 -0
  194. package/dist/lib/Menu/Menu.d.ts +80 -0
  195. package/dist/lib/Menu/Menu.d.ts.map +1 -0
  196. package/dist/lib/Menu/Menu.js +8 -0
  197. package/dist/lib/Menu/MenuItem/MenuItem.d.ts +36 -0
  198. package/dist/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -0
  199. package/{src/lib/Menu/MenuItem/index.ts → dist/lib/Menu/MenuItem/index.d.ts} +1 -0
  200. package/dist/lib/Menu/MenuItem/index.d.ts.map +1 -0
  201. package/{src/lib/Menu/index.ts → dist/lib/Menu/index.d.ts} +2 -2
  202. package/dist/lib/Menu/index.d.ts.map +1 -0
  203. package/dist/lib/Menu/utils.d.ts +6 -0
  204. package/dist/lib/Menu/utils.d.ts.map +1 -0
  205. package/dist/lib/Popover/Popover.cjs +1 -0
  206. package/dist/lib/Popover/Popover.d.ts +16 -0
  207. package/dist/lib/Popover/Popover.d.ts.map +1 -0
  208. package/dist/lib/Popover/Popover.js +7 -0
  209. package/dist/lib/Popover/align.interface.d.ts +23 -0
  210. package/dist/lib/Popover/align.interface.d.ts.map +1 -0
  211. package/{src/lib/Popover/index.ts → dist/lib/Popover/index.d.ts} +2 -2
  212. package/dist/lib/Popover/index.d.ts.map +1 -0
  213. package/dist/lib/RadioButton/RadioButton.cjs +1 -0
  214. package/dist/lib/RadioButton/RadioButton.d.ts +20 -0
  215. package/dist/lib/RadioButton/RadioButton.d.ts.map +1 -0
  216. package/dist/lib/RadioButton/RadioButton.js +5 -0
  217. package/dist/lib/RadioButton/index.d.ts +4 -0
  218. package/dist/lib/RadioButton/index.d.ts.map +1 -0
  219. package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +9 -0
  220. package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -0
  221. package/dist/lib/TablePagination/PaginationActionsComponent/index.d.ts +2 -0
  222. package/dist/lib/TablePagination/PaginationActionsComponent/index.d.ts.map +1 -0
  223. package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +2 -0
  224. package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -0
  225. package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts +3 -0
  226. package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -0
  227. package/dist/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts +2 -0
  228. package/dist/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts.map +1 -0
  229. package/dist/lib/TablePagination/TablePagination.cjs +1 -0
  230. package/dist/lib/TablePagination/TablePagination.d.ts +19 -0
  231. package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -0
  232. package/dist/lib/TablePagination/TablePagination.js +5 -0
  233. package/dist/lib/TablePagination/TablePaginationContext.d.ts +3 -0
  234. package/dist/lib/TablePagination/TablePaginationContext.d.ts.map +1 -0
  235. package/dist/lib/TablePagination/index.d.ts +4 -0
  236. package/dist/lib/TablePagination/index.d.ts.map +1 -0
  237. package/{src/lib/TablePagination/themes/index.ts → dist/lib/TablePagination/themes/index.d.ts} +1 -0
  238. package/dist/lib/TablePagination/themes/index.d.ts.map +1 -0
  239. package/dist/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts +10 -0
  240. package/dist/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts.map +1 -0
  241. package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts +3 -0
  242. package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -0
  243. package/dist/lib/TablePagination/themes/uiCustomization.d.ts +2 -0
  244. package/dist/lib/TablePagination/themes/uiCustomization.d.ts.map +1 -0
  245. package/dist/lib/Tooltip/Tooltip.cjs +1 -0
  246. package/dist/lib/Tooltip/Tooltip.d.ts +10 -0
  247. package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -0
  248. package/dist/lib/Tooltip/Tooltip.js +7 -0
  249. package/{src/lib/Tooltip/index.ts → dist/lib/Tooltip/index.d.ts} +2 -2
  250. package/dist/lib/Tooltip/index.d.ts.map +1 -0
  251. package/{src/lib/Tooltip/themes/index.ts → dist/lib/Tooltip/themes/index.d.ts} +1 -0
  252. package/dist/lib/Tooltip/themes/index.d.ts.map +1 -0
  253. package/dist/lib/Tooltip/themes/tooltipTheme.d.ts +3 -0
  254. package/dist/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -0
  255. package/dist/lib/Typography/Typography.cjs +1 -0
  256. package/dist/lib/Typography/Typography.d.ts +11 -0
  257. package/dist/lib/Typography/Typography.d.ts.map +1 -0
  258. package/dist/lib/Typography/Typography.js +7 -0
  259. package/{src/lib/Typography/index.ts → dist/lib/Typography/index.d.ts} +2 -2
  260. package/dist/lib/Typography/index.d.ts.map +1 -0
  261. package/{src/lib/Typography/themes/index.ts → dist/lib/Typography/themes/index.d.ts} +1 -0
  262. package/dist/lib/Typography/themes/index.d.ts.map +1 -0
  263. package/dist/lib/Typography/themes/typographyTheme.d.ts +21 -0
  264. package/dist/lib/Typography/themes/typographyTheme.d.ts.map +1 -0
  265. package/dist/lib/Typography/themes/uiCustomization.d.ts +2 -0
  266. package/dist/lib/Typography/themes/uiCustomization.d.ts.map +1 -0
  267. package/dist/lib/constants/styleguideConstants.d.ts +9 -0
  268. package/dist/lib/constants/styleguideConstants.d.ts.map +1 -0
  269. package/{src/lib/index.ts → dist/lib/index.d.ts} +3 -0
  270. package/dist/lib/index.d.ts.map +1 -0
  271. package/{src/lib/themes/colors/index.ts → dist/lib/themes/colors/index.d.ts} +1 -0
  272. package/dist/lib/themes/colors/index.d.ts.map +1 -0
  273. package/dist/lib/themes/colors/siColors.d.ts +140 -0
  274. package/dist/lib/themes/colors/siColors.d.ts.map +1 -0
  275. package/{src/lib/themes/index.ts → dist/lib/themes/index.d.ts} +1 -0
  276. package/dist/lib/themes/index.d.ts.map +1 -0
  277. package/dist/lib/themes/themes.cjs +2 -0
  278. package/dist/lib/themes/themes.js +142 -0
  279. package/dist/lib/themes/types/SisenseTheme.d.ts +12 -0
  280. package/dist/lib/themes/types/SisenseTheme.d.ts.map +1 -0
  281. package/{src/lib/themes/types/index.ts → dist/lib/themes/types/index.d.ts} +1 -0
  282. package/dist/lib/themes/types/index.d.ts.map +1 -0
  283. package/dist/package.json +225 -0
  284. package/dist/setPrototypeOf-BmHXYjK5.cjs +1 -0
  285. package/dist/setPrototypeOf-CEtRTXk2.js +19 -0
  286. package/dist/styleguideConstants-CtXkvIZK.cjs +1 -0
  287. package/dist/styleguideConstants-D4Yls16w.js +11 -0
  288. package/dist/useControlled-BYdyS7Pn.js +31 -0
  289. package/dist/useControlled-Ysk4KqoX.cjs +3 -0
  290. package/dist/useFormControl-CatNKXAi.js +10 -0
  291. package/dist/useFormControl-haP0iPhl.cjs +1 -0
  292. package/dist/useSlot-7x9FkqBW.js +720 -0
  293. package/dist/useSlot-B_P_o-pz.cjs +1 -0
  294. package/dist/useSlotProps-BpXHXb21.js +102 -0
  295. package/dist/useSlotProps-COvANhgg.cjs +1 -0
  296. package/dist/useTheme-BN6DGaDZ.cjs +1 -0
  297. package/dist/useTheme-eCVqNAnk.js +8 -0
  298. package/dist/useTimeout-BG7TPjEm.js +92 -0
  299. package/dist/useTimeout-DQN9lwd_.cjs +2 -0
  300. package/package.json +21 -1
  301. package/.eslintignore +0 -4
  302. package/.prettierignore +0 -11
  303. package/.storybook/main.ts +0 -44
  304. package/.storybook/preview-head.html +0 -4
  305. package/.storybook/preview.tsx +0 -34
  306. package/src/index.ts +0 -1
  307. package/src/lib/@types/sass.d.ts +0 -19
  308. package/src/lib/CheckableList/CheckableList.module.scss +0 -13
  309. package/src/lib/CheckableList/CheckableList.test.tsx +0 -61
  310. package/src/lib/CheckableList/CheckableList.tsx +0 -41
  311. package/src/lib/CheckableList/index.ts +0 -4
  312. package/src/lib/Checkbox/Checkbox.tsx +0 -28
  313. package/src/lib/Checkbox/index.ts +0 -4
  314. package/src/lib/Checkbox/themes/checkboxTheme.ts +0 -42
  315. package/src/lib/Checkbox/themes/uiCustomization.ts +0 -28
  316. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.module.scss +0 -57
  317. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.stories.tsx +0 -169
  318. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.test.tsx +0 -154
  319. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.tsx +0 -129
  320. package/src/lib/DEPRECATED_Button/index.ts +0 -4
  321. package/src/lib/DEPRECATED_Checkbox/Checkbox.module.scss +0 -49
  322. package/src/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.test.tsx +0 -131
  323. package/src/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.tsx +0 -103
  324. package/src/lib/DEPRECATED_Checkbox/index.ts +0 -4
  325. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.module.scss +0 -7
  326. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.stories.tsx +0 -27
  327. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.test.tsx +0 -105
  328. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.tsx +0 -91
  329. package/src/lib/DEPRECATED_Icon/index.ts +0 -4
  330. package/src/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.tsx +0 -49
  331. package/src/lib/DEPRECATED_Toggle/index.ts +0 -4
  332. package/src/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.module.scss +0 -115
  333. package/src/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.tsx +0 -68
  334. package/src/lib/DEPRECATED_Tooltip/index.ts +0 -4
  335. package/src/lib/Dropdown/Dropdown.module.scss +0 -9
  336. package/src/lib/Dropdown/Dropdown.tsx +0 -150
  337. package/src/lib/Dropdown/DropdownButton/DropdownButton.module.scss +0 -49
  338. package/src/lib/Dropdown/DropdownButton/DropdownButton.tsx +0 -81
  339. package/src/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.test.tsx +0 -121
  340. package/src/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.tsx +0 -39
  341. package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.module.scss +0 -20
  342. package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.tsx +0 -44
  343. package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.ts +0 -1
  344. package/src/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.ts +0 -51
  345. package/src/lib/Dropdown/hooks/useDropdown.ts +0 -29
  346. package/src/lib/Dropdown/index.ts +0 -5
  347. package/src/lib/Dropdown/types.ts +0 -17
  348. package/src/lib/Icon/Icon.tsx +0 -118
  349. package/src/lib/Icon/index.ts +0 -4
  350. package/src/lib/Icon/themes/iconTheme.tsx +0 -38
  351. package/src/lib/Icon/themes/uiCustomization.ts +0 -9
  352. package/src/lib/Input/Input.module.scss +0 -97
  353. package/src/lib/Input/Input.test.tsx +0 -177
  354. package/src/lib/Input/Input.tsx +0 -134
  355. package/src/lib/Input/index.ts +0 -4
  356. package/src/lib/LazyLoader/LazyLoader.module.scss +0 -18
  357. package/src/lib/LazyLoader/LazyLoader.tsx +0 -42
  358. package/src/lib/LazyLoader/index.ts +0 -4
  359. package/src/lib/Menu/Confirmation/Confirmation.module.scss +0 -48
  360. package/src/lib/Menu/Confirmation/Confirmation.tsx +0 -45
  361. package/src/lib/Menu/Confirmation/translation.ts +0 -17
  362. package/src/lib/Menu/Menu.module.scss +0 -178
  363. package/src/lib/Menu/Menu.tsx +0 -363
  364. package/src/lib/Menu/MenuItem/MenuItem.test.tsx +0 -241
  365. package/src/lib/Menu/MenuItem/MenuItem.tsx +0 -186
  366. package/src/lib/Menu/utils.ts +0 -13
  367. package/src/lib/Popover/Popover.module.scss +0 -15
  368. package/src/lib/Popover/Popover.tsx +0 -92
  369. package/src/lib/Popover/align.interface.ts +0 -20
  370. package/src/lib/RadioButton/RadioButton.module.scss +0 -22
  371. package/src/lib/RadioButton/RadioButton.tsx +0 -89
  372. package/src/lib/RadioButton/index.ts +0 -4
  373. package/src/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.tsx +0 -87
  374. package/src/lib/TablePagination/PaginationActionsComponent/index.ts +0 -4
  375. package/src/lib/TablePagination/PaginationActionsComponent/themes/index.ts +0 -4
  376. package/src/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.tsx +0 -70
  377. package/src/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.ts +0 -17
  378. package/src/lib/TablePagination/TablePagination.tsx +0 -148
  379. package/src/lib/TablePagination/TablePaginationContext.ts +0 -4
  380. package/src/lib/TablePagination/index.ts +0 -4
  381. package/src/lib/TablePagination/themes/tablePaginationResponsiveDesign.ts +0 -33
  382. package/src/lib/TablePagination/themes/tablePaginationTheme.tsx +0 -128
  383. package/src/lib/TablePagination/themes/uiCustomization.ts +0 -50
  384. package/src/lib/Tooltip/Tooltip.module.scss +0 -125
  385. package/src/lib/Tooltip/Tooltip.tsx +0 -34
  386. package/src/lib/Tooltip/themes/tooltipTheme.ts +0 -30
  387. package/src/lib/Typography/Typography.tsx +0 -28
  388. package/src/lib/Typography/themes/typographyTheme.tsx +0 -170
  389. package/src/lib/Typography/themes/uiCustomization.ts +0 -10
  390. package/src/lib/constants/styleguideConstants.ts +0 -8
  391. package/src/lib/styles/colors.module.scss +0 -10
  392. package/src/lib/styles/sisenseStyleguideReactColors.scss +0 -57
  393. package/src/lib/styles/style_styleguide_react/_variables.deprecated.scss +0 -107
  394. package/src/lib/styles/style_styleguide_react/_variables.scss +0 -100
  395. package/src/lib/styles/style_styleguide_react/base.scss +0 -9
  396. package/src/lib/styles/style_styleguide_react/colors.scss +0 -71
  397. package/src/lib/styles/style_styleguide_react/exports/colors.exports.scss +0 -69
  398. package/src/lib/styles/style_styleguide_react/exports/fonts.exports.scss +0 -33
  399. package/src/lib/styles/style_styleguide_react/fonts.scss +0 -27
  400. package/src/lib/styles/style_styleguide_react/mixins.scss +0 -90
  401. package/src/lib/themes/colors/siColors.ts +0 -143
  402. package/src/lib/themes/types/SisenseTheme.ts +0 -12
  403. package/tsconfig.eslint.json +0 -12
  404. package/tsconfig.json +0 -17
  405. package/tsconfig.lib.json +0 -22
  406. package/tsconfig.spec.json +0 -21
  407. package/vite.config.ts +0 -140
@@ -0,0 +1,720 @@
1
+ import * as f from "react";
2
+ import k from "react";
3
+ import { P as e } from "./index-D0lMis-I.js";
4
+ import { o as lt, n as ct } from "./ThemeProvider-BCsnqK18.js";
5
+ import { u as pt } from "./useTheme-eCVqNAnk.js";
6
+ import { jsx as ft } from "react/jsx-runtime";
7
+ import { _ as dt, T as Q, c as Y, b as Et, u as q, e as W, s as X } from "./useTimeout-BG7TPjEm.js";
8
+ import { _ as mt } from "./setPrototypeOf-CEtRTXk2.js";
9
+ import * as ht from "react-dom";
10
+ import V from "react-dom";
11
+ import { r as xt, m as gt, a as vt } from "./useSlotProps-BpXHXb21.js";
12
+ function Tt() {
13
+ const n = pt(ct);
14
+ return process.env.NODE_ENV !== "production" && f.useDebugValue(n), n[lt] || n;
15
+ }
16
+ const z = {
17
+ disabled: !1
18
+ };
19
+ var yt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
20
+ enter: e.number,
21
+ exit: e.number,
22
+ appear: e.number
23
+ }).isRequired]) : null;
24
+ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
25
+ enter: e.string,
26
+ exit: e.string,
27
+ active: e.string
28
+ }), e.shape({
29
+ enter: e.string,
30
+ enterDone: e.string,
31
+ enterActive: e.string,
32
+ exit: e.string,
33
+ exitDone: e.string,
34
+ exitActive: e.string
35
+ })]);
36
+ var bt = function(s) {
37
+ return s.scrollTop;
38
+ }, I = "unmounted", T = "exited", y = "entering", C = "entered", G = "exiting", h = /* @__PURE__ */ function(n) {
39
+ dt(s, n);
40
+ function s(i, o) {
41
+ var t;
42
+ t = n.call(this, i, o) || this;
43
+ var r = o, u = r && !r.isMounting ? i.enter : i.appear, l;
44
+ return t.appearStatus = null, i.in ? u ? (l = T, t.appearStatus = y) : l = C : i.unmountOnExit || i.mountOnEnter ? l = I : l = T, t.state = {
45
+ status: l
46
+ }, t.nextCallback = null, t;
47
+ }
48
+ s.getDerivedStateFromProps = function(o, t) {
49
+ var r = o.in;
50
+ return r && t.status === I ? {
51
+ status: T
52
+ } : null;
53
+ };
54
+ var a = s.prototype;
55
+ return a.componentDidMount = function() {
56
+ this.updateStatus(!0, this.appearStatus);
57
+ }, a.componentDidUpdate = function(o) {
58
+ var t = null;
59
+ if (o !== this.props) {
60
+ var r = this.state.status;
61
+ this.props.in ? r !== y && r !== C && (t = y) : (r === y || r === C) && (t = G);
62
+ }
63
+ this.updateStatus(!1, t);
64
+ }, a.componentWillUnmount = function() {
65
+ this.cancelNextCallback();
66
+ }, a.getTimeouts = function() {
67
+ var o = this.props.timeout, t, r, u;
68
+ return t = r = u = o, o != null && typeof o != "number" && (t = o.exit, r = o.enter, u = o.appear !== void 0 ? o.appear : r), {
69
+ exit: t,
70
+ enter: r,
71
+ appear: u
72
+ };
73
+ }, a.updateStatus = function(o, t) {
74
+ if (o === void 0 && (o = !1), t !== null)
75
+ if (this.cancelNextCallback(), t === y) {
76
+ if (this.props.unmountOnExit || this.props.mountOnEnter) {
77
+ var r = this.props.nodeRef ? this.props.nodeRef.current : V.findDOMNode(this);
78
+ r && bt(r);
79
+ }
80
+ this.performEnter(o);
81
+ } else
82
+ this.performExit();
83
+ else this.props.unmountOnExit && this.state.status === T && this.setState({
84
+ status: I
85
+ });
86
+ }, a.performEnter = function(o) {
87
+ var t = this, r = this.props.enter, u = this.context ? this.context.isMounting : o, l = this.props.nodeRef ? [u] : [V.findDOMNode(this), u], p = l[0], d = l[1], v = this.getTimeouts(), b = u ? v.appear : v.enter;
88
+ if (!o && !r || z.disabled) {
89
+ this.safeSetState({
90
+ status: C
91
+ }, function() {
92
+ t.props.onEntered(p);
93
+ });
94
+ return;
95
+ }
96
+ this.props.onEnter(p, d), this.safeSetState({
97
+ status: y
98
+ }, function() {
99
+ t.props.onEntering(p, d), t.onTransitionEnd(b, function() {
100
+ t.safeSetState({
101
+ status: C
102
+ }, function() {
103
+ t.props.onEntered(p, d);
104
+ });
105
+ });
106
+ });
107
+ }, a.performExit = function() {
108
+ var o = this, t = this.props.exit, r = this.getTimeouts(), u = this.props.nodeRef ? void 0 : V.findDOMNode(this);
109
+ if (!t || z.disabled) {
110
+ this.safeSetState({
111
+ status: T
112
+ }, function() {
113
+ o.props.onExited(u);
114
+ });
115
+ return;
116
+ }
117
+ this.props.onExit(u), this.safeSetState({
118
+ status: G
119
+ }, function() {
120
+ o.props.onExiting(u), o.onTransitionEnd(r.exit, function() {
121
+ o.safeSetState({
122
+ status: T
123
+ }, function() {
124
+ o.props.onExited(u);
125
+ });
126
+ });
127
+ });
128
+ }, a.cancelNextCallback = function() {
129
+ this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
130
+ }, a.safeSetState = function(o, t) {
131
+ t = this.setNextCallback(t), this.setState(o, t);
132
+ }, a.setNextCallback = function(o) {
133
+ var t = this, r = !0;
134
+ return this.nextCallback = function(u) {
135
+ r && (r = !1, t.nextCallback = null, o(u));
136
+ }, this.nextCallback.cancel = function() {
137
+ r = !1;
138
+ }, this.nextCallback;
139
+ }, a.onTransitionEnd = function(o, t) {
140
+ this.setNextCallback(t);
141
+ var r = this.props.nodeRef ? this.props.nodeRef.current : V.findDOMNode(this), u = o == null && !this.props.addEndListener;
142
+ if (!r || u) {
143
+ setTimeout(this.nextCallback, 0);
144
+ return;
145
+ }
146
+ if (this.props.addEndListener) {
147
+ var l = this.props.nodeRef ? [this.nextCallback] : [r, this.nextCallback], p = l[0], d = l[1];
148
+ this.props.addEndListener(p, d);
149
+ }
150
+ o != null && setTimeout(this.nextCallback, o);
151
+ }, a.render = function() {
152
+ var o = this.state.status;
153
+ if (o === I)
154
+ return null;
155
+ var t = this.props, r = t.children;
156
+ t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
157
+ var u = mt(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
158
+ return (
159
+ // allows for nested Transitions
160
+ /* @__PURE__ */ k.createElement(Q.Provider, {
161
+ value: null
162
+ }, typeof r == "function" ? r(o, u) : k.cloneElement(k.Children.only(r), u))
163
+ );
164
+ }, s;
165
+ }(k.Component);
166
+ h.contextType = Q;
167
+ h.propTypes = process.env.NODE_ENV !== "production" ? {
168
+ /**
169
+ * A React reference to DOM element that need to transition:
170
+ * https://stackoverflow.com/a/51127130/4671932
171
+ *
172
+ * - When `nodeRef` prop is used, `node` is not passed to callback functions
173
+ * (e.g. `onEnter`) because user already has direct access to the node.
174
+ * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
175
+ * `nodeRef` need to be provided to `Transition` with changed `key` prop
176
+ * (see
177
+ * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
178
+ */
179
+ nodeRef: e.shape({
180
+ current: typeof Element > "u" ? e.any : function(n, s, a, i, o, t) {
181
+ var r = n[s];
182
+ return e.instanceOf(r && "ownerDocument" in r ? r.ownerDocument.defaultView.Element : Element)(n, s, a, i, o, t);
183
+ }
184
+ }),
185
+ /**
186
+ * A `function` child can be used instead of a React element. This function is
187
+ * called with the current transition status (`'entering'`, `'entered'`,
188
+ * `'exiting'`, `'exited'`), which can be used to apply context
189
+ * specific props to a component.
190
+ *
191
+ * ```jsx
192
+ * <Transition in={this.state.in} timeout={150}>
193
+ * {state => (
194
+ * <MyComponent className={`fade fade-${state}`} />
195
+ * )}
196
+ * </Transition>
197
+ * ```
198
+ */
199
+ children: e.oneOfType([e.func.isRequired, e.element.isRequired]).isRequired,
200
+ /**
201
+ * Show the component; triggers the enter or exit states
202
+ */
203
+ in: e.bool,
204
+ /**
205
+ * By default the child component is mounted immediately along with
206
+ * the parent `Transition` component. If you want to "lazy mount" the component on the
207
+ * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
208
+ * mounted, even on "exited", unless you also specify `unmountOnExit`.
209
+ */
210
+ mountOnEnter: e.bool,
211
+ /**
212
+ * By default the child component stays mounted after it reaches the `'exited'` state.
213
+ * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
214
+ */
215
+ unmountOnExit: e.bool,
216
+ /**
217
+ * By default the child component does not perform the enter transition when
218
+ * it first mounts, regardless of the value of `in`. If you want this
219
+ * behavior, set both `appear` and `in` to `true`.
220
+ *
221
+ * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
222
+ * > only adds an additional enter transition. However, in the
223
+ * > `<CSSTransition>` component that first enter transition does result in
224
+ * > additional `.appear-*` classes, that way you can choose to style it
225
+ * > differently.
226
+ */
227
+ appear: e.bool,
228
+ /**
229
+ * Enable or disable enter transitions.
230
+ */
231
+ enter: e.bool,
232
+ /**
233
+ * Enable or disable exit transitions.
234
+ */
235
+ exit: e.bool,
236
+ /**
237
+ * The duration of the transition, in milliseconds.
238
+ * Required unless `addEndListener` is provided.
239
+ *
240
+ * You may specify a single timeout for all transitions:
241
+ *
242
+ * ```jsx
243
+ * timeout={500}
244
+ * ```
245
+ *
246
+ * or individually:
247
+ *
248
+ * ```jsx
249
+ * timeout={{
250
+ * appear: 500,
251
+ * enter: 300,
252
+ * exit: 500,
253
+ * }}
254
+ * ```
255
+ *
256
+ * - `appear` defaults to the value of `enter`
257
+ * - `enter` defaults to `0`
258
+ * - `exit` defaults to `0`
259
+ *
260
+ * @type {number | { enter?: number, exit?: number, appear?: number }}
261
+ */
262
+ timeout: function(s) {
263
+ var a = yt;
264
+ s.addEndListener || (a = a.isRequired);
265
+ for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), t = 1; t < i; t++)
266
+ o[t - 1] = arguments[t];
267
+ return a.apply(void 0, [s].concat(o));
268
+ },
269
+ /**
270
+ * Add a custom transition end trigger. Called with the transitioning
271
+ * DOM node and a `done` callback. Allows for more fine grained transition end
272
+ * logic. Timeouts are still used as a fallback if provided.
273
+ *
274
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
275
+ *
276
+ * ```jsx
277
+ * addEndListener={(node, done) => {
278
+ * // use the css transitionend event to mark the finish of a transition
279
+ * node.addEventListener('transitionend', done, false);
280
+ * }}
281
+ * ```
282
+ */
283
+ addEndListener: e.func,
284
+ /**
285
+ * Callback fired before the "entering" status is applied. An extra parameter
286
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
287
+ *
288
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
289
+ *
290
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
291
+ */
292
+ onEnter: e.func,
293
+ /**
294
+ * Callback fired after the "entering" status is applied. An extra parameter
295
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
296
+ *
297
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
298
+ *
299
+ * @type Function(node: HtmlElement, isAppearing: bool)
300
+ */
301
+ onEntering: e.func,
302
+ /**
303
+ * Callback fired after the "entered" status is applied. An extra parameter
304
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
305
+ *
306
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
307
+ *
308
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
309
+ */
310
+ onEntered: e.func,
311
+ /**
312
+ * Callback fired before the "exiting" status is applied.
313
+ *
314
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
315
+ *
316
+ * @type Function(node: HtmlElement) -> void
317
+ */
318
+ onExit: e.func,
319
+ /**
320
+ * Callback fired after the "exiting" status is applied.
321
+ *
322
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
323
+ *
324
+ * @type Function(node: HtmlElement) -> void
325
+ */
326
+ onExiting: e.func,
327
+ /**
328
+ * Callback fired after the "exited" status is applied.
329
+ *
330
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed
331
+ *
332
+ * @type Function(node: HtmlElement) -> void
333
+ */
334
+ onExited: e.func
335
+ } : {};
336
+ function P() {
337
+ }
338
+ h.defaultProps = {
339
+ in: !1,
340
+ mountOnEnter: !1,
341
+ unmountOnExit: !1,
342
+ appear: !1,
343
+ enter: !0,
344
+ exit: !0,
345
+ onEnter: P,
346
+ onEntering: P,
347
+ onEntered: P,
348
+ onExit: P,
349
+ onExiting: P,
350
+ onExited: P
351
+ };
352
+ h.UNMOUNTED = I;
353
+ h.EXITED = T;
354
+ h.ENTERING = y;
355
+ h.ENTERED = C;
356
+ h.EXITING = G;
357
+ function Nt(n) {
358
+ const {
359
+ prototype: s = {}
360
+ } = n;
361
+ return !!s.isReactComponent;
362
+ }
363
+ function Z(n, s, a, i, o) {
364
+ const t = n[s], r = o || s;
365
+ if (t == null || // When server-side rendering React doesn't warn either.
366
+ // This is not an accurate check for SSR.
367
+ // This is only in place for Emotion compat.
368
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
369
+ typeof window > "u")
370
+ return null;
371
+ let u;
372
+ const l = t.type;
373
+ return typeof l == "function" && !Nt(l) && (u = "Did you accidentally use a plain function component for an element instead?"), u !== void 0 ? new Error(`Invalid ${i} \`${r}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
374
+ }
375
+ const tt = Y(e.element, Z);
376
+ tt.isRequired = Y(e.element.isRequired, Z);
377
+ function et(n) {
378
+ var s;
379
+ return parseInt(f.version, 10) >= 19 ? ((s = n == null ? void 0 : n.props) == null ? void 0 : s.ref) || null : (n == null ? void 0 : n.ref) || null;
380
+ }
381
+ const Dt = (n) => n.scrollTop;
382
+ function B(n, s) {
383
+ const {
384
+ timeout: a,
385
+ easing: i,
386
+ style: o = {}
387
+ } = n;
388
+ return {
389
+ duration: o.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
390
+ easing: o.transitionTimingFunction ?? (typeof i == "object" ? i[s.mode] : i),
391
+ delay: o.transitionDelay
392
+ };
393
+ }
394
+ function H(n) {
395
+ return `scale(${n}, ${n ** 2})`;
396
+ }
397
+ const Rt = {
398
+ entering: {
399
+ opacity: 1,
400
+ transform: H(1)
401
+ },
402
+ entered: {
403
+ opacity: 1,
404
+ transform: "none"
405
+ }
406
+ }, F = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), U = /* @__PURE__ */ f.forwardRef(function(s, a) {
407
+ const {
408
+ addEndListener: i,
409
+ appear: o = !0,
410
+ children: t,
411
+ easing: r,
412
+ in: u,
413
+ onEnter: l,
414
+ onEntered: p,
415
+ onEntering: d,
416
+ onExit: v,
417
+ onExited: b,
418
+ onExiting: N,
419
+ style: D,
420
+ timeout: E = "auto",
421
+ // eslint-disable-next-line react/prop-types
422
+ TransitionComponent: $ = h,
423
+ ...A
424
+ } = s, _ = Et(), w = f.useRef(), R = Tt(), L = f.useRef(null), nt = q(L, et(t), a), O = (c) => (x) => {
425
+ if (c) {
426
+ const g = L.current;
427
+ x === void 0 ? c(g) : c(g, x);
428
+ }
429
+ }, ot = O(d), rt = O((c, x) => {
430
+ Dt(c);
431
+ const {
432
+ duration: g,
433
+ delay: M,
434
+ easing: m
435
+ } = B({
436
+ style: D,
437
+ timeout: E,
438
+ easing: r
439
+ }, {
440
+ mode: "enter"
441
+ });
442
+ let S;
443
+ E === "auto" ? (S = R.transitions.getAutoHeightDuration(c.clientHeight), w.current = S) : S = g, c.style.transition = [R.transitions.create("opacity", {
444
+ duration: S,
445
+ delay: M
446
+ }), R.transitions.create("transform", {
447
+ duration: F ? S : S * 0.666,
448
+ delay: M,
449
+ easing: m
450
+ })].join(","), l && l(c, x);
451
+ }), it = O(p), st = O(N), at = O((c) => {
452
+ const {
453
+ duration: x,
454
+ delay: g,
455
+ easing: M
456
+ } = B({
457
+ style: D,
458
+ timeout: E,
459
+ easing: r
460
+ }, {
461
+ mode: "exit"
462
+ });
463
+ let m;
464
+ E === "auto" ? (m = R.transitions.getAutoHeightDuration(c.clientHeight), w.current = m) : m = x, c.style.transition = [R.transitions.create("opacity", {
465
+ duration: m,
466
+ delay: g
467
+ }), R.transitions.create("transform", {
468
+ duration: F ? m : m * 0.666,
469
+ delay: F ? g : g || m * 0.333,
470
+ easing: M
471
+ })].join(","), c.style.opacity = 0, c.style.transform = H(0.75), v && v(c);
472
+ }), ut = O(b);
473
+ return /* @__PURE__ */ ft($, {
474
+ appear: o,
475
+ in: u,
476
+ nodeRef: L,
477
+ onEnter: rt,
478
+ onEntered: it,
479
+ onEntering: ot,
480
+ onExit: at,
481
+ onExited: ut,
482
+ onExiting: st,
483
+ addEndListener: (c) => {
484
+ E === "auto" && _.start(w.current || 0, c), i && i(L.current, c);
485
+ },
486
+ timeout: E === "auto" ? null : E,
487
+ ...A,
488
+ children: (c, x) => /* @__PURE__ */ f.cloneElement(t, {
489
+ style: {
490
+ opacity: 0,
491
+ transform: H(0.75),
492
+ visibility: c === "exited" && !u ? "hidden" : void 0,
493
+ ...Rt[c],
494
+ ...D,
495
+ ...t.props.style
496
+ },
497
+ ref: nt,
498
+ ...x
499
+ })
500
+ });
501
+ });
502
+ process.env.NODE_ENV !== "production" && (U.propTypes = {
503
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
504
+ // │ These PropTypes are generated from the TypeScript type definitions. │
505
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
506
+ // └─────────────────────────────────────────────────────────────────────┘
507
+ /**
508
+ * Add a custom transition end trigger. Called with the transitioning DOM
509
+ * node and a done callback. Allows for more fine grained transition end
510
+ * logic. Note: Timeouts are still used as a fallback if provided.
511
+ */
512
+ addEndListener: e.func,
513
+ /**
514
+ * Perform the enter transition when it first mounts if `in` is also `true`.
515
+ * Set this to `false` to disable this behavior.
516
+ * @default true
517
+ */
518
+ appear: e.bool,
519
+ /**
520
+ * A single child content element.
521
+ */
522
+ children: tt.isRequired,
523
+ /**
524
+ * The transition timing function.
525
+ * You may specify a single easing or a object containing enter and exit values.
526
+ */
527
+ easing: e.oneOfType([e.shape({
528
+ enter: e.string,
529
+ exit: e.string
530
+ }), e.string]),
531
+ /**
532
+ * If `true`, the component will transition in.
533
+ */
534
+ in: e.bool,
535
+ /**
536
+ * @ignore
537
+ */
538
+ onEnter: e.func,
539
+ /**
540
+ * @ignore
541
+ */
542
+ onEntered: e.func,
543
+ /**
544
+ * @ignore
545
+ */
546
+ onEntering: e.func,
547
+ /**
548
+ * @ignore
549
+ */
550
+ onExit: e.func,
551
+ /**
552
+ * @ignore
553
+ */
554
+ onExited: e.func,
555
+ /**
556
+ * @ignore
557
+ */
558
+ onExiting: e.func,
559
+ /**
560
+ * @ignore
561
+ */
562
+ style: e.object,
563
+ /**
564
+ * The duration for the transition, in milliseconds.
565
+ * You may specify a single timeout for all transitions, or individually with an object.
566
+ *
567
+ * Set to 'auto' to automatically calculate transition time based on height.
568
+ * @default 'auto'
569
+ */
570
+ timeout: e.oneOfType([e.oneOf(["auto"]), e.number, e.shape({
571
+ appear: e.number,
572
+ enter: e.number,
573
+ exit: e.number
574
+ })])
575
+ });
576
+ U && (U.muiSupportAuto = !0);
577
+ function Ot(n, s, a, i, o) {
578
+ if (process.env.NODE_ENV === "production")
579
+ return null;
580
+ const t = n[s], r = o || s;
581
+ return t == null ? null : t && t.nodeType !== 1 ? new Error(`Invalid ${i} \`${r}\` supplied to \`${a}\`. Expected an HTMLElement.`) : null;
582
+ }
583
+ const St = "exact-prop: ​";
584
+ function Pt(n) {
585
+ return process.env.NODE_ENV === "production" ? n : {
586
+ ...n,
587
+ [St]: (s) => {
588
+ const a = Object.keys(s).filter((i) => !n.hasOwnProperty(i));
589
+ return a.length > 0 ? new Error(`The following props are not supported: ${a.map((i) => `\`${i}\``).join(", ")}. Please remove them.`) : null;
590
+ }
591
+ };
592
+ }
593
+ function Ut(n) {
594
+ return n && n.ownerDocument || document;
595
+ }
596
+ let K = 0;
597
+ function Ct(n) {
598
+ const [s, a] = f.useState(n), i = n || s;
599
+ return f.useEffect(() => {
600
+ s == null && (K += 1, a(`mui-${K}`));
601
+ }, [s]), i;
602
+ }
603
+ const wt = {
604
+ ...f
605
+ }, J = wt.useId;
606
+ function jt(n) {
607
+ if (J !== void 0) {
608
+ const s = J();
609
+ return n ?? s;
610
+ }
611
+ return Ct(n);
612
+ }
613
+ function It(n) {
614
+ return typeof n == "function" ? n() : n;
615
+ }
616
+ const j = /* @__PURE__ */ f.forwardRef(function(s, a) {
617
+ const {
618
+ children: i,
619
+ container: o,
620
+ disablePortal: t = !1
621
+ } = s, [r, u] = f.useState(null), l = q(/* @__PURE__ */ f.isValidElement(i) ? et(i) : null, a);
622
+ if (W(() => {
623
+ t || u(It(o) || document.body);
624
+ }, [o, t]), W(() => {
625
+ if (r && !t)
626
+ return X(a, r), () => {
627
+ X(a, null);
628
+ };
629
+ }, [a, r, t]), t) {
630
+ if (/* @__PURE__ */ f.isValidElement(i)) {
631
+ const p = {
632
+ ref: l
633
+ };
634
+ return /* @__PURE__ */ f.cloneElement(i, p);
635
+ }
636
+ return i;
637
+ }
638
+ return r && /* @__PURE__ */ ht.createPortal(i, r);
639
+ });
640
+ process.env.NODE_ENV !== "production" && (j.propTypes = {
641
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
642
+ // │ These PropTypes are generated from the TypeScript type definitions. │
643
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
644
+ // └─────────────────────────────────────────────────────────────────────┘
645
+ /**
646
+ * The children to render into the `container`.
647
+ */
648
+ children: e.node,
649
+ /**
650
+ * An HTML element or function that returns one.
651
+ * The `container` will have the portal children appended to it.
652
+ *
653
+ * You can also provide a callback, which is called in a React layout effect.
654
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
655
+ *
656
+ * By default, it uses the body of the top-level document object,
657
+ * so it's simply `document.body` most of the time.
658
+ */
659
+ container: e.oneOfType([Ot, e.func]),
660
+ /**
661
+ * The `children` will be under the DOM hierarchy of the parent component.
662
+ * @default false
663
+ */
664
+ disablePortal: e.bool
665
+ });
666
+ process.env.NODE_ENV !== "production" && (j.propTypes = Pt(j.propTypes));
667
+ function qt(n, s) {
668
+ const {
669
+ className: a,
670
+ elementType: i,
671
+ ownerState: o,
672
+ externalForwardedProps: t,
673
+ internalForwardedProps: r,
674
+ ...u
675
+ } = s, {
676
+ component: l,
677
+ slots: p = {
678
+ [n]: void 0
679
+ },
680
+ slotProps: d = {
681
+ [n]: void 0
682
+ },
683
+ ...v
684
+ } = t, b = p[n] || i, N = xt(d[n], o), {
685
+ props: {
686
+ component: D,
687
+ ...E
688
+ },
689
+ internalRef: $
690
+ } = gt({
691
+ className: a,
692
+ ...u,
693
+ externalForwardedProps: n === "root" ? v : void 0,
694
+ externalSlotProps: N
695
+ }), A = q($, N == null ? void 0 : N.ref, s.ref), _ = n === "root" ? D || l : D, w = vt(b, {
696
+ ...n === "root" && !l && !p[n] && r,
697
+ ...n !== "root" && !p[n] && r,
698
+ ...E,
699
+ ..._ && {
700
+ as: _
701
+ },
702
+ ref: A
703
+ }, o);
704
+ return [b, w];
705
+ }
706
+ export {
707
+ U as G,
708
+ Ot as H,
709
+ j as P,
710
+ h as T,
711
+ jt as a,
712
+ qt as b,
713
+ Pt as c,
714
+ B as d,
715
+ tt as e,
716
+ et as g,
717
+ Ut as o,
718
+ Dt as r,
719
+ Tt as u
720
+ };