@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,883 @@
1
+ var Se = Object.defineProperty;
2
+ var ve = (o, e, n) => e in o ? Se(o, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : o[e] = n;
3
+ var re = (o, e, n) => ve(o, typeof e != "symbol" ? e + "" : e, n);
4
+ import * as d from "react";
5
+ import H, { Children as Be, isValidElement as W, cloneElement as G } from "react";
6
+ import { P as t } from "./index-D0lMis-I.js";
7
+ import { f as E, b as ce, p as te, s as ne, e as pe, g as Le, h as $e } from "./ThemeProvider-BCsnqK18.js";
8
+ import { jsx as I, jsxs as ke } from "react/jsx-runtime";
9
+ import { c as Oe, a as Fe, _ as je, T as ae, b as Ie, u as le, d as J, i as ue, r as Ue } from "./useTimeout-BG7TPjEm.js";
10
+ import { _ as ze } from "./setPrototypeOf-CEtRTXk2.js";
11
+ import { _ as _e } from "./extends-DX42hfxm.js";
12
+ import { _ as Ae } from "./assertThisInitialized-lz6cHcRv.js";
13
+ function Xe(o) {
14
+ const {
15
+ prototype: e = {}
16
+ } = o;
17
+ return !!e.isReactComponent;
18
+ }
19
+ function Ye(o, e, n, l, i) {
20
+ const s = o[e], r = i || e;
21
+ if (s == null || // When server-side rendering React doesn't warn either.
22
+ // This is not an accurate check for SSR.
23
+ // This is only in place for emotion compat.
24
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
25
+ typeof window > "u")
26
+ return null;
27
+ let u;
28
+ return typeof s == "function" && !Xe(s) && (u = "Did you accidentally provide a plain function component instead?"), u !== void 0 ? new Error(`Invalid ${l} \`${r}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
29
+ }
30
+ const Ke = Oe(t.elementType, Ye);
31
+ class Q {
32
+ constructor() {
33
+ re(this, "mountEffect", () => {
34
+ this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
35
+ });
36
+ this.ref = {
37
+ current: null
38
+ }, this.mounted = null, this.didMount = !1, this.shouldMount = !1, this.setShouldMount = null;
39
+ }
40
+ /** React ref to the ripple instance */
41
+ /** If the ripple component should be mounted */
42
+ /** Promise that resolves when the ripple component is mounted */
43
+ /** If the ripple component has been mounted */
44
+ /** React state hook setter */
45
+ static create() {
46
+ return new Q();
47
+ }
48
+ static use() {
49
+ const e = Fe(Q.create).current, [n, l] = d.useState(!1);
50
+ return e.shouldMount = n, e.setShouldMount = l, d.useEffect(e.mountEffect, [n]), e;
51
+ }
52
+ mount() {
53
+ return this.mounted || (this.mounted = He(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
54
+ }
55
+ /* Ripple API */
56
+ start(...e) {
57
+ this.mount().then(() => {
58
+ var n;
59
+ return (n = this.ref.current) == null ? void 0 : n.start(...e);
60
+ });
61
+ }
62
+ stop(...e) {
63
+ this.mount().then(() => {
64
+ var n;
65
+ return (n = this.ref.current) == null ? void 0 : n.stop(...e);
66
+ });
67
+ }
68
+ pulsate(...e) {
69
+ this.mount().then(() => {
70
+ var n;
71
+ return (n = this.ref.current) == null ? void 0 : n.pulsate(...e);
72
+ });
73
+ }
74
+ }
75
+ function qe() {
76
+ return Q.use();
77
+ }
78
+ function He() {
79
+ let o, e;
80
+ const n = new Promise((l, i) => {
81
+ o = l, e = i;
82
+ });
83
+ return n.resolve = o, n.reject = e, n;
84
+ }
85
+ function oe(o, e) {
86
+ var n = function(s) {
87
+ return e && W(s) ? e(s) : s;
88
+ }, l = /* @__PURE__ */ Object.create(null);
89
+ return o && Be.map(o, function(i) {
90
+ return i;
91
+ }).forEach(function(i) {
92
+ l[i.key] = n(i);
93
+ }), l;
94
+ }
95
+ function We(o, e) {
96
+ o = o || {}, e = e || {};
97
+ function n(h) {
98
+ return h in e ? e[h] : o[h];
99
+ }
100
+ var l = /* @__PURE__ */ Object.create(null), i = [];
101
+ for (var s in o)
102
+ s in e ? i.length && (l[s] = i, i = []) : i.push(s);
103
+ var r, u = {};
104
+ for (var c in e) {
105
+ if (l[c])
106
+ for (r = 0; r < l[c].length; r++) {
107
+ var f = l[c][r];
108
+ u[l[c][r]] = n(f);
109
+ }
110
+ u[c] = n(c);
111
+ }
112
+ for (r = 0; r < i.length; r++)
113
+ u[i[r]] = n(i[r]);
114
+ return u;
115
+ }
116
+ function k(o, e, n) {
117
+ return n[e] != null ? n[e] : o.props[e];
118
+ }
119
+ function Ge(o, e) {
120
+ return oe(o.children, function(n) {
121
+ return G(n, {
122
+ onExited: e.bind(null, n),
123
+ in: !0,
124
+ appear: k(n, "appear", o),
125
+ enter: k(n, "enter", o),
126
+ exit: k(n, "exit", o)
127
+ });
128
+ });
129
+ }
130
+ function Je(o, e, n) {
131
+ var l = oe(o.children), i = We(e, l);
132
+ return Object.keys(i).forEach(function(s) {
133
+ var r = i[s];
134
+ if (W(r)) {
135
+ var u = s in e, c = s in l, f = e[s], h = W(f) && !f.props.in;
136
+ c && (!u || h) ? i[s] = G(r, {
137
+ onExited: n.bind(null, r),
138
+ in: !0,
139
+ exit: k(r, "exit", o),
140
+ enter: k(r, "enter", o)
141
+ }) : !c && u && !h ? i[s] = G(r, {
142
+ in: !1
143
+ }) : c && u && W(f) && (i[s] = G(r, {
144
+ onExited: n.bind(null, r),
145
+ in: f.props.in,
146
+ exit: k(r, "exit", o),
147
+ enter: k(r, "enter", o)
148
+ }));
149
+ }
150
+ }), i;
151
+ }
152
+ var Qe = Object.values || function(o) {
153
+ return Object.keys(o).map(function(e) {
154
+ return o[e];
155
+ });
156
+ }, Ze = {
157
+ component: "div",
158
+ childFactory: function(e) {
159
+ return e;
160
+ }
161
+ }, ie = /* @__PURE__ */ function(o) {
162
+ je(e, o);
163
+ function e(l, i) {
164
+ var s;
165
+ s = o.call(this, l, i) || this;
166
+ var r = s.handleExited.bind(Ae(s));
167
+ return s.state = {
168
+ contextValue: {
169
+ isMounting: !0
170
+ },
171
+ handleExited: r,
172
+ firstRender: !0
173
+ }, s;
174
+ }
175
+ var n = e.prototype;
176
+ return n.componentDidMount = function() {
177
+ this.mounted = !0, this.setState({
178
+ contextValue: {
179
+ isMounting: !1
180
+ }
181
+ });
182
+ }, n.componentWillUnmount = function() {
183
+ this.mounted = !1;
184
+ }, e.getDerivedStateFromProps = function(i, s) {
185
+ var r = s.children, u = s.handleExited, c = s.firstRender;
186
+ return {
187
+ children: c ? Ge(i, u) : Je(i, r, u),
188
+ firstRender: !1
189
+ };
190
+ }, n.handleExited = function(i, s) {
191
+ var r = oe(this.props.children);
192
+ i.key in r || (i.props.onExited && i.props.onExited(s), this.mounted && this.setState(function(u) {
193
+ var c = _e({}, u.children);
194
+ return delete c[i.key], {
195
+ children: c
196
+ };
197
+ }));
198
+ }, n.render = function() {
199
+ var i = this.props, s = i.component, r = i.childFactory, u = ze(i, ["component", "childFactory"]), c = this.state.contextValue, f = Qe(this.state.children).map(r);
200
+ return delete u.appear, delete u.enter, delete u.exit, s === null ? /* @__PURE__ */ H.createElement(ae.Provider, {
201
+ value: c
202
+ }, f) : /* @__PURE__ */ H.createElement(ae.Provider, {
203
+ value: c
204
+ }, /* @__PURE__ */ H.createElement(s, u, f));
205
+ }, e;
206
+ }(H.Component);
207
+ ie.propTypes = process.env.NODE_ENV !== "production" ? {
208
+ /**
209
+ * `<TransitionGroup>` renders a `<div>` by default. You can change this
210
+ * behavior by providing a `component` prop.
211
+ * If you use React v16+ and would like to avoid a wrapping `<div>` element
212
+ * you can pass in `component={null}`. This is useful if the wrapping div
213
+ * borks your css styles.
214
+ */
215
+ component: t.any,
216
+ /**
217
+ * A set of `<Transition>` components, that are toggled `in` and out as they
218
+ * leave. the `<TransitionGroup>` will inject specific transition props, so
219
+ * remember to spread them through if you are wrapping the `<Transition>` as
220
+ * with our `<Fade>` example.
221
+ *
222
+ * While this component is meant for multiple `Transition` or `CSSTransition`
223
+ * children, sometimes you may want to have a single transition child with
224
+ * content that you want to be transitioned out and in when you change it
225
+ * (e.g. routes, images etc.) In that case you can change the `key` prop of
226
+ * the transition child as you change its content, this will cause
227
+ * `TransitionGroup` to transition the child out and back in.
228
+ */
229
+ children: t.node,
230
+ /**
231
+ * A convenience prop that enables or disables appear animations
232
+ * for all children. Note that specifying this will override any defaults set
233
+ * on individual children Transitions.
234
+ */
235
+ appear: t.bool,
236
+ /**
237
+ * A convenience prop that enables or disables enter animations
238
+ * for all children. Note that specifying this will override any defaults set
239
+ * on individual children Transitions.
240
+ */
241
+ enter: t.bool,
242
+ /**
243
+ * A convenience prop that enables or disables exit animations
244
+ * for all children. Note that specifying this will override any defaults set
245
+ * on individual children Transitions.
246
+ */
247
+ exit: t.bool,
248
+ /**
249
+ * You may need to apply reactive updates to a child as it is exiting.
250
+ * This is generally done by using `cloneElement` however in the case of an exiting
251
+ * child the element has already been removed and not accessible to the consumer.
252
+ *
253
+ * If you do need to update a child as it leaves you can provide a `childFactory`
254
+ * to wrap every child, even the ones that are leaving.
255
+ *
256
+ * @type Function(child: ReactElement) -> ReactElement
257
+ */
258
+ childFactory: t.func
259
+ } : {};
260
+ ie.defaultProps = Ze;
261
+ function fe(o) {
262
+ const {
263
+ className: e,
264
+ classes: n,
265
+ pulsate: l = !1,
266
+ rippleX: i,
267
+ rippleY: s,
268
+ rippleSize: r,
269
+ in: u,
270
+ onExited: c,
271
+ timeout: f
272
+ } = o, [h, m] = d.useState(!1), M = E(e, n.ripple, n.rippleVisible, l && n.ripplePulsate), N = {
273
+ width: r,
274
+ height: r,
275
+ top: -(r / 2) + s,
276
+ left: -(r / 2) + i
277
+ }, g = E(n.child, h && n.childLeaving, l && n.childPulsate);
278
+ return !u && !h && m(!0), d.useEffect(() => {
279
+ if (!u && c != null) {
280
+ const v = setTimeout(c, f);
281
+ return () => {
282
+ clearTimeout(v);
283
+ };
284
+ }
285
+ }, [c, u, f]), /* @__PURE__ */ I("span", {
286
+ className: M,
287
+ style: N,
288
+ children: /* @__PURE__ */ I("span", {
289
+ className: g
290
+ })
291
+ });
292
+ }
293
+ process.env.NODE_ENV !== "production" && (fe.propTypes = {
294
+ /**
295
+ * Override or extend the styles applied to the component.
296
+ */
297
+ classes: t.object.isRequired,
298
+ className: t.string,
299
+ /**
300
+ * @ignore - injected from TransitionGroup
301
+ */
302
+ in: t.bool,
303
+ /**
304
+ * @ignore - injected from TransitionGroup
305
+ */
306
+ onExited: t.func,
307
+ /**
308
+ * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
309
+ */
310
+ pulsate: t.bool,
311
+ /**
312
+ * Diameter of the ripple.
313
+ */
314
+ rippleSize: t.number,
315
+ /**
316
+ * Horizontal position of the ripple center.
317
+ */
318
+ rippleX: t.number,
319
+ /**
320
+ * Vertical position of the ripple center.
321
+ */
322
+ rippleY: t.number,
323
+ /**
324
+ * exit delay
325
+ */
326
+ timeout: t.number.isRequired
327
+ });
328
+ const y = ce("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), ee = 550, et = 80, tt = te`
329
+ 0% {
330
+ transform: scale(0);
331
+ opacity: 0.1;
332
+ }
333
+
334
+ 100% {
335
+ transform: scale(1);
336
+ opacity: 0.3;
337
+ }
338
+ `, nt = te`
339
+ 0% {
340
+ opacity: 1;
341
+ }
342
+
343
+ 100% {
344
+ opacity: 0;
345
+ }
346
+ `, ot = te`
347
+ 0% {
348
+ transform: scale(1);
349
+ }
350
+
351
+ 50% {
352
+ transform: scale(0.92);
353
+ }
354
+
355
+ 100% {
356
+ transform: scale(1);
357
+ }
358
+ `, it = ne("span", {
359
+ name: "MuiTouchRipple",
360
+ slot: "Root"
361
+ })({
362
+ overflow: "hidden",
363
+ pointerEvents: "none",
364
+ position: "absolute",
365
+ zIndex: 0,
366
+ top: 0,
367
+ right: 0,
368
+ bottom: 0,
369
+ left: 0,
370
+ borderRadius: "inherit"
371
+ }), st = ne(fe, {
372
+ name: "MuiTouchRipple",
373
+ slot: "Ripple"
374
+ })`
375
+ opacity: 0;
376
+ position: absolute;
377
+
378
+ &.${y.rippleVisible} {
379
+ opacity: 0.3;
380
+ transform: scale(1);
381
+ animation-name: ${tt};
382
+ animation-duration: ${ee}ms;
383
+ animation-timing-function: ${({
384
+ theme: o
385
+ }) => o.transitions.easing.easeInOut};
386
+ }
387
+
388
+ &.${y.ripplePulsate} {
389
+ animation-duration: ${({
390
+ theme: o
391
+ }) => o.transitions.duration.shorter}ms;
392
+ }
393
+
394
+ & .${y.child} {
395
+ opacity: 1;
396
+ display: block;
397
+ width: 100%;
398
+ height: 100%;
399
+ border-radius: 50%;
400
+ background-color: currentColor;
401
+ }
402
+
403
+ & .${y.childLeaving} {
404
+ opacity: 0;
405
+ animation-name: ${nt};
406
+ animation-duration: ${ee}ms;
407
+ animation-timing-function: ${({
408
+ theme: o
409
+ }) => o.transitions.easing.easeInOut};
410
+ }
411
+
412
+ & .${y.childPulsate} {
413
+ position: absolute;
414
+ /* @noflip */
415
+ left: 0px;
416
+ top: 0;
417
+ animation-name: ${ot};
418
+ animation-duration: 2500ms;
419
+ animation-timing-function: ${({
420
+ theme: o
421
+ }) => o.transitions.easing.easeInOut};
422
+ animation-iteration-count: infinite;
423
+ animation-delay: 200ms;
424
+ }
425
+ `, de = /* @__PURE__ */ d.forwardRef(function(e, n) {
426
+ const l = pe({
427
+ props: e,
428
+ name: "MuiTouchRipple"
429
+ }), {
430
+ center: i = !1,
431
+ classes: s = {},
432
+ className: r,
433
+ ...u
434
+ } = l, [c, f] = d.useState([]), h = d.useRef(0), m = d.useRef(null);
435
+ d.useEffect(() => {
436
+ m.current && (m.current(), m.current = null);
437
+ }, [c]);
438
+ const M = d.useRef(!1), N = Ie(), g = d.useRef(null), v = d.useRef(null), x = d.useCallback((p) => {
439
+ const {
440
+ pulsate: T,
441
+ rippleX: R,
442
+ rippleY: j,
443
+ rippleSize: B,
444
+ cb: U
445
+ } = p;
446
+ f((C) => [...C, /* @__PURE__ */ I(st, {
447
+ classes: {
448
+ ripple: E(s.ripple, y.ripple),
449
+ rippleVisible: E(s.rippleVisible, y.rippleVisible),
450
+ ripplePulsate: E(s.ripplePulsate, y.ripplePulsate),
451
+ child: E(s.child, y.child),
452
+ childLeaving: E(s.childLeaving, y.childLeaving),
453
+ childPulsate: E(s.childPulsate, y.childPulsate)
454
+ },
455
+ timeout: ee,
456
+ pulsate: T,
457
+ rippleX: R,
458
+ rippleY: j,
459
+ rippleSize: B
460
+ }, h.current)]), h.current += 1, m.current = U;
461
+ }, [s]), O = d.useCallback((p = {}, T = {}, R = () => {
462
+ }) => {
463
+ const {
464
+ pulsate: j = !1,
465
+ center: B = i || T.pulsate,
466
+ fakeElement: U = !1
467
+ // For test purposes
468
+ } = T;
469
+ if ((p == null ? void 0 : p.type) === "mousedown" && M.current) {
470
+ M.current = !1;
471
+ return;
472
+ }
473
+ (p == null ? void 0 : p.type) === "touchstart" && (M.current = !0);
474
+ const C = U ? null : v.current, V = C ? C.getBoundingClientRect() : {
475
+ width: 0,
476
+ height: 0,
477
+ left: 0,
478
+ top: 0
479
+ };
480
+ let w, P, S;
481
+ if (B || p === void 0 || p.clientX === 0 && p.clientY === 0 || !p.clientX && !p.touches)
482
+ w = Math.round(V.width / 2), P = Math.round(V.height / 2);
483
+ else {
484
+ const {
485
+ clientX: z,
486
+ clientY: L
487
+ } = p.touches && p.touches.length > 0 ? p.touches[0] : p;
488
+ w = Math.round(z - V.left), P = Math.round(L - V.top);
489
+ }
490
+ if (B)
491
+ S = Math.sqrt((2 * V.width ** 2 + V.height ** 2) / 3), S % 2 === 0 && (S += 1);
492
+ else {
493
+ const z = Math.max(Math.abs((C ? C.clientWidth : 0) - w), w) * 2 + 2, L = Math.max(Math.abs((C ? C.clientHeight : 0) - P), P) * 2 + 2;
494
+ S = Math.sqrt(z ** 2 + L ** 2);
495
+ }
496
+ p != null && p.touches ? g.current === null && (g.current = () => {
497
+ x({
498
+ pulsate: j,
499
+ rippleX: w,
500
+ rippleY: P,
501
+ rippleSize: S,
502
+ cb: R
503
+ });
504
+ }, N.start(et, () => {
505
+ g.current && (g.current(), g.current = null);
506
+ })) : x({
507
+ pulsate: j,
508
+ rippleX: w,
509
+ rippleY: P,
510
+ rippleSize: S,
511
+ cb: R
512
+ });
513
+ }, [i, x, N]), Y = d.useCallback(() => {
514
+ O({}, {
515
+ pulsate: !0
516
+ });
517
+ }, [O]), F = d.useCallback((p, T) => {
518
+ if (N.clear(), (p == null ? void 0 : p.type) === "touchend" && g.current) {
519
+ g.current(), g.current = null, N.start(0, () => {
520
+ F(p, T);
521
+ });
522
+ return;
523
+ }
524
+ g.current = null, f((R) => R.length > 0 ? R.slice(1) : R), m.current = T;
525
+ }, [N]);
526
+ return d.useImperativeHandle(n, () => ({
527
+ pulsate: Y,
528
+ start: O,
529
+ stop: F
530
+ }), [Y, O, F]), /* @__PURE__ */ I(it, {
531
+ className: E(y.root, s.root, r),
532
+ ref: v,
533
+ ...u,
534
+ children: /* @__PURE__ */ I(ie, {
535
+ component: null,
536
+ exit: !0,
537
+ children: c
538
+ })
539
+ });
540
+ });
541
+ process.env.NODE_ENV !== "production" && (de.propTypes = {
542
+ /**
543
+ * If `true`, the ripple starts at the center of the component
544
+ * rather than at the point of interaction.
545
+ */
546
+ center: t.bool,
547
+ /**
548
+ * Override or extend the styles applied to the component.
549
+ */
550
+ classes: t.object,
551
+ /**
552
+ * @ignore
553
+ */
554
+ className: t.string
555
+ });
556
+ function rt(o) {
557
+ return Le("MuiButtonBase", o);
558
+ }
559
+ const at = ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), lt = (o) => {
560
+ const {
561
+ disabled: e,
562
+ focusVisible: n,
563
+ focusVisibleClassName: l,
564
+ classes: i
565
+ } = o, r = $e({
566
+ root: ["root", e && "disabled", n && "focusVisible"]
567
+ }, rt, i);
568
+ return n && l && (r.root += ` ${l}`), r;
569
+ }, ut = ne("button", {
570
+ name: "MuiButtonBase",
571
+ slot: "Root",
572
+ overridesResolver: (o, e) => e.root
573
+ })({
574
+ display: "inline-flex",
575
+ alignItems: "center",
576
+ justifyContent: "center",
577
+ position: "relative",
578
+ boxSizing: "border-box",
579
+ WebkitTapHighlightColor: "transparent",
580
+ backgroundColor: "transparent",
581
+ // Reset default value
582
+ // We disable the focus ring for mouse, touch and keyboard users.
583
+ outline: 0,
584
+ border: 0,
585
+ margin: 0,
586
+ // Remove the margin in Safari
587
+ borderRadius: 0,
588
+ padding: 0,
589
+ // Remove the padding in Firefox
590
+ cursor: "pointer",
591
+ userSelect: "none",
592
+ verticalAlign: "middle",
593
+ MozAppearance: "none",
594
+ // Reset
595
+ WebkitAppearance: "none",
596
+ // Reset
597
+ textDecoration: "none",
598
+ // So we take precedent over the style of a native <a /> element.
599
+ color: "inherit",
600
+ "&::-moz-focus-inner": {
601
+ borderStyle: "none"
602
+ // Remove Firefox dotted outline.
603
+ },
604
+ [`&.${at.disabled}`]: {
605
+ pointerEvents: "none",
606
+ // Disable link interactions
607
+ cursor: "default"
608
+ },
609
+ "@media print": {
610
+ colorAdjust: "exact"
611
+ }
612
+ }), ct = /* @__PURE__ */ d.forwardRef(function(e, n) {
613
+ const l = pe({
614
+ props: e,
615
+ name: "MuiButtonBase"
616
+ }), {
617
+ action: i,
618
+ centerRipple: s = !1,
619
+ children: r,
620
+ className: u,
621
+ component: c = "button",
622
+ disabled: f = !1,
623
+ disableRipple: h = !1,
624
+ disableTouchRipple: m = !1,
625
+ focusRipple: M = !1,
626
+ focusVisibleClassName: N,
627
+ LinkComponent: g = "a",
628
+ onBlur: v,
629
+ onClick: x,
630
+ onContextMenu: O,
631
+ onDragLeave: Y,
632
+ onFocus: F,
633
+ onFocusVisible: p,
634
+ onKeyDown: T,
635
+ onKeyUp: R,
636
+ onMouseDown: j,
637
+ onMouseLeave: B,
638
+ onMouseUp: U,
639
+ onTouchEnd: C,
640
+ onTouchMove: V,
641
+ onTouchStart: w,
642
+ tabIndex: P = 0,
643
+ TouchRippleProps: S,
644
+ touchRippleRef: z,
645
+ type: L,
646
+ ..._
647
+ } = l, A = d.useRef(null), b = qe(), he = le(b.ref, z), [$, K] = d.useState(!1);
648
+ f && $ && K(!1), d.useImperativeHandle(i, () => ({
649
+ focusVisible: () => {
650
+ K(!0), A.current.focus();
651
+ }
652
+ }), []);
653
+ const me = b.shouldMount && !h && !f;
654
+ d.useEffect(() => {
655
+ $ && M && !h && b.pulsate();
656
+ }, [h, M, $, b]);
657
+ const be = D(b, "start", j, m), ge = D(b, "stop", O, m), ye = D(b, "stop", Y, m), Me = D(b, "stop", U, m), Re = D(b, "stop", (a) => {
658
+ $ && a.preventDefault(), B && B(a);
659
+ }, m), Te = D(b, "start", w, m), Ce = D(b, "stop", C, m), Ee = D(b, "stop", V, m), xe = D(b, "stop", (a) => {
660
+ ue(a.target) || K(!1), v && v(a);
661
+ }, !1), Pe = J((a) => {
662
+ A.current || (A.current = a.currentTarget), ue(a.target) && (K(!0), p && p(a)), F && F(a);
663
+ }), Z = () => {
664
+ const a = A.current;
665
+ return c && c !== "button" && !(a.tagName === "A" && a.href);
666
+ }, De = J((a) => {
667
+ M && !a.repeat && $ && a.key === " " && b.stop(a, () => {
668
+ b.start(a);
669
+ }), a.target === a.currentTarget && Z() && a.key === " " && a.preventDefault(), T && T(a), a.target === a.currentTarget && Z() && a.key === "Enter" && !f && (a.preventDefault(), x && x(a));
670
+ }), Ne = J((a) => {
671
+ M && a.key === " " && $ && !a.defaultPrevented && b.stop(a, () => {
672
+ b.pulsate(a);
673
+ }), R && R(a), x && a.target === a.currentTarget && Z() && a.key === " " && !a.defaultPrevented && x(a);
674
+ });
675
+ let q = c;
676
+ q === "button" && (_.href || _.to) && (q = g);
677
+ const X = {};
678
+ q === "button" ? (X.type = L === void 0 ? "button" : L, X.disabled = f) : (!_.href && !_.to && (X.role = "button"), f && (X["aria-disabled"] = f));
679
+ const Ve = le(n, A), se = {
680
+ ...l,
681
+ centerRipple: s,
682
+ component: c,
683
+ disabled: f,
684
+ disableRipple: h,
685
+ disableTouchRipple: m,
686
+ focusRipple: M,
687
+ tabIndex: P,
688
+ focusVisible: $
689
+ }, we = lt(se);
690
+ return /* @__PURE__ */ ke(ut, {
691
+ as: q,
692
+ className: E(we.root, u),
693
+ ownerState: se,
694
+ onBlur: xe,
695
+ onClick: x,
696
+ onContextMenu: ge,
697
+ onFocus: Pe,
698
+ onKeyDown: De,
699
+ onKeyUp: Ne,
700
+ onMouseDown: be,
701
+ onMouseLeave: Re,
702
+ onMouseUp: Me,
703
+ onDragLeave: ye,
704
+ onTouchEnd: Ce,
705
+ onTouchMove: Ee,
706
+ onTouchStart: Te,
707
+ ref: Ve,
708
+ tabIndex: f ? -1 : P,
709
+ type: L,
710
+ ...X,
711
+ ..._,
712
+ children: [r, me ? /* @__PURE__ */ I(de, {
713
+ ref: he,
714
+ center: s,
715
+ ...S
716
+ }) : null]
717
+ });
718
+ });
719
+ function D(o, e, n, l = !1) {
720
+ return J((i) => (n && n(i), l || o[e](i), !0));
721
+ }
722
+ process.env.NODE_ENV !== "production" && (ct.propTypes = {
723
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
724
+ // │ These PropTypes are generated from the TypeScript type definitions. │
725
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
726
+ // └─────────────────────────────────────────────────────────────────────┘
727
+ /**
728
+ * A ref for imperative actions.
729
+ * It currently only supports `focusVisible()` action.
730
+ */
731
+ action: Ue,
732
+ /**
733
+ * If `true`, the ripples are centered.
734
+ * They won't start at the cursor interaction position.
735
+ * @default false
736
+ */
737
+ centerRipple: t.bool,
738
+ /**
739
+ * The content of the component.
740
+ */
741
+ children: t.node,
742
+ /**
743
+ * Override or extend the styles applied to the component.
744
+ */
745
+ classes: t.object,
746
+ /**
747
+ * @ignore
748
+ */
749
+ className: t.string,
750
+ /**
751
+ * The component used for the root node.
752
+ * Either a string to use a HTML element or a component.
753
+ */
754
+ component: Ke,
755
+ /**
756
+ * If `true`, the component is disabled.
757
+ * @default false
758
+ */
759
+ disabled: t.bool,
760
+ /**
761
+ * If `true`, the ripple effect is disabled.
762
+ *
763
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
764
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
765
+ * @default false
766
+ */
767
+ disableRipple: t.bool,
768
+ /**
769
+ * If `true`, the touch ripple effect is disabled.
770
+ * @default false
771
+ */
772
+ disableTouchRipple: t.bool,
773
+ /**
774
+ * If `true`, the base button will have a keyboard focus ripple.
775
+ * @default false
776
+ */
777
+ focusRipple: t.bool,
778
+ /**
779
+ * This prop can help identify which element has keyboard focus.
780
+ * The class name will be applied when the element gains the focus through keyboard interaction.
781
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
782
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
783
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
784
+ * if needed.
785
+ */
786
+ focusVisibleClassName: t.string,
787
+ /**
788
+ * @ignore
789
+ */
790
+ href: t.any,
791
+ /**
792
+ * The component used to render a link when the `href` prop is provided.
793
+ * @default 'a'
794
+ */
795
+ LinkComponent: t.elementType,
796
+ /**
797
+ * @ignore
798
+ */
799
+ onBlur: t.func,
800
+ /**
801
+ * @ignore
802
+ */
803
+ onClick: t.func,
804
+ /**
805
+ * @ignore
806
+ */
807
+ onContextMenu: t.func,
808
+ /**
809
+ * @ignore
810
+ */
811
+ onDragLeave: t.func,
812
+ /**
813
+ * @ignore
814
+ */
815
+ onFocus: t.func,
816
+ /**
817
+ * Callback fired when the component is focused with a keyboard.
818
+ * We trigger a `onFocus` callback too.
819
+ */
820
+ onFocusVisible: t.func,
821
+ /**
822
+ * @ignore
823
+ */
824
+ onKeyDown: t.func,
825
+ /**
826
+ * @ignore
827
+ */
828
+ onKeyUp: t.func,
829
+ /**
830
+ * @ignore
831
+ */
832
+ onMouseDown: t.func,
833
+ /**
834
+ * @ignore
835
+ */
836
+ onMouseLeave: t.func,
837
+ /**
838
+ * @ignore
839
+ */
840
+ onMouseUp: t.func,
841
+ /**
842
+ * @ignore
843
+ */
844
+ onTouchEnd: t.func,
845
+ /**
846
+ * @ignore
847
+ */
848
+ onTouchMove: t.func,
849
+ /**
850
+ * @ignore
851
+ */
852
+ onTouchStart: t.func,
853
+ /**
854
+ * The system prop that allows defining system overrides as well as additional CSS styles.
855
+ */
856
+ sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
857
+ /**
858
+ * @default 0
859
+ */
860
+ tabIndex: t.number,
861
+ /**
862
+ * Props applied to the `TouchRipple` element.
863
+ */
864
+ TouchRippleProps: t.object,
865
+ /**
866
+ * A ref that points to the `TouchRipple` element.
867
+ */
868
+ touchRippleRef: t.oneOfType([t.func, t.shape({
869
+ current: t.shape({
870
+ pulsate: t.func.isRequired,
871
+ start: t.func.isRequired,
872
+ stop: t.func.isRequired
873
+ })
874
+ })]),
875
+ /**
876
+ * @ignore
877
+ */
878
+ type: t.oneOfType([t.oneOf(["button", "reset", "submit"]), t.string])
879
+ });
880
+ export {
881
+ ct as B,
882
+ Ke as e
883
+ };