@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 @@
1
+ "use strict";const s=require("react/jsx-runtime"),t=require("./DEPRECATED_Icon-iUszZb09.cjs"),l="CheckableList-module__item___Hs9v4",o="CheckableList-module__icon___1KLyd",c={item:l,icon:o},d=({items:a,className:n,onChange:i})=>s.jsx("div",{className:n,children:a.map(e=>s.jsxs("div",{className:c.item,onClick:()=>i(e.value),"data-testid":e.dataTestId,children:[s.jsx("span",{className:c.name,children:e.name}),e.checked&&s.jsx(t.DEPRECATED_Icon,{className:c.icon,name:"general-vi-small-white"})]},e.value))});exports.CheckableList=d;
@@ -0,0 +1,21 @@
1
+ import { jsx as s, jsxs as l } from "react/jsx-runtime";
2
+ import { D as t } from "./DEPRECATED_Icon-BQ4AqiI1.js";
3
+ const o = "CheckableList-module__item___Hs9v4", m = "CheckableList-module__icon___1KLyd", a = {
4
+ item: o,
5
+ icon: m
6
+ }, _ = ({ items: c, className: n, onChange: i }) => /* @__PURE__ */ s("div", { className: n, children: c.map((e) => /* @__PURE__ */ l(
7
+ "div",
8
+ {
9
+ className: a.item,
10
+ onClick: () => i(e.value),
11
+ "data-testid": e.dataTestId,
12
+ children: [
13
+ /* @__PURE__ */ s("span", { className: a.name, children: e.name }),
14
+ e.checked && /* @__PURE__ */ s(t, { className: a.icon, name: "general-vi-small-white" })
15
+ ]
16
+ },
17
+ e.value
18
+ )) });
19
+ export {
20
+ _ as C
21
+ };
@@ -0,0 +1,516 @@
1
+ import { jsxs as oe, jsx as a } from "react/jsx-runtime";
2
+ import * as S from "react";
3
+ import { forwardRef as te } from "react";
4
+ import { g as q, b as U, s as z, r as V, f as H, d as b, h as L, m as se, e as ne, j as M, a as ae, T as re } from "./ThemeProvider-BCsnqK18.js";
5
+ import { P as e } from "./index-D0lMis-I.js";
6
+ import { u as ce } from "./useFormControl-CatNKXAi.js";
7
+ import { B as ie } from "./ButtonBase-DPVWpC8-.js";
8
+ import { u as le } from "./useControlled-BYdyS7Pn.js";
9
+ import { r as D } from "./useTimeout-BG7TPjEm.js";
10
+ import { c as O } from "./createSvgIcon-rAujRRtd.js";
11
+ import { c as N } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
12
+ import { siColors as E } from "./lib/themes/themes.js";
13
+ function de(o) {
14
+ return q("PrivateSwitchBase", o);
15
+ }
16
+ U("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
17
+ const pe = (o) => {
18
+ const {
19
+ classes: t,
20
+ checked: s,
21
+ disabled: n,
22
+ edge: r
23
+ } = o, l = {
24
+ root: ["root", s && "checked", n && "disabled", r && `edge${b(r)}`],
25
+ input: ["input"]
26
+ };
27
+ return L(l, de, t);
28
+ }, ue = z(ie)({
29
+ padding: 9,
30
+ borderRadius: "50%",
31
+ variants: [{
32
+ props: {
33
+ edge: "start",
34
+ size: "small"
35
+ },
36
+ style: {
37
+ marginLeft: -3
38
+ }
39
+ }, {
40
+ props: ({
41
+ edge: o,
42
+ ownerState: t
43
+ }) => o === "start" && t.size !== "small",
44
+ style: {
45
+ marginLeft: -12
46
+ }
47
+ }, {
48
+ props: {
49
+ edge: "end",
50
+ size: "small"
51
+ },
52
+ style: {
53
+ marginRight: -3
54
+ }
55
+ }, {
56
+ props: ({
57
+ edge: o,
58
+ ownerState: t
59
+ }) => o === "end" && t.size !== "small",
60
+ style: {
61
+ marginRight: -12
62
+ }
63
+ }]
64
+ }), fe = z("input", {
65
+ shouldForwardProp: V
66
+ })({
67
+ cursor: "inherit",
68
+ position: "absolute",
69
+ opacity: 0,
70
+ width: "100%",
71
+ height: "100%",
72
+ top: 0,
73
+ left: 0,
74
+ margin: 0,
75
+ padding: 0,
76
+ zIndex: 1
77
+ }), _ = /* @__PURE__ */ S.forwardRef(function(t, s) {
78
+ const {
79
+ autoFocus: n,
80
+ checked: r,
81
+ checkedIcon: l,
82
+ className: p,
83
+ defaultChecked: d,
84
+ disabled: k,
85
+ disableFocusRipple: C = !1,
86
+ edge: u = !1,
87
+ icon: g,
88
+ id: I,
89
+ inputProps: R,
90
+ inputRef: y,
91
+ name: v,
92
+ onBlur: f,
93
+ onChange: h,
94
+ onFocus: P,
95
+ readOnly: G,
96
+ required: J = !1,
97
+ tabIndex: K,
98
+ type: x,
99
+ value: F,
100
+ ...Q
101
+ } = t, [T, W] = le({
102
+ controlled: r,
103
+ default: !!d,
104
+ name: "SwitchBase",
105
+ state: "checked"
106
+ }), i = ce(), X = (c) => {
107
+ P && P(c), i && i.onFocus && i.onFocus(c);
108
+ }, Y = (c) => {
109
+ f && f(c), i && i.onBlur && i.onBlur(c);
110
+ }, Z = (c) => {
111
+ if (c.nativeEvent.defaultPrevented)
112
+ return;
113
+ const j = c.target.checked;
114
+ W(j), h && h(c, j);
115
+ };
116
+ let m = k;
117
+ i && typeof m > "u" && (m = i.disabled);
118
+ const ee = x === "checkbox" || x === "radio", B = {
119
+ ...t,
120
+ checked: T,
121
+ disabled: m,
122
+ disableFocusRipple: C,
123
+ edge: u
124
+ }, $ = pe(B);
125
+ return /* @__PURE__ */ oe(ue, {
126
+ component: "span",
127
+ className: H($.root, p),
128
+ centerRipple: !0,
129
+ focusRipple: !C,
130
+ disabled: m,
131
+ tabIndex: null,
132
+ role: void 0,
133
+ onFocus: X,
134
+ onBlur: Y,
135
+ ownerState: B,
136
+ ref: s,
137
+ ...Q,
138
+ children: [/* @__PURE__ */ a(fe, {
139
+ autoFocus: n,
140
+ checked: r,
141
+ defaultChecked: d,
142
+ className: $.input,
143
+ disabled: m,
144
+ id: ee ? I : void 0,
145
+ name: v,
146
+ onChange: Z,
147
+ readOnly: G,
148
+ ref: y,
149
+ required: J,
150
+ ownerState: B,
151
+ tabIndex: K,
152
+ type: x,
153
+ ...x === "checkbox" && F === void 0 ? {} : {
154
+ value: F
155
+ },
156
+ ...R
157
+ }), T ? l : g]
158
+ });
159
+ });
160
+ process.env.NODE_ENV !== "production" && (_.propTypes = {
161
+ /**
162
+ * If `true`, the `input` element is focused during the first mount.
163
+ */
164
+ autoFocus: e.bool,
165
+ /**
166
+ * If `true`, the component is checked.
167
+ */
168
+ checked: e.bool,
169
+ /**
170
+ * The icon to display when the component is checked.
171
+ */
172
+ checkedIcon: e.node.isRequired,
173
+ /**
174
+ * Override or extend the styles applied to the component.
175
+ */
176
+ classes: e.object,
177
+ /**
178
+ * @ignore
179
+ */
180
+ className: e.string,
181
+ /**
182
+ * @ignore
183
+ */
184
+ defaultChecked: e.bool,
185
+ /**
186
+ * If `true`, the component is disabled.
187
+ */
188
+ disabled: e.bool,
189
+ /**
190
+ * If `true`, the keyboard focus ripple is disabled.
191
+ * @default false
192
+ */
193
+ disableFocusRipple: e.bool,
194
+ /**
195
+ * If given, uses a negative margin to counteract the padding on one
196
+ * side (this is often helpful for aligning the left or right
197
+ * side of the icon with content above or below, without ruining the border
198
+ * size and shape).
199
+ * @default false
200
+ */
201
+ edge: e.oneOf(["end", "start", !1]),
202
+ /**
203
+ * The icon to display when the component is unchecked.
204
+ */
205
+ icon: e.node.isRequired,
206
+ /**
207
+ * The id of the `input` element.
208
+ */
209
+ id: e.string,
210
+ /**
211
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
212
+ */
213
+ inputProps: e.object,
214
+ /**
215
+ * Pass a ref to the `input` element.
216
+ */
217
+ inputRef: D,
218
+ /*
219
+ * @ignore
220
+ */
221
+ name: e.string,
222
+ /**
223
+ * @ignore
224
+ */
225
+ onBlur: e.func,
226
+ /**
227
+ * Callback fired when the state is changed.
228
+ *
229
+ * @param {object} event The event source of the callback.
230
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
231
+ */
232
+ onChange: e.func,
233
+ /**
234
+ * @ignore
235
+ */
236
+ onFocus: e.func,
237
+ /**
238
+ * It prevents the user from changing the value of the field
239
+ * (not from interacting with the field).
240
+ */
241
+ readOnly: e.bool,
242
+ /**
243
+ * If `true`, the `input` element is required.
244
+ */
245
+ required: e.bool,
246
+ /**
247
+ * The system prop that allows defining system overrides as well as additional CSS styles.
248
+ */
249
+ sx: e.object,
250
+ /**
251
+ * @ignore
252
+ */
253
+ tabIndex: e.oneOfType([e.number, e.string]),
254
+ /**
255
+ * The input component prop `type`.
256
+ */
257
+ type: e.string.isRequired,
258
+ /**
259
+ * The value of the component.
260
+ */
261
+ value: e.any
262
+ });
263
+ const he = O(/* @__PURE__ */ a("path", {
264
+ d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
265
+ }), "CheckBoxOutlineBlank"), me = O(/* @__PURE__ */ a("path", {
266
+ d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
267
+ }), "CheckBox"), be = O(/* @__PURE__ */ a("path", {
268
+ d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
269
+ }), "IndeterminateCheckBox");
270
+ function ke(o) {
271
+ return q("MuiCheckbox", o);
272
+ }
273
+ const w = U("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Ce = (o) => {
274
+ const {
275
+ classes: t,
276
+ indeterminate: s,
277
+ color: n,
278
+ size: r
279
+ } = o, l = {
280
+ root: ["root", s && "indeterminate", `color${b(n)}`, `size${b(r)}`]
281
+ }, p = L(l, ke, t);
282
+ return {
283
+ ...t,
284
+ // forward the disabled and checked classes to the SwitchBase
285
+ ...p
286
+ };
287
+ }, ge = z(_, {
288
+ shouldForwardProp: (o) => V(o) || o === "classes",
289
+ name: "MuiCheckbox",
290
+ slot: "Root",
291
+ overridesResolver: (o, t) => {
292
+ const {
293
+ ownerState: s
294
+ } = o;
295
+ return [t.root, s.indeterminate && t.indeterminate, t[`size${b(s.size)}`], s.color !== "default" && t[`color${b(s.color)}`]];
296
+ }
297
+ })(se(({
298
+ theme: o
299
+ }) => ({
300
+ color: (o.vars || o).palette.text.secondary,
301
+ variants: [{
302
+ props: {
303
+ color: "default",
304
+ disableRipple: !1
305
+ },
306
+ style: {
307
+ "&:hover": {
308
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : M(o.palette.action.active, o.palette.action.hoverOpacity)
309
+ }
310
+ }
311
+ }, ...Object.entries(o.palette).filter(N()).map(([t]) => ({
312
+ props: {
313
+ color: t,
314
+ disableRipple: !1
315
+ },
316
+ style: {
317
+ "&:hover": {
318
+ backgroundColor: o.vars ? `rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : M(o.palette[t].main, o.palette.action.hoverOpacity)
319
+ }
320
+ }
321
+ })), ...Object.entries(o.palette).filter(N()).map(([t]) => ({
322
+ props: {
323
+ color: t
324
+ },
325
+ style: {
326
+ [`&.${w.checked}, &.${w.indeterminate}`]: {
327
+ color: (o.vars || o).palette[t].main
328
+ },
329
+ [`&.${w.disabled}`]: {
330
+ color: (o.vars || o).palette.action.disabled
331
+ }
332
+ }
333
+ })), {
334
+ // Should be last to override other colors
335
+ props: {
336
+ disableRipple: !1
337
+ },
338
+ style: {
339
+ // Reset on touch devices, it doesn't add specificity
340
+ "&:hover": {
341
+ "@media (hover: none)": {
342
+ backgroundColor: "transparent"
343
+ }
344
+ }
345
+ }
346
+ }]
347
+ }))), ye = /* @__PURE__ */ a(me, {}), ve = /* @__PURE__ */ a(he, {}), xe = /* @__PURE__ */ a(be, {}), A = /* @__PURE__ */ S.forwardRef(function(t, s) {
348
+ const n = ne({
349
+ props: t,
350
+ name: "MuiCheckbox"
351
+ }), {
352
+ checkedIcon: r = ye,
353
+ color: l = "primary",
354
+ icon: p = ve,
355
+ indeterminate: d = !1,
356
+ indeterminateIcon: k = xe,
357
+ inputProps: C,
358
+ size: u = "medium",
359
+ disableRipple: g = !1,
360
+ className: I,
361
+ ...R
362
+ } = n, y = d ? k : p, v = d ? k : r, f = {
363
+ ...n,
364
+ disableRipple: g,
365
+ color: l,
366
+ indeterminate: d,
367
+ size: u
368
+ }, h = Ce(f);
369
+ return /* @__PURE__ */ a(ge, {
370
+ type: "checkbox",
371
+ inputProps: {
372
+ "data-indeterminate": d,
373
+ ...C
374
+ },
375
+ icon: /* @__PURE__ */ S.cloneElement(y, {
376
+ fontSize: y.props.fontSize ?? u
377
+ }),
378
+ checkedIcon: /* @__PURE__ */ S.cloneElement(v, {
379
+ fontSize: v.props.fontSize ?? u
380
+ }),
381
+ ownerState: f,
382
+ ref: s,
383
+ className: H(h.root, I),
384
+ disableRipple: g,
385
+ ...R,
386
+ classes: h
387
+ });
388
+ });
389
+ process.env.NODE_ENV !== "production" && (A.propTypes = {
390
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
391
+ // │ These PropTypes are generated from the TypeScript type definitions. │
392
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
393
+ // └─────────────────────────────────────────────────────────────────────┘
394
+ /**
395
+ * If `true`, the component is checked.
396
+ */
397
+ checked: e.bool,
398
+ /**
399
+ * The icon to display when the component is checked.
400
+ * @default <CheckBoxIcon />
401
+ */
402
+ checkedIcon: e.node,
403
+ /**
404
+ * Override or extend the styles applied to the component.
405
+ */
406
+ classes: e.object,
407
+ /**
408
+ * @ignore
409
+ */
410
+ className: e.string,
411
+ /**
412
+ * The color of the component.
413
+ * It supports both default and custom theme colors, which can be added as shown in the
414
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
415
+ * @default 'primary'
416
+ */
417
+ color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
418
+ /**
419
+ * The default checked state. Use when the component is not controlled.
420
+ */
421
+ defaultChecked: e.bool,
422
+ /**
423
+ * If `true`, the component is disabled.
424
+ * @default false
425
+ */
426
+ disabled: e.bool,
427
+ /**
428
+ * If `true`, the ripple effect is disabled.
429
+ * @default false
430
+ */
431
+ disableRipple: e.bool,
432
+ /**
433
+ * The icon to display when the component is unchecked.
434
+ * @default <CheckBoxOutlineBlankIcon />
435
+ */
436
+ icon: e.node,
437
+ /**
438
+ * The id of the `input` element.
439
+ */
440
+ id: e.string,
441
+ /**
442
+ * If `true`, the component appears indeterminate.
443
+ * This does not set the native input element to indeterminate due
444
+ * to inconsistent behavior across browsers.
445
+ * However, we set a `data-indeterminate` attribute on the `input`.
446
+ * @default false
447
+ */
448
+ indeterminate: e.bool,
449
+ /**
450
+ * The icon to display when the component is indeterminate.
451
+ * @default <IndeterminateCheckBoxIcon />
452
+ */
453
+ indeterminateIcon: e.node,
454
+ /**
455
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
456
+ */
457
+ inputProps: e.object,
458
+ /**
459
+ * Pass a ref to the `input` element.
460
+ */
461
+ inputRef: D,
462
+ /**
463
+ * Callback fired when the state is changed.
464
+ *
465
+ * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
466
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
467
+ */
468
+ onChange: e.func,
469
+ /**
470
+ * If `true`, the `input` element is required.
471
+ * @default false
472
+ */
473
+ required: e.bool,
474
+ /**
475
+ * The size of the component.
476
+ * `small` is equivalent to the dense checkbox styling.
477
+ * @default 'medium'
478
+ */
479
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
480
+ /**
481
+ * The system prop that allows defining system overrides as well as additional CSS styles.
482
+ */
483
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
484
+ /**
485
+ * The value of the component. The DOM API casts this to a string.
486
+ * The browser uses "on" as the default value.
487
+ */
488
+ value: e.any
489
+ });
490
+ const Se = ae({
491
+ components: {
492
+ MuiCheckbox: {
493
+ styleOverrides: {
494
+ root: {
495
+ width: "28px",
496
+ height: "28px",
497
+ "&.Mui-disabled": {
498
+ opacity: 0.5
499
+ },
500
+ "&:hover": {
501
+ backgroundColor: E.StInteractionColors.defaultHover
502
+ },
503
+ "& .MuiSvgIcon-root": {
504
+ fontSize: 14,
505
+ fill: E.StUiColors.default
506
+ }
507
+ }
508
+ }
509
+ }
510
+ }
511
+ }), Me = te(
512
+ ({ theme: o = Se, dataTestId: t, ...s }, n) => /* @__PURE__ */ a(re, { theme: o, children: /* @__PURE__ */ a(A, { "data-testid": t, ref: n, ...s }) })
513
+ );
514
+ export {
515
+ Me as C
516
+ };
@@ -0,0 +1 @@
1
+ "use strict";const a=require("react/jsx-runtime"),M=require("react"),s=require("./ThemeProvider-BjBWRt7C.cjs"),e=require("./index-B-zZeebW.cjs"),Q=require("./useFormControl-haP0iPhl.cjs"),W=require("./ButtonBase-Camgk6s8.cjs"),X=require("./useControlled-Ysk4KqoX.cjs"),N=require("./useTimeout-DQN9lwd_.cjs"),R=require("./createSvgIcon-DDrcw4wZ.cjs"),q=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),$=require("./lib/themes/themes.cjs");function Y(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>o[r]})}}return t.default=o,Object.freeze(t)}const v=Y(M);function Z(o){return s.generateUtilityClass("PrivateSwitchBase",o)}s.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ee=o=>{const{classes:t,checked:r,disabled:n,edge:c}=o,l={root:["root",r&&"checked",n&&"disabled",c&&`edge${s.capitalize(c)}`],input:["input"]};return s.composeClasses(l,Z,t)},oe=s.styled(W.ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:o,ownerState:t})=>o==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:o,ownerState:t})=>o==="end"&&t.size!=="small",style:{marginRight:-12}}]}),te=s.styled("input",{shouldForwardProp:s.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),U=v.forwardRef(function(t,r){const{autoFocus:n,checked:c,checkedIcon:l,className:u,defaultChecked:d,disabled:P,disableFocusRipple:m=!1,edge:y=!1,icon:T,id:x,inputProps:S,inputRef:g,name:C,onBlur:f,onChange:h,onFocus:O,readOnly:E,required:_=!1,tabIndex:H,type:k,value:B,...D}=t,[w,L]=X.useControlled({controlled:c,default:!!d,name:"SwitchBase",state:"checked"}),p=Q.useFormControl(),A=i=>{O&&O(i),p&&p.onFocus&&p.onFocus(i)},G=i=>{f&&f(i),p&&p.onBlur&&p.onBlur(i)},J=i=>{if(i.nativeEvent.defaultPrevented)return;const F=i.target.checked;L(F),h&&h(i,F)};let b=P;p&&typeof b>"u"&&(b=p.disabled);const K=k==="checkbox"||k==="radio",I={...t,checked:w,disabled:b,disableFocusRipple:m,edge:y},j=ee(I);return a.jsxs(oe,{component:"span",className:s.clsx(j.root,u),centerRipple:!0,focusRipple:!m,disabled:b,tabIndex:null,role:void 0,onFocus:A,onBlur:G,ownerState:I,ref:r,...D,children:[a.jsx(te,{autoFocus:n,checked:c,defaultChecked:d,className:j.input,disabled:b,id:K?x:void 0,name:C,onChange:J,readOnly:E,ref:g,required:_,ownerState:I,tabIndex:H,type:k,...k==="checkbox"&&B===void 0?{}:{value:B},...S}),w?l:T]})});process.env.NODE_ENV!=="production"&&(U.propTypes={autoFocus:e.PropTypes.bool,checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,edge:e.PropTypes.oneOf(["end","start",!1]),icon:e.PropTypes.node.isRequired,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:N.refType,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,readOnly:e.PropTypes.bool,required:e.PropTypes.bool,sx:e.PropTypes.object,tabIndex:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),type:e.PropTypes.string.isRequired,value:e.PropTypes.any});const se=R.createSvgIcon(a.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),re=R.createSvgIcon(a.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),ne=R.createSvgIcon(a.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function ae(o){return s.generateUtilityClass("MuiCheckbox",o)}const z=s.generateUtilityClasses("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),ce=o=>{const{classes:t,indeterminate:r,color:n,size:c}=o,l={root:["root",r&&"indeterminate",`color${s.capitalize(n)}`,`size${s.capitalize(c)}`]},u=s.composeClasses(l,ae,t);return{...t,...u}},ie=s.styled(U,{shouldForwardProp:o=>s.rootShouldForwardProp(o)||o==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.indeterminate&&t.indeterminate,t[`size${s.capitalize(r.size)}`],r.color!=="default"&&t[`color${s.capitalize(r.color)}`]]}})(s.memoTheme(({theme:o})=>({color:(o.vars||o).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})`:s.alpha(o.palette.action.active,o.palette.action.hoverOpacity)}}},...Object.entries(o.palette).filter(q.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:s.alpha(o.palette[t].main,o.palette.action.hoverOpacity)}}})),...Object.entries(o.palette).filter(q.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t},style:{[`&.${z.checked}, &.${z.indeterminate}`]:{color:(o.vars||o).palette[t].main},[`&.${z.disabled}`]:{color:(o.vars||o).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),pe=a.jsx(re,{}),le=a.jsx(se,{}),de=a.jsx(ne,{}),V=v.forwardRef(function(t,r){const n=s.useDefaultProps({props:t,name:"MuiCheckbox"}),{checkedIcon:c=pe,color:l="primary",icon:u=le,indeterminate:d=!1,indeterminateIcon:P=de,inputProps:m,size:y="medium",disableRipple:T=!1,className:x,...S}=n,g=d?P:u,C=d?P:c,f={...n,disableRipple:T,color:l,indeterminate:d,size:y},h=ce(f);return a.jsx(ie,{type:"checkbox",inputProps:{"data-indeterminate":d,...m},icon:v.cloneElement(g,{fontSize:g.props.fontSize??y}),checkedIcon:v.cloneElement(C,{fontSize:C.props.fontSize??y}),ownerState:f,ref:r,className:s.clsx(h.root,x),disableRipple:T,...S,classes:h})});process.env.NODE_ENV!=="production"&&(V.propTypes={checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableRipple:e.PropTypes.bool,icon:e.PropTypes.node,id:e.PropTypes.string,indeterminate:e.PropTypes.bool,indeterminateIcon:e.PropTypes.node,inputProps:e.PropTypes.object,inputRef:N.refType,onChange:e.PropTypes.func,required:e.PropTypes.bool,size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),value:e.PropTypes.any});const ue=s.createTheme$1({components:{MuiCheckbox:{styleOverrides:{root:{width:"28px",height:"28px","&.Mui-disabled":{opacity:.5},"&:hover":{backgroundColor:$.siColors.StInteractionColors.defaultHover},"& .MuiSvgIcon-root":{fontSize:14,fill:$.siColors.StUiColors.default}}}}}}),ye=M.forwardRef(({theme:o=ue,dataTestId:t,...r},n)=>a.jsx(s.ThemeProvider,{theme:o,children:a.jsx(V,{"data-testid":t,ref:n,...r})}));exports.Checkbox=ye;
@@ -0,0 +1 @@
1
+ "use strict";const o=require("react/jsx-runtime"),t=require("./index-B-zZeebW.cjs"),e=require("classnames"),C=require("./DEPRECATED_Icon-iUszZb09.cjs"),S="DEPRECATED_Button-module__sharedComponentsButton___wmUpf",j="DEPRECATED_Button-module__sharedComponentsButtonText___CsYPy",q="DEPRECATED_Button-module__btnSecondary___Ga6J-",a={sharedComponentsButton:S,sharedComponentsButtonText:j,btnSecondary:q},k=" ",r=T=>{const{allowDisabledTitle:b,className:_,disabled:n,hoverSuffix:c,iconClassName:y,iconName:i,transparent:P,text:s,trailingIconName:l,title:p,dark:E,gray:D,secondary:x,dataTestId:g,ariaLabel:h="button",...B}=T,N=e("btn",{"btn--disabled":n,"btn--transp":P,"btn--dark":E,"btn--icon":!s,"btn--gray":D,[a.btnSecondary]:x},a.sharedComponentsButton,_),d=e("btn__icon",y),m=i&&o.jsx(C.DEPRECATED_Icon,{className:d,name:i,disabled:n,hoverSuffix:c}),R=e("btn__text",a.sharedComponentsButtonText),u=s&&o.jsx("span",{className:R,children:s}),A=m&&u&&k,I=l&&o.jsx(C.DEPRECATED_Icon,{className:d,name:l,disabled:n,hoverSuffix:c}),f={disabled:n,title:p&&(!n||b)?p:void 0,...B};return o.jsxs("button",{...f,className:N,"data-testid":g,"aria-label":h,children:[m,A,u,I]})};r.propTypes={allowDisabledTitle:t.PropTypes.bool,className:t.PropTypes.string,disabled:t.PropTypes.bool,hoverSuffix:t.PropTypes.string,iconClassName:t.PropTypes.string,iconName:t.PropTypes.string,onClick:t.PropTypes.func.isRequired,text:t.PropTypes.string,title:t.PropTypes.string,trailingIconName:t.PropTypes.string,transparent:t.PropTypes.bool,dark:t.PropTypes.bool,gray:t.PropTypes.bool};r.defaultProps={allowDisabledTitle:!1};exports.DEPRECATED_Button=r;
@@ -0,0 +1,87 @@
1
+ import { jsxs as R, jsx as s } from "react/jsx-runtime";
2
+ import { P as t } from "./index-D0lMis-I.js";
3
+ import e from "classnames";
4
+ import { D as b } from "./DEPRECATED_Icon-BQ4AqiI1.js";
5
+ const k = "DEPRECATED_Button-module__sharedComponentsButton___wmUpf", w = "DEPRECATED_Button-module__sharedComponentsButtonText___CsYPy", v = "DEPRECATED_Button-module__btnSecondary___Ga6J-", a = {
6
+ sharedComponentsButton: k,
7
+ sharedComponentsButtonText: w,
8
+ btnSecondary: v
9
+ }, j = " ", C = (u) => {
10
+ const {
11
+ allowDisabledTitle: _,
12
+ className: E,
13
+ disabled: n,
14
+ hoverSuffix: r,
15
+ iconClassName: x,
16
+ iconName: l,
17
+ transparent: D,
18
+ text: o,
19
+ trailingIconName: i,
20
+ title: c,
21
+ dark: T,
22
+ gray: y,
23
+ secondary: g,
24
+ dataTestId: h,
25
+ ariaLabel: N = "button",
26
+ ...f
27
+ } = u, B = e(
28
+ "btn",
29
+ {
30
+ "btn--disabled": n,
31
+ "btn--transp": D,
32
+ "btn--dark": T,
33
+ "btn--icon": !o,
34
+ "btn--gray": y,
35
+ [a.btnSecondary]: g
36
+ },
37
+ a.sharedComponentsButton,
38
+ E
39
+ ), m = e("btn__icon", x), d = l && /* @__PURE__ */ s(
40
+ b,
41
+ {
42
+ className: m,
43
+ name: l,
44
+ disabled: n,
45
+ hoverSuffix: r
46
+ }
47
+ ), P = e("btn__text", a.sharedComponentsButtonText), p = o && /* @__PURE__ */ s("span", { className: P, children: o }), I = d && p && j, S = i && /* @__PURE__ */ s(
48
+ b,
49
+ {
50
+ className: m,
51
+ name: i,
52
+ disabled: n,
53
+ hoverSuffix: r
54
+ }
55
+ ), A = {
56
+ disabled: n,
57
+ title: c && (!n || _) ? c : void 0,
58
+ ...f
59
+ };
60
+ return /* @__PURE__ */ R("button", { ...A, className: B, "data-testid": h, "aria-label": N, children: [
61
+ d,
62
+ I,
63
+ p,
64
+ S
65
+ ] });
66
+ };
67
+ C.propTypes = {
68
+ allowDisabledTitle: t.bool,
69
+ className: t.string,
70
+ disabled: t.bool,
71
+ hoverSuffix: t.string,
72
+ iconClassName: t.string,
73
+ iconName: t.string,
74
+ onClick: t.func.isRequired,
75
+ text: t.string,
76
+ title: t.string,
77
+ trailingIconName: t.string,
78
+ transparent: t.bool,
79
+ dark: t.bool,
80
+ gray: t.bool
81
+ };
82
+ C.defaultProps = {
83
+ allowDisabledTitle: !1
84
+ };
85
+ export {
86
+ C as D
87
+ };
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),n=require("classnames"),D=require("./DEPRECATED_Icon-iUszZb09.cjs"),I="Checkbox-module__transparent___wi79A",v="Checkbox-module__icon___Hm4xR",P="Checkbox-module__disabled___sHRTv",R="Checkbox-module__sharedComponentsInputCheckbox___VU8jI",c={transparent:I,icon:v,disabled:P,sharedComponentsInputCheckbox:R},T=p=>{const{className:x,disabled:o,inline:_,text:d,textClassName:m,title:t,transparent:h,dataTestId:C,iconName:a,onDescriptionClick:i,inputCheckboxClassName:b,...k}=p,l={disabled:o,...k};t&&!o&&(l.title=t);const e="custom-checkbox",u=n(e,{"custom-checkbox--inline":_,[c.disabled]:o},x),N=n(`${e}__icon`,"app-icon app-icon--form-checkbox-mark",{[c.transparent]:h}),E=n(`${e}__text`,m),r=i?j=>{i(),j.preventDefault()}:void 0;return s.jsx("div",{className:u,children:s.jsxs("label",{className:`${e}__label`,children:[s.jsxs("div",{className:n(c.sharedComponentsInputCheckbox,b),children:[s.jsx("input",{type:"checkbox",className:`${e}__input`,"data-testid":C,...l}),s.jsx("span",{className:N,children:s.jsx("svg",{className:"app-icon__svg",children:s.jsx("use",{xlinkHref:"#form-checkbox-mark"})})})]}),a&&s.jsx(D.DEPRECATED_Icon,{name:a,className:c.icon,onClick:r}),s.jsx("span",{className:E,onClick:r,children:d})]})})};exports.DEPRECATED_Checkbox=T;